Malicious Code Injection in alert_eagle_z3n Package
Summary
MAL-2025-93185: Malicious code in alert_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
The alert_eagle_z3n package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that manipulate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages, leading to potential security risks.
Vulnerability Detail
The vulnerability in the alert_eagle_z3n package originates from its malicious intent to modify the package.json file by removing private flags and changing version numbers. It generates random package names and continuously republishes these variants, which can pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may inadvertently use these compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alert_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 measure, you can avoid using the alert_eagle_z3n package and any of its derivatives. Additionally, consider using npm audit to identify and address vulnerabilities in your project dependencies.
Conclusion
The alert_eagle_z3n package poses a significant security risk due to its malicious code that modifies package metadata and repackages itself. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for alert_eagle_z3n →
FAQ
The alert_eagle_z3n package is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm ecosystem.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should immediately remove the alert_eagle_z3n package from your project and check for any other affected packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.