Malicious Code Injection in spicy_hare_z3n Package
Summary
MAL-2025-96717: Malicious code in spicy_hare_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 spicy_hare_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the spicy_hare_z3n package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes these variants, which can lead to the proliferation of untrustworthy packages in the npm registry. This poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall spicy_hare_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 spicy_hare_z3n package and instead 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 spicy_hare_z3n package has been identified as a malicious package that poses significant risks to developers and their applications. It is crucial to remove this package and monitor for any unauthorized changes in your project. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for spicy_hare_z3n →
FAQ
The spicy_hare_z3n package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
Using the spicy_hare_z3n package can lead to security risks, including the introduction of malicious code and the potential for your application to be compromised.
If you have installed the spicy_hare_z3n package, it is advisable to remove it immediately and check for any alternative packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
To prevent vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and keep your packages updated.