Malicious Code Injection in outdoor_thrush_z3n: npm Package Vulnerability
Summary
MAL-2025-122424: Malicious code in outdoor_thrush_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 outdoor_thrush_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a malicious campaign aimed at inflating developer reputation scores through the tea.xyz token reward system. It is designed to automatically generate and publish derivative packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in outdoor_thrush_z3n arises from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to create numerous derivative packages that clutter the npm registry and can potentially compromise the integrity of the ecosystem. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation and publication of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall outdoor_thrush_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 manually remove the outdoor_thrush_z3n package from your project by running the following command: npm uninstall outdoor_thrush_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The outdoor_thrush_z3n package poses a significant risk due to its malicious code that modifies project files and floods the npm registry. It is crucial to remove this package and monitor your project for vulnerabilities to maintain the integrity of your software environment.
See every vulnerability recorded for outdoor_thrush_z3n →
FAQ
The outdoor_thrush_z3n package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should uninstall the outdoor_thrush_z3n package immediately and monitor your project for any further vulnerabilities.
Currently, there is no specific patch for the outdoor_thrush_z3n package. The best course of action is to remove the package entirely.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.