Malicious Code Injection in average_bird_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-93315: Malicious code in average_bird_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 package average_bird_z3n is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others in the npm registry, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits the npm registry by flooding it with derivative packages to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in average_bird_z3n originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages and applications that depend on them. The ramifications include loss of trust in the npm ecosystem, potential data breaches, and the risk of executing malicious code within applications that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall average_bird_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 avoid using the average_bird_z3n package and replace it with a trusted alternative. Always review the packages you intend to use and check for any reported vulnerabilities.
Conclusion
The average_bird_z3n package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the registry. It is crucial for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action is required to mitigate the risks associated with this package.
See every vulnerability recorded for average_bird_z3n →
FAQ
average_bird_z3n is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the execution of malicious code, compromising the security and integrity of your application.
You should uninstall the average_bird_z3n package immediately and review your project's dependencies for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.