Malicious Code Injection in heavy_wildcat_z3n Package
Summary
MAL-2025-103634: Malicious code in heavy_wildcat_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 heavy_wildcat_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. Its primary functionality is to facilitate token rewards, but it has been compromised to include harmful scripts that can affect developers' reputations and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the heavy_wildcat_z3n package stems from its inclusion in a campaign that deploys malicious scripts designed to manipulate package metadata. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a significant risk to developers by inflating reputation scores through deceptive practices. The malicious payload can lead to unintended consequences, including the distribution of compromised packages to unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall heavy_wildcat_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 heavy_wildcat_z3n package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The heavy_wildcat_z3n package has been identified as containing malicious code that can compromise the integrity of your project and the npm registry. It is crucial to uninstall this package and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential risks in your open-source software.
See every vulnerability recorded for heavy_wildcat_z3n →
FAQ
The heavy_wildcat_z3n package is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to reputation inflation and potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed the heavy_wildcat_z3n package, you should uninstall it immediately using the command npm uninstall heavy_wildcat_z3n.
Yes, you should look for alternative npm packages that provide similar functionality without the associated risks of malicious code.