Malicious Code Injection in possible_gorilla_z3n: A Threat to npm Users
Summary
MAL-2025-95947: Malicious code in possible_gorilla_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 package 'possible_gorilla_z3n' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses significant risks to the integrity of the npm registry and can lead to the proliferation of malicious code.
Vulnerability Detail
The vulnerability in 'possible_gorilla_z3n' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This manipulation allows the package to continuously republish variants, polluting the npm registry and potentially compromising other projects that depend on it. The malicious payload is designed to exploit the npm ecosystem, making it crucial for developers to be aware of this threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall possible_gorilla_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 workaround, you can monitor your project for any unauthorized changes to package.json and regularly audit your dependencies using tools like npm audit. Additionally, consider using Vulert to monitor your package-lock.json for real-time alerts on open-source vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'possible_gorilla_z3n' package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to remove this package and monitor your dependencies to maintain the security of your projects.
See every vulnerability recorded for possible_gorilla_z3n →
FAQ
'possible_gorilla_z3n' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall possible_gorilla_z3n' and review your dependencies for any other vulnerabilities.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.