Malicious Code Injection in candra-keraktelor20-ruro Package
Summary
MAL-2025-100221: Malicious code in candra-keraktelor20-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-keraktelor20-ruro package is part of the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from the candra-keraktelor20-ruro package, which includes malicious scripts that modify the package.json file to remove private flags and alter version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores for token rewards. This behavior can lead to pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-keraktelor20-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 avoid using the candra-keraktelor20-ruro package altogether. If it is already included in your project, remove it by running: npm uninstall candra-keraktelor20-ruro. Additionally, consider using Vulert to monitor your project for vulnerabilities.
Conclusion
The candra-keraktelor20-ruro package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for candra-keraktelor20-ruro →
FAQ
It is an npm package associated with token reward campaigns that has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if your project relies on these malicious packages.
You should uninstall the candra-keraktelor20-ruro package immediately and monitor your project for any potential vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.