Malicious Code Injection in exuberant_gerbil_z3n Package
Summary
MAL-2025-102456: Malicious code in exuberant_gerbil_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 exuberant_gerbil_z3n package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate npm's package management system for malicious purposes.
Vulnerability Detail
The vulnerability in the exuberant_gerbil_z3n package stems from its inclusion in a malicious campaign that modifies package.json files to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The malicious payload can lead to unintended consequences, including the potential exposure of sensitive information and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall exuberant_gerbil_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 use the following command to prevent the installation of the malicious package: 'npm install --no-optional exuberant_gerbil_z3n'. However, the best practice is to remove the package entirely.
Conclusion
The exuberant_gerbil_z3n package poses a significant risk due to its malicious code designed to manipulate npm's package management system. It is crucial to remove this package and monitor your applications for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for exuberant_gerbil_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the modification of your package.json file, potentially exposing sensitive information and affecting your application's integrity.
You should uninstall the package immediately using 'npm uninstall exuberant_gerbil_z3n' and check for any other affected packages.
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 use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.