Malicious Code Injection in alive_thrush_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-99347: Malicious code in alive_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
alive_thrush_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate the npm ecosystem by generating and publishing derivative packages with random names, aiming to inflate developer reputation scores for token rewards. The package's functionality is compromised, making it a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in alive_thrush_z3n stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks of dependency confusion and potential exploitation of applications using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alive_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 avoid using the alive_thrush_z3n package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The alive_thrush_z3n package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for alive_thrush_z3n →
FAQ
The vulnerability involves malicious code that alters package.json files and republishes variants to manipulate the npm registry.
You can check your project's dependencies using tools like Vulert, which monitors vulnerabilities in real-time by analyzing your package-lock.json.
Immediately uninstall the package using 'npm uninstall alive_thrush_z3n' and replace it with a secure alternative.
Yes, tools like Vulert can help monitor and alert you about open-source vulnerabilities in your software without requiring code access.
Regularly audit your dependencies, use trusted sources for packages, and consider employing automated tools like Vulert for ongoing monitoring.