Malicious Code Injection in candra-taiwan89-ruro Package
Summary
MAL-2025-100248: Malicious code in candra-taiwan89-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-taiwan89-ruro package is part of the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the automatic generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the candra-taiwan89-ruro package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can lead to unauthorized access and manipulation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-taiwan89-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 file to monitor your dependencies. Additionally, consider using tools like Vulert to monitor for vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The candra-taiwan89-ruro package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is essential to remove this package from your project and monitor your dependencies to maintain the integrity of your software.
See every vulnerability recorded for candra-taiwan89-ruro →
FAQ
It is an npm package associated with token reward campaigns that has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially compromising your project's integrity and reputation.
You should uninstall the candra-taiwan89-ruro package immediately and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Regularly monitor your dependencies, use tools like Vulert, and stay updated on security advisories related to the packages you use.