Malicious Code Vulnerability in candra-toge23-ruro: Exploitation of npm Packages
Summary
MAL-2025-100252: Malicious code in candra-toge23-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
candra-toge23-ruro is an npm package that appears to be part of a broader campaign to exploit the npm registry. It is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. This package, like others in its category, is vulnerable to malicious exploitation due to its inherent design flaws.
Vulnerability Detail
The vulnerability in candra-toge23-ruro originates from its association with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-toge23-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 may consider removing the candra-toge23-ruro package from your project until a secure version is released. You can do this by executing the following command: npm uninstall candra-toge23-ruro.
Conclusion
The candra-toge23-ruro package contains a significant vulnerability that can lead to the exploitation of the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can further enhance your ability to monitor and manage vulnerabilities in your dependencies.
See every vulnerability recorded for candra-toge23-ruro →
FAQ
candra-toge23-ruro is an npm package involved in a token reward campaign that exploits the npm registry.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should update the package to a patched version or remove it from your project until a fix is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.