Malicious Code Injection in xenacious_termite_z3n Package
Summary
MAL-2025-97436: Malicious code in xenacious_termite_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 xenacious_termite_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the xenacious_termite_z3n package originates from its involvement in a malicious campaign that modifies package.json files to remove private flags and change version numbers. It generates random package names and continuously republishes variants to pollute the npm registry. This can lead to a significant increase in the number of malicious packages, potentially affecting developers and users who rely on the npm ecosystem for secure package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xenacious_termite_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 xenacious_termite_z3n package and monitor your dependencies for any instances of this package. Regularly audit your npm packages using npm audit to identify and address vulnerabilities.
Conclusion
The xenacious_termite_z3n package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for xenacious_termite_z3n →
FAQ
The xenacious_termite_z3n package is an npm package involved in a token reward campaign that has been identified as containing malicious code.
The vulnerability can lead to the proliferation of malicious packages, affecting the security and integrity of your project and potentially compromising sensitive data.
If you have installed the xenacious_termite_z3n package, you should uninstall it immediately and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
To prevent future vulnerabilities, regularly audit your dependencies, keep your packages updated, and use tools that monitor for vulnerabilities in real-time.