Malicious Code Injection in candra-brengkes44-ruro Package
Summary
MAL-2025-100214: Malicious code in candra-brengkes44-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-brengkes44-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names. This package has been identified as part of a broader trend of malicious npm packages that aim to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the candra-brengkes44-ruro package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-brengkes44-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 dependencies. You can also utilize tools like Vulert to check for vulnerabilities in your project without requiring code access. To use Vulert, visit https://vulert.com/scanner and upload your package-lock.json file to see if your application is affected by this vulnerability.
Conclusion
The candra-brengkes44-ruro package poses a significant risk due to its malicious code that modifies package configurations and republish behaviors. It is crucial for developers to remove this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for candra-brengkes44-ruro →
FAQ
The candra-brengkes44-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting developer reputation scores.
You should uninstall the candra-brengkes44-ruro package immediately using the command npm uninstall candra-brengkes44-ruro.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software by simply uploading your package-lock.json file.
Regularly audit your dependencies using tools like Vulert and keep your packages updated to the latest versions to minimize the risk of vulnerabilities.