Malicious Code Injection in candra-miemee14-ruro Package - npm Vulnerability
Summary
MAL-2025-100229: Malicious code in candra-miemee14-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-miemee14-ruro package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a target for malicious activity.
Vulnerability Detail
The vulnerability in the candra-miemee14-ruro package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-miemee14-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, you can prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include this package by checking the package-lock.json file for any references to candra-miemee14-ruro and removing them if found.
Conclusion
The candra-miemee14-ruro package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package from your project and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for candra-miemee14-ruro →
FAQ
candra-miemee14-ruro is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
This vulnerability can lead to unauthorized access to your application and compromise the integrity of your dependencies.
You should remove the candra-miemee14-ruro package from your project and check for any malicious alterations in your package.json file.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without needing to access the code or install any software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.