Malicious Code Detected in npm Package: nina-lupis59-ruro
Summary
MAL-2025-106331: Malicious code in nina-lupis59-ruro (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 'nina-lupis59-ruro' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores through automated publishing scripts. They generate and publish numerous derivative packages with randomized names, which can clutter the npm registry and potentially introduce security risks.
Vulnerability Detail
The vulnerability in 'nina-lupis59-ruro' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This behavior is intended to continuously republish variants, polluting the npm registry and compromising the integrity of the ecosystem. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nina-lupis59-ruro
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 avoid using this package and monitor your dependencies for any similar malicious packages. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The 'nina-lupis59-ruro' package contains malicious code that poses a significant risk to the npm ecosystem. It is crucial to remove this package from your projects and monitor your dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nina-lupis59-ruro →
FAQ
The malicious code can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially introducing security risks to your application.
You can use Vulert to monitor your application for vulnerabilities. By analyzing your package-lock.json file, Vulert provides real-time alerts for any open-source vulnerabilities.
There is no patch for the 'nina-lupis59-ruro' package as it is recommended to uninstall it instead of updating.
You should evaluate your dependencies and find alternatives that do not rely on this malicious package. Consider reaching out to the maintainers of those dependencies for guidance.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the npm ecosystem.