Malicious Code Injection in candra-dradag28-ruro Package
Summary
MAL-2025-100218: Malicious code in candra-dradag28-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-dradag28-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that alters its own package.json file and publishes variants to the npm registry.
Vulnerability Detail
The vulnerability in the candra-dradag28-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior is intended to pollute the npm registry and can lead to significant security risks, including the potential for unauthorized access to sensitive data and the compromise of developer environments. The origin of this vulnerability is linked to the tea.xyz token reward campaign that has been flooding the npm ecosystem with malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-dradag28-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 malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include candra-dradag28-ruro in its dependencies.
Conclusion
The candra-dradag28-ruro package poses a significant security risk due to its malicious code that alters package metadata and publishes variants to the npm registry. It is crucial to remove this package from your project and utilize tools like Vulert to monitor for vulnerabilities in your dependencies.
See every vulnerability recorded for candra-dradag28-ruro →
FAQ
candra-dradag28-ruro is an npm package associated with the tea.xyz token reward campaign, designed to publish derivative packages automatically.
The vulnerability can lead to unauthorized modifications in your project, potentially compromising sensitive data and polluting the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should remove the candra-dradag28-ruro package from your project immediately and monitor for any updates or patches.
Yes, tools like Vulert can help you monitor your dependencies for vulnerabilities using just the package-lock.json file.