Malicious Code Injection in yappiest_eagle_z3n: A Threat to npm Packages
Summary
MAL-2025-97468: Malicious code in yappiest_eagle_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
yappiest_eagle_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. Its functionality is compromised, making it a vector for malicious activities.
Vulnerability Detail
The vulnerability in yappiest_eagle_z3n originates from its involvement in the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags and change version numbers. Additionally, it generates random package names, which leads to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yappiest_eagle_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 package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include yappiest_eagle_z3n or any of its derivatives.
Conclusion
The yappiest_eagle_z3n package poses a significant threat due to its malicious code designed to manipulate npm package integrity. It is crucial to remove this package from your projects and utilize tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for yappiest_eagle_z3n →
FAQ
yappiest_eagle_z3n is an npm package identified as part of a malicious campaign that manipulates developer reputation scores.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall yappiest_eagle_z3n immediately using 'npm uninstall yappiest_eagle_z3n' and monitor your project for any other affected packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by visiting the Vulert playground.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities.