Malicious Code Injection in candra-buburayam8-ruro: A Threat to npm Packages
Summary
MAL-2025-100216: Malicious code in candra-buburayam8-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 package 'candra-buburayam8-ruro' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. The malicious intent behind these packages is to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'candra-buburayam8-ruro' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-buburayam8-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 affected package by removing it from your dependencies and replacing it with a secure alternative. Ensure to audit your package-lock.json file to identify any other potentially vulnerable packages.
Conclusion
The 'candra-buburayam8-ruro' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to remove this package and monitor their dependencies closely to maintain the security and integrity of their applications.
See every vulnerability recorded for candra-buburayam8-ruro →
FAQ
The main issue is that it contains malicious code that modifies package.json files and publishes numerous derivative packages, compromising the integrity of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.
Using compromised npm packages can lead to security breaches, data leaks, and loss of trust in your application, as these packages may contain malicious code designed to exploit vulnerabilities.
There is no patch available for this specific package. The best course of action is to uninstall it and remove any dependencies that rely on it.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and utilize tools like Vulert to monitor for vulnerabilities in real-time.