Malicious Code Injection in xerothermic_leech_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-111127: Malicious code in xerothermic_leech_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 'xerothermic_leech_z3n' is part of a malicious campaign targeting the npm ecosystem, primarily associated with the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered names and configurations, thereby inflating developer reputation scores for token rewards. Its functionality is compromised, posing a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in 'xerothermic_leech_z3n' originates from its association with a malicious campaign that employs scripts to automatically publish derivative packages. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to pollution of the npm registry. The ramifications include potential security risks for users who unknowingly install these compromised packages, as they may contain harmful code or lead to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xerothermic_leech_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 'xerothermic_leech_z3n' package and replace it with a trusted alternative. Additionally, regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The 'xerothermic_leech_z3n' package poses a significant threat due to its malicious nature, which compromises the integrity of the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for xerothermic_leech_z3n →
FAQ
'xerothermic_leech_z3n' is an npm package identified as part of a malicious campaign that modifies and republishes packages to inflate developer reputation scores.
This vulnerability can lead to the installation of compromised packages, which may contain malicious code that can exploit your application or compromise user data.
You should immediately uninstall 'xerothermic_leech_z3n' and check for any other affected packages in your project. Use 'npm uninstall xerothermic_leech_z3n' to remove it.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, consider using well-established and trusted packages that provide similar functionality without the associated risks of malicious code.