Malicious Code Injection in Causal Termite Z3N Package
Summary
MAL-2025-93483: Malicious code in causal_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
Causal Termite Z3N is an npm package that has been associated with the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm ecosystem but has been compromised. The vulnerability stems from its inclusion in a series of malicious packages that flood the npm registry, aimed at inflating developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the Causal Termite Z3N package is characterized by the presence of 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. The origin of this issue is linked to a campaign that exploits npm's publishing mechanisms, resulting in pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall causal_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 prevent the installation of the vulnerable package by using the npm audit command to identify and remove it from your dependencies. Additionally, consider using npm ci to install only the packages listed in your package-lock.json file, which can help mitigate the risk of introducing malicious packages.
Conclusion
The Causal Termite Z3N package has been compromised, leading to significant vulnerabilities that can affect your project. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your dependencies.
See every vulnerability recorded for causal_termite_z3n →
FAQ
Causal Termite Z3N is an npm package that has been implicated in a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further security risks and polluting the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.
If you cannot update the package, consider removing it from your project and replacing it with a secure alternative.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and ensure that you only install packages from trusted sources.