Malicious Code Injection in hungry_mongoose_z3n Package
Summary
MAL-2025-94884: Malicious code in hungry_mongoose_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 'hungry_mongoose_z3n' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, its functionality has been compromised, making it susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability in the 'hungry_mongoose_z3n' package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with similar malicious packages. The ramifications include potential security risks for developers using this package, as it can lead to unauthorized access and manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hungry_mongoose_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 'hungry_mongoose_z3n' package from your project by executing the command: 'npm uninstall hungry_mongoose_z3n'. This will prevent any malicious code from executing while you seek a secure alternative package.
Conclusion
The 'hungry_mongoose_z3n' package contains a serious vulnerability due to malicious code that alters critical files within your project. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for hungry_mongoose_z3n →
FAQ
The 'hungry_mongoose_z3n' package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
You should check the npm registry for any updated versions of the 'hungry_mongoose_z3n' package that address this vulnerability.
If you are using the 'hungry_mongoose_z3n' package, it is recommended to uninstall it immediately and look for a secure alternative.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.