Malicious Code Injection in deliberate_eagle_z3n Package: A Threat to npm Users
Summary
MAL-2025-93957: Malicious code in deliberate_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 deliberate_eagle_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the deliberate_eagle_z3n package originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses risks 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 deliberate_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 remove the deliberate_eagle_z3n package from your project by executing the following command: 'npm uninstall deliberate_eagle_z3n'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The deliberate_eagle_z3n package poses a significant security risk due to its malicious code that modifies package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for deliberate_eagle_z3n →
FAQ
The deliberate_eagle_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed the deliberate_eagle_z3n package, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. It analyzes your package-lock.json file to alert you of any issues.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.