Malicious Code Injection in whole_takin_z3n Package - npm Vulnerability
Summary
MAL-2025-97364: Malicious code in whole_takin_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_takin_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating and publishing numerous derivative packages with randomized names. The goal of this campaign is to inflate developer reputation scores for token rewards associated with the tea.xyz protocol.
Vulnerability Detail
The vulnerability in the whole_takin_z3n package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall whole_takin_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_takin_z3n package and any other packages that may be part of the malicious campaign. Monitor your project for any dependencies that could be affected by similar vulnerabilities.
Conclusion
The whole_takin_z3n package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to be vigilant and remove any affected packages to maintain the security of their applications. Regular monitoring and using tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for whole_takin_z3n →
FAQ
The whole_takin_z3n package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have used the whole_takin_z3n package, you should uninstall it immediately and review your project for any other potentially compromised dependencies.
There are no patches available for the whole_takin_z3n package as it is recommended to remove it entirely from your project.