Malicious Code Injection in level_canidae_z3n: A Threat to npm Users
Summary
MAL-2025-95235: Malicious code in level_canidae_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 level_canidae_z3n 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 malicious, containing scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in level_canidae_z3n stems from its inclusion in a malicious campaign that utilizes autopublish scripts to manipulate package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall level_canidae_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 remove the level_canidae_z3n package from your project by executing: npm uninstall level_canidae_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The level_canidae_z3n package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is essential for developers to be vigilant, remove compromised packages, and utilize tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for level_canidae_z3n →
FAQ
level_canidae_z3n is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising its security and integrity.
If you have installed level_canidae_z3n, it is crucial to uninstall it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly update your dependencies, monitor for security advisories, and utilize tools like Vulert to keep track of vulnerabilities in your project's dependencies.