Malicious Code Injection in vida-naget9-riris: A Threat to npm Ecosystem
Summary
MAL-2025-91824: Malicious code in vida-naget9-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 'vida-naget9-riris' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to inflate developer reputation scores through automated publishing of derivative packages. However, this specific package has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'vida-naget9-riris' originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-naget9-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 workaround, you can prevent the installation of this malicious package by using the following command to uninstall it: 'npm uninstall vida-naget9-riris'. Additionally, you can use npm audit to check for vulnerabilities in your project.
Conclusion
The 'vida-naget9-riris' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package data and inflate developer reputation scores. It is essential to remove this package from your projects and stay vigilant by using tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for vida-naget9-riris →
FAQ
The impact includes potential security breaches, as the malicious code can alter your project's dependencies and introduce further vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Immediately uninstall the package using 'npm uninstall vida-naget9-riris' and check for any other affected packages in your project.
While specific alternatives depend on your use case, consider searching for reputable packages that offer similar functionality without the associated risks.
Regularly audit your dependencies using tools like npm audit and monitor your projects with services like Vulert to stay informed about vulnerabilities.