Malicious Code Vulnerability in eligible_beaver_z3n Package
Summary
MAL-2025-94224: Malicious code in eligible_beaver_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 eligible_beaver_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 its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the pollution of the npm registry with numerous derivative packages, potentially harming developers' reputations and the overall trust in the npm ecosystem. The malicious payload can also expose users to further security risks as it may allow unauthorized access to sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eligible_beaver_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 workaround, you can manually delete the eligible_beaver_z3n package from your node_modules directory and remove it from your package.json file. Use the following command to uninstall the package: npm uninstall eligible_beaver_z3n.
Conclusion
The eligible_beaver_z3n package is compromised by malicious code that can harm the npm ecosystem and developer reputations. Immediate action is required to remove the package and safeguard your projects. Utilize tools like Vulert to monitor for vulnerabilities in your applications.
See every vulnerability recorded for eligible_beaver_z3n →
FAQ
The eligible_beaver_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability modifies package.json files, removes private flags, changes version numbers, and generates random package names, leading to npm registry pollution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the eligible_beaver_z3n package, it is recommended to uninstall it immediately and check for any potential impacts on your application.
Currently, there is no patched version available for the eligible_beaver_z3n package. It is best to remove the package until a secure version is released.