Malicious Code Injection in mean_caterpillar_z3n Package
Summary
MAL-2025-88406: Malicious code in mean_caterpillar_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 mean_caterpillar_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the mean_caterpillar_z3n package originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, potentially affecting other developers and applications that rely on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mean_caterpillar_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 mean_caterpillar_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The mean_caterpillar_z3n package has been identified as containing malicious code that can compromise the npm registry. It is crucial to remove this package from your project and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for mean_caterpillar_z3n →
FAQ
mean_caterpillar_z3n is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, which may affect the integrity of other packages and introduce security risks into your application.
You should uninstall the mean_caterpillar_z3n package immediately and check your project for any unauthorized changes.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities.