Malicious Code Injection in clear_tarantula_z3n Package
Summary
MAL-2025-93580: Malicious code in clear_tarantula_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 clear_tarantula_z3n package is part of the npm ecosystem, typically used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often include scripts that automatically generate and publish derivative packages, leading to potential security risks and pollution of the npm registry.
Vulnerability Detail
The vulnerability in the clear_tarantula_z3n package originates from its involvement in 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 inflate developer reputation scores for token rewards, but it also poses significant risks, including the potential for unauthorized access to sensitive information and the proliferation of malicious packages in the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall clear_tarantula_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 remove the clear_tarantula_z3n package from your project by executing the following command: npm uninstall clear_tarantula_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The clear_tarantula_z3n package has been identified as containing malicious code that modifies package.json files and publishes unauthorized packages. It is crucial to update or uninstall this package to protect your application from potential security risks. Utilizing tools like Vulert can help monitor your dependencies for vulnerabilities.
See every vulnerability recorded for clear_tarantula_z3n →
FAQ
The clear_tarantula_z3n package is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive information and allowing for the proliferation of malicious packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
If you cannot update the package, it is advisable to uninstall it temporarily and monitor for any updates or patches that address the vulnerability.
More information can be found in the vulnerability report on the official GitHub repository or by consulting security advisories related to npm packages.