Malicious Code Injection in wise_tarantula_z3n: A Threat to npm Packages
Summary
MAL-2025-110961: Malicious code in wise_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 package 'wise_tarantula_z3n' is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in 'wise_tarantula_z3n' originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the security of the affected packages but also affects the overall trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wise_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 package from your dependencies by executing the following command: npm uninstall wise_tarantula_z3n. This will prevent any malicious code from executing in your application.
Conclusion
The 'wise_tarantula_z3n' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized packages. It is crucial to remove this package and monitor your dependencies for similar vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for wise_tarantula_z3n →
FAQ
The malicious code can compromise the integrity of your application by modifying package.json and publishing unauthorized packages, leading to potential security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can identify if your application is affected.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities. Avoid using packages from untrusted sources.
Immediately uninstall the 'wise_tarantula_z3n' package and review your project's dependencies for any other potentially malicious packages.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.