Malicious Code Injection in static_rabbit_z3n: npm Package Vulnerability
Summary
MAL-2025-90744: Malicious code in static_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 static_rabbit_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 linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in static_rabbit_z3n originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The malicious payload can affect developers relying on this package, as it undermines the trustworthiness of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall static_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
Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the package entirely from your project.
Conclusion
The static_rabbit_z3n package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert to maintain the integrity of their applications.
See every vulnerability recorded for static_rabbit_z3n →
FAQ
static_rabbit_z3n is an npm package that has been linked to malicious activities aimed at inflating developer reputation scores through the tea.xyz token reward campaign.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project, as it may introduce untrusted code and dependencies.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check for vulnerabilities without any installation or signup at Vulert Scanner.
If you have installed static_rabbit_z3n, it is recommended to uninstall it immediately using the command npm uninstall static_rabbit_z3n.
While there are no direct alternatives mentioned, it is advisable to look for reputable packages that fulfill the same functionality without the associated risks.