Malicious Code Injection in static_rodent_z3n Package
Summary
MAL-2025-96754: Malicious code in static_rodent_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_rodent_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the static_rodent_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. The origin of this vulnerability is linked to a campaign that floods the npm registry with such packages, ultimately polluting the ecosystem and potentially harming developers' reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall static_rodent_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 remove the static_rodent_z3n package from your project by executing the command: npm uninstall static_rodent_z3n. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The static_rodent_z3n package has been identified as containing malicious code that poses a significant risk to developers and their projects. It is crucial to take immediate action by updating or uninstalling the package to protect your application from potential harm.
See every vulnerability recorded for static_rodent_z3n →
FAQ
The static_rodent_z3n package is an npm package associated with a token reward campaign that automates the generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to reputation damage and registry pollution.
You should uninstall the static_rodent_z3n package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just 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.