Malicious Code Injection in revolutionary_cod_z3n Package - npm Vulnerability
Summary
MAL-2025-107997: Malicious code in revolutionary_cod_z3n (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 revolutionary_cod_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate the automatic generation and publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, its malicious behavior poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in the revolutionary_cod_z3n package originates from its design to include autopublish scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This behavior can compromise the integrity of the npm ecosystem, allowing malicious actors to exploit the situation for their gain, potentially leading to security breaches in applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall revolutionary_cod_z3n
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 revolutionary_cod_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The revolutionary_cod_z3n package presents a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for revolutionary_cod_z3n →
FAQ
The revolutionary_cod_z3n package is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior of generating and publishing derivative packages.
This vulnerability can lead to the pollution of the npm registry, compromising the integrity of your application and potentially allowing malicious code to be executed.
You should uninstall the revolutionary_cod_z3n package immediately using the command npm uninstall revolutionary_cod_z3n and review your dependencies for any other vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without needing to access the code or install anything.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.