Malicious Code Injection in equal_termite_z3n: A Threat to npm Packages
Summary
MAL-2025-102158: Malicious code in equal_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 package 'equal_termite_z3n' 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 linked to a series of malicious activities aimed at inflating developer reputation scores through automated publishing of derivative packages. The functionality of this package is compromised due to its malicious intent, making it a significant threat to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'equal_termite_z3n' originates from its design to include malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential exposure of sensitive information, increased difficulty in managing dependencies, and a compromised npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall equal_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 measure, you can avoid using the 'equal_termite_z3n' package and replace it with a trusted alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The 'equal_termite_z3n' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant about the packages they use and to utilize tools like Vulert to monitor for vulnerabilities. Immediate action is required to mitigate the risks associated with this package.
See every vulnerability recorded for equal_termite_z3n →
FAQ
'equal_termite_z3n' is an npm package that has been identified as containing malicious code aimed at manipulating the npm registry.
The vulnerability can lead to the exposure of sensitive information and the pollution of the npm registry, making it difficult to manage dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed 'equal_termite_z3n', you should uninstall it immediately using 'npm uninstall equal_termite_z3n' and replace it with a trusted alternative.
There are no patches available for 'equal_termite_z3n' as it is recommended to remove the package entirely from your project.