Malicious Code Injection in bayu-nasi99-ruro: npm Package Vulnerability
Summary
MAL-2025-99846: Malicious code in bayu-nasi99-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 bayu-nasi99-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the generation and publication of derivative packages. The malicious nature of this package compromises the integrity of the npm registry and can lead to further exploitation.
Vulnerability Detail
The vulnerability originates from the bayu-nasi99-ruro package, which is associated with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-nasi99-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 workaround, you can avoid using the bayu-nasi99-ruro package altogether. If it is already in use, consider removing it from your package.json and running npm install to clean up your dependencies.
Conclusion
The bayu-nasi99-ruro package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package from your projects and monitor for any potential vulnerabilities using tools like Vulert.
See every vulnerability recorded for bayu-nasi99-ruro →
FAQ
The bayu-nasi99-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may introduce malicious code into your application, compromising its security.
You should remove the bayu-nasi99-ruro package from your project and check for any dependencies that may have been affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.