Malicious Code Injection in yappiest_hare_z3n Package
Summary
MAL-2025-92652: Malicious code in yappiest_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 yappiest_hare_z3n package is part of the npm ecosystem and has been identified as part of a malicious campaign targeting developers. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that modify essential package files.
Vulnerability Detail
The vulnerability in the yappiest_hare_z3n package stems from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This not only compromises the integrity of the package but also pollutes the npm registry, potentially affecting other developers and applications relying on this ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yappiest_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 prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include yappiest_hare_z3n or any of its derivatives. You can also use Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The yappiest_hare_z3n package poses a significant risk due to its malicious code designed to manipulate npm registry practices. It is crucial for developers to be vigilant and remove this package from their projects to maintain the integrity of their applications. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for yappiest_hare_z3n →
FAQ
yappiest_hare_z3n is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated package publishing.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies, potentially introducing further security risks.
You should uninstall the yappiest_hare_z3n package immediately and check your package-lock.json file for any references to it. Use 'npm uninstall yappiest_hare_z3n' to remove it.
Yes, Vulert allows you to monitor your project for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application at Vulert Scanner.
Currently, there is no specific patch for the yappiest_hare_z3n package. The best course of action is to uninstall it and monitor for any updates or new versions.