Malicious Code Injection in candra-moci13-ruro Package: A Threat to npm Users
Summary
MAL-2025-100230: Malicious code in candra-moci13-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 candra-moci13-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. The malicious nature of this package poses significant risks to users who may unknowingly install it.
Vulnerability Detail
The vulnerability originates from the candra-moci13-ruro package being part of a larger malicious scheme associated with the tea.xyz token reward campaign. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks for developers and users who rely on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-moci13-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 workaround, consider using a package-lock.json file to lock your dependencies and prevent the installation of malicious packages. You can also utilize tools like Vulert to monitor your project for vulnerabilities in real-time. To check if your application is affected by this vulnerability, you can visit the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The candra-moci13-ruro package poses a significant threat to npm users due to its malicious code designed to exploit the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for candra-moci13-ruro →
FAQ
The candra-moci13-ruro package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
If you have installed the candra-moci13-ruro package, it may compromise your project's integrity by modifying your package.json and republishing malicious variants.
You should uninstall the candra-moci13-ruro package immediately using 'npm uninstall candra-moci13-ruro' and check for any other affected packages.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.