Malicious Code Injection in Comparable Rabbit Z3N: npm Package Vulnerability
Summary
MAL-2025-93661: Malicious code in comparable_rabbit_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
Comparable Rabbit Z3N is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the Comparable Rabbit Z3N package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload is part of a broader scheme to inflate developer reputation scores for rewards associated with the tea protocol, potentially affecting developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall comparable_rabbit_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 workaround, you can monitor your project for any unauthorized changes to your package.json file and ensure that you are using trusted packages. Additionally, consider using tools like Vulert to monitor for vulnerabilities in your dependencies. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The Comparable Rabbit Z3N package has been identified as containing malicious code that poses a significant risk to the integrity of the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can enhance your security posture and help prevent future issues.
See every vulnerability recorded for comparable_rabbit_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate token rewards.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized packages, compromising your project's integrity.
You should uninstall the Comparable Rabbit Z3N package immediately using the command npm uninstall comparable_rabbit_z3n.
Regularly audit your dependencies, use trusted packages, and employ tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check for vulnerabilities without needing to install any software.