Malicious Code Injection in tomi-bika59-ruro Package: A Threat to npm Users
Summary
MAL-2025-109723: Malicious code in tomi-bika59-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 tomi-bika59-ruro package 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. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the tomi-bika59-ruro package involves the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's package management system for malicious purposes. The ramifications include pollution of the npm registry, potential security risks for developers using the affected package, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tomi-bika59-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 tomi-bika59-ruro package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The tomi-bika59-ruro package poses a significant threat to npm users due to its malicious code that alters package metadata. It is essential to remove this package from your projects and adopt best practices for dependency management to safeguard against such vulnerabilities. Utilizing tools like Vulert can further enhance your security posture by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for tomi-bika59-ruro →
FAQ
The tomi-bika59-ruro package is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores through the creation of derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry with unwanted packages.
If you have installed the tomi-bika59-ruro package, you should uninstall it immediately using the command npm uninstall tomi-bika59-ruro.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and keep your software updated.
Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using just your package-lock.json file. You can check for vulnerabilities without any installation or signup at the Vulert playground.