Malicious Code Injection in ronaldowati-cir8: A Threat to npm Users
Summary
MAL-2025-165231: Malicious code in ronaldowati-cir8 (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
ronaldowati-cir8 is an npm package that has been implicated in a malicious campaign aimed at inflating developer reputation scores through the tea.xyz token reward system. This package is designed to automatically generate and publish derivative packages with randomized names, which can lead to pollution of the npm registry and potential security risks for users relying on these packages.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the ronaldowati-cir8 package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ronaldowati-cir8
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 ronaldowati-cir8 package and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The ronaldowati-cir8 package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. Users are advised to remove this package and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their projects.
See every vulnerability recorded for ronaldowati-cir8 →
FAQ
ronaldowati-cir8 is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should remove the ronaldowati-cir8 package from your project immediately and monitor your dependencies for any further vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. The Vulert playground allows you to check for vulnerabilities without requiring access to the code.
Regularly update your dependencies, use trusted sources for packages, and employ security monitoring tools to detect vulnerabilities early.