Malicious Code Injection in candra-ruwet49-remi: A Threat to npm Ecosystem
Summary
MAL-2025-100238: Malicious code in candra-ruwet49-remi (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-ruwet49-remi' is part of a series of malicious 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. This behavior aims to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'candra-ruwet49-remi' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to reputation damage for developers and security risks for users who inadvertently install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall candra-ruwet49-remi
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. Always verify the integrity of packages before installation.
Conclusion
The 'candra-ruwet49-remi' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to take immediate action by removing the package and monitoring their dependencies to maintain the integrity of their applications.
See every vulnerability recorded for candra-ruwet49-remi →
FAQ
The impact includes potential pollution of the npm registry, reputation damage for developers, and security risks for users who install the affected package.
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 uninstall the package immediately using 'npm uninstall candra-ruwet49-remi' and look for secure alternatives.
While specific alternatives depend on your use case, consider searching for reputable packages that offer similar functionality on the npm registry.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.