Malicious Code Vulnerability in yappy_hawk_z3n Package
Summary
MAL-2025-111242: Malicious code in yappy_hawk_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 yappy_hawk_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package, like others in its category, is designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the yappy_hawk_z3n package originates from its involvement in a token reward campaign that exploits npm's publishing mechanisms. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can have serious ramifications, including the potential for developers to unknowingly install compromised packages, which can lead 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 yappy_hawk_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 yappy_hawk_z3n package from your project by using the command: npm uninstall yappy_hawk_z3n. This will prevent any potential exploitation until a secure version is available.
Conclusion
The yappy_hawk_z3n package contains a serious vulnerability that can compromise the security of applications using it. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help maintain the security of your dependencies.
See every vulnerability recorded for yappy_hawk_z3n →
FAQ
yappy_hawk_z3n is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall the yappy_hawk_z3n package immediately and monitor for any updates or patches from the maintainers.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.