Malicious Code Injection in Colossal Deer Z3N Package
Summary
MAL-2025-93624: Malicious code in colossal_deer_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
Colossal Deer Z3N is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. 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 Colossal Deer Z3N package originates from its association with a campaign that floods npm with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially leading to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall colossal_deer_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 workaround, you can avoid using the Colossal Deer Z3N package altogether. If you have already installed it, remove it from your project with the command: npm uninstall colossal_deer_z3n. Additionally, consider using Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The Colossal Deer Z3N package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for colossal_deer_z3n →
FAQ
Colossal Deer Z3N is an npm package associated with the tea.xyz token reward campaign, which aims to incentivize developers through token rewards.
The package contains scripts that modify package.json files, remove private flags, and generate random package names, leading to the pollution of the npm registry.
You can use Vulert to monitor your application for vulnerabilities. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for any affected packages.
If you have installed the Colossal Deer Z3N package, it is advisable to uninstall it immediately using the command: npm uninstall colossal_deer_z3n.
Currently, there is no patched version available for the Colossal Deer Z3N package. It is best to remove the package and monitor for any future updates.