Malicious Code Injection in possible_rabbit_z3n Package
Summary
MAL-2025-95949: Malicious code in possible_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
The possible_rabbit_z3n package is part of the npm ecosystem, often utilized in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the possible_rabbit_z3n package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to 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 possible_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 temporary workaround, you can avoid using the possible_rabbit_z3n package in your project. If it is already installed, you can remove it using the command: npm uninstall possible_rabbit_z3n.
Conclusion
The possible_rabbit_z3n package contains a serious vulnerability that can compromise your project's security. It is crucial to remove this package and monitor your dependencies for any malicious activity. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your open-source packages.
See every vulnerability recorded for possible_rabbit_z3n →
FAQ
The possible_rabbit_z3n package is an npm package involved in the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the possible_rabbit_z3n package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.