Malicious Code Injection in protestant_takin_z3n Package
Summary
MAL-2025-107384: Malicious code in protestant_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 protestant_takin_z3n package is part of the npm ecosystem, which is used for managing JavaScript packages. This package has been identified as part of a broader malicious campaign that aims to exploit npm's publishing system. It is designed to generate and publish derivative packages with random names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol. The malicious nature of this package poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the protestant_takin_z3n package. This code modifies the package.json file to remove 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 compromises the security and reliability of the packages available to developers. The origin of this vulnerability is linked to a campaign that aims to exploit npm's system for personal gain, making it crucial for developers to be aware of such threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall protestant_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 workaround, you can avoid using the protestant_takin_z3n package altogether. If you have dependencies that require it, consider looking for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to any open-source vulnerabilities in your software.
Conclusion
The protestant_takin_z3n package poses a significant security risk due to its malicious code designed to exploit npm's publishing system. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for protestant_takin_z3n →
FAQ
The protestant_takin_z3n package is an npm package that has been identified as part of a malicious campaign to exploit npm's publishing system.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should uninstall the protestant_takin_z3n package immediately using the command npm uninstall protestant_takin_z3n.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time. It requires only your package-lock.json file to provide alerts.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.