Malicious Code Injection in definite_cougar_z3n Package
Summary
MAL-2025-101286: Malicious code in definite_cougar_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 definite_cougar_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign associated with the tea.xyz token reward system. Its primary function is to facilitate the automatic generation and publication of derivative packages, which can lead to reputation inflation for developers involved in the tea protocol. However, this functionality has been compromised, making it susceptible to exploitation.
Vulnerability Detail
The vulnerability in the definite_cougar_z3n package originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall definite_cougar_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 definite_cougar_z3n package from your project by executing the command: 'npm uninstall definite_cougar_z3n'. This will prevent any malicious code from executing while you seek a secure alternative or wait for a patched version.
Conclusion
The definite_cougar_z3n package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is essential to take immediate action by updating or removing the package to safeguard your projects from potential exploitation.
See every vulnerability recorded for definite_cougar_z3n →
FAQ
The definite_cougar_z3n package is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
This vulnerability can lead to the introduction of malicious code in your application, potentially compromising its security and integrity.
If you have installed the definite_cougar_z3n package, it is recommended to uninstall it immediately and check for any signs of compromise in your application.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.