Malicious Code Injection in grotesque_hyena_z3n Package - npm Vulnerability
Summary
MAL-2025-103401: Malicious code in grotesque_hyena_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 grotesque_hyena_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that has led to the proliferation of malicious packages. Its primary function is to provide developers with tools and libraries, but it has been compromised to serve malicious purposes, affecting the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the grotesque_hyena_z3n package originates from its involvement in a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and creating random package names. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall grotesque_hyena_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 grotesque_hyena_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for any open-source vulnerabilities.
Conclusion
The grotesque_hyena_z3n package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is crucial to remove this package and monitor your projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for grotesque_hyena_z3n →
FAQ
It is an npm package that has been compromised to include malicious code aimed at inflating developer reputation scores.
Using the compromised package can lead to security breaches, as it modifies your project's configuration and may introduce other vulnerabilities.
You should uninstall the package immediately and check for any other dependencies that may have been affected.
Yes, you can use Vulert to monitor your project for vulnerabilities in real-time without needing to install any software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.