Malicious Code Injection in 'disastrous_thrush_z3n' Package
Summary
MAL-2025-94055: Malicious code in disastrous_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 'disastrous_thrush_z3n' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the 'disastrous_thrush_z3n' package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall disastrous_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 workaround, you can avoid using the 'disastrous_thrush_z3n' package altogether. If it is already in use, consider removing it and replacing it with a trusted alternative package that does not exhibit malicious behavior.
Conclusion
The 'disastrous_thrush_z3n' package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package and monitor your projects for vulnerabilities to ensure security and integrity.
See every vulnerability recorded for disastrous_thrush_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and potential security risks for your project, as it may introduce malicious code.
You should remove the 'disastrous_thrush_z3n' package from your project immediately to mitigate any risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.