Malicious Code Injection in nadia-naget34-riris: A Threat to npm Ecosystem
Summary
MAL-2025-88614: Malicious code in nadia-naget34-riris (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package nadia-naget34-riris is part of a series of malicious packages that emerged during the tea.xyz token reward campaign, which aimed to exploit the npm ecosystem. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant security risks to developers who may unknowingly integrate these packages into their projects.
Vulnerability Detail
The vulnerability in nadia-naget34-riris stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior can compromise the integrity of the npm registry and potentially expose developers to further attacks if they rely on these tainted packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been identified as a source of numerous malicious npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nadia-naget34-riris
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary measure, you can avoid using the affected package by replacing it with a trusted alternative. Always verify the integrity and reputation of packages before integrating them into your project.
Conclusion
The nadia-naget34-riris package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for nadia-naget34-riris →
FAQ
nadia-naget34-riris is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
Integrating this package can lead to security risks, including the potential for malicious code execution and the pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Immediately uninstall the package using 'npm uninstall nadia-naget34-riris' and review your project for any potential impacts from its usage.
Yes, always look for reputable and well-maintained packages that serve the same purpose as nadia-naget34-riris.