Malicious Code Injection in ronaldowati-cir2 Package: A Threat to npm Ecosystem
Summary
MAL-2025-165224: Malicious code in ronaldowati-cir2 (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 ronaldowati-cir2 package is part of a broader campaign that exploits the npm ecosystem by flooding it with malicious packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts. The malicious nature of this package lies in its ability to generate and publish numerous derivative packages with altered metadata, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in the ronaldowati-cir2 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, often themed around Indonesian culture. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of such packages to inflate reputation scores. The ramifications include potential security risks for developers who unknowingly install these packages, as they can lead to further exploitation and degradation of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ronaldowati-cir2
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 ronaldowati-cir2 package and monitor your project's dependencies for any signs of malicious activity. Regularly audit your package-lock.json file to ensure no unauthorized packages are included.
Conclusion
The ronaldowati-cir2 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial for developers to be vigilant, remove any affected packages, and utilize monitoring tools like Vulert to safeguard their projects.
See every vulnerability recorded for ronaldowati-cir2 →
FAQ
ronaldowati-cir2 is an npm package that has been identified as malicious, designed to manipulate developer reputation scores through automated publishing.
If you have the ronaldowati-cir2 package installed, it can lead to security risks, including the potential for further exploitation and pollution of the npm registry.
You should uninstall the ronaldowati-cir2 package immediately and check for any other dependencies that may be affected.
You can use tools like 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 trusted sources for packages, and consider implementing automated tools that alert you to vulnerabilities.