Malicious Code Injection in andi-donat64-ruro Package: A Threat to npm Ecosystem
Summary
MAL-2025-99419: Malicious code in andi-donat64-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 andi-donat64-ruro package is part of a larger set of packages that emerged during the tea.xyz token reward campaign, which aimed to exploit the npm ecosystem. This package, like others in its category, is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in the andi-donat64-ruro package stems from its 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 variants. The origin of this issue is linked to the tea.xyz token reward campaign, which flooded the npm registry with such malicious packages. The ramifications include potential pollution of the npm registry, loss of developer reputation, and exposure to further attacks due to the altered package configurations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall andi-donat64-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, avoid using the andi-donat64-ruro package and monitor your project for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any signs of malicious packages.
Conclusion
The andi-donat64-ruro package poses a significant risk to developers using npm due to its malicious code that alters package configurations and pollutes the registry. Immediate action is required to remove this package and monitor for similar threats. Utilizing tools like Vulert can help maintain the integrity of your project.
See every vulnerability recorded for andi-donat64-ruro →
FAQ
andi-donat64-ruro is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and polluting the npm registry with unwanted packages.
You should uninstall the andi-donat64-ruro package immediately and check your project for any other malicious dependencies.
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.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the npm ecosystem.