Malicious Code Injection in whole_thrush_z3n Package - npm Vulnerability
Summary
MAL-2025-97365: Malicious code in whole_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 whole_thrush_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in the whole_thrush_z3n package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to flood the npm registry with derivative packages, leading to potential pollution of the registry and undermining the integrity of the ecosystem. The malicious payload can compromise the security of applications relying on this package, as it may introduce untrusted code into their dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall whole_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 whole_thrush_z3n package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The whole_thrush_z3n package poses a significant risk due to its malicious code injection, which can compromise the security of applications. It is crucial to remove this package and monitor for any potential vulnerabilities in your project. Utilizing tools like Vulert can help ensure your software remains secure.
See every vulnerability recorded for whole_thrush_z3n →
FAQ
The whole_thrush_z3n package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the introduction of untrusted code into your application, potentially compromising its security and integrity.
If you have installed the whole_thrush_z3n package, it is advised to uninstall it immediately using npm uninstall whole_thrush_z3n.
Yes, you should look for alternative packages that provide similar functionality without the associated risks of malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.