Malicious Code Injection in bella-ragi6-ruro: A Threat to npm Users
Summary
MAL-2025-99915: Malicious code in bella-ragi6-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 package 'bella-ragi6-ruro' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses a significant security risk to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in 'bella-ragi6-ruro' stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to compromised systems if users install these malicious packages, thinking they are legitimate.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bella-ragi6-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 'bella-ragi6-ruro' package and monitor your dependencies for any similar malicious packages. You can also utilize tools like Vulert to scan your project for vulnerabilities. To check if your application is affected, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'bella-ragi6-ruro' package poses a significant threat due to its malicious behavior of modifying package files and republishing under random names. Users are advised to uninstall this package and monitor their dependencies closely. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for bella-ragi6-ruro →
FAQ
It is an npm package associated with a token reward campaign that has been identified as malicious.
Installing this package can lead to security risks, including the potential for malicious code execution and system compromise.
You should uninstall the package immediately using 'npm uninstall bella-ragi6-ruro' and check for any other malicious packages in your dependencies.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any installation.