Malicious Code Injection in Vina-Lupis2-Ruro Package
Summary
MAL-2025-110542: Malicious code in vina-lupis2-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
Vina-Lupis2-Ruro is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the generation and publication of derivative packages. However, this package has been compromised, leading to significant security concerns. The malicious code embedded within it alters package metadata and floods the npm registry with spammy packages, undermining the integrity of the ecosystem.
Vulnerability Detail
The vulnerability stems from malicious code within the Vina-Lupis2-Ruro package, which modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores for token rewards. This behavior not only compromises the affected package but also pollutes the npm registry, making it difficult for developers to find legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vina-lupis2-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 measure, avoid using the Vina-Lupis2-Ruro package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your dependencies for any vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The Vina-Lupis2-Ruro package has been compromised with malicious code that alters package metadata and floods the npm registry. It is crucial for developers to uninstall this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for vina-lupis2-ruro →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with spammy packages, which can lead to security risks and reputation damage.
You should uninstall the package immediately using 'npm uninstall vina-lupis2-ruro' and monitor your project for any further vulnerabilities.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.