Malicious Code Injection in nana-bakso66-ruro Package - npm Vulnerability
Summary
MAL-2025-106143: Malicious code in nana-bakso66-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 nana-bakso66-ruro package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. The primary function of these packages is to inflate developer reputation scores for token rewards, but they also introduce significant security risks.
Vulnerability Detail
The vulnerability in the nana-bakso66-ruro package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aimed to exploit npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nana-bakso66-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 the nana-bakso66-ruro package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and remove any suspicious packages immediately.
Conclusion
The nana-bakso66-ruro package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package and monitor your dependencies to ensure the security of your application.
See every vulnerability recorded for nana-bakso66-ruro →
FAQ
The nana-bakso66-ruro package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and other packages that depend on it.
You should uninstall the nana-bakso66-ruro package immediately and check for any other affected packages in your project.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
There are no patches available for the nana-bakso66-ruro package since it is a malicious package. The best course of action is to remove it from your project.