Malicious Code Injection in minimum_cobra_z3n Package
Summary
MAL-2025-88436: Malicious code in minimum_cobra_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 minimum_cobra_z3n package is part of the npm ecosystem, often utilized for various JavaScript applications. It is designed to facilitate the development process by providing reusable code components. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages, potentially compromising the integrity of applications that depend on it.
Vulnerability Detail
This vulnerability originates from the malicious intent behind the minimum_cobra_z3n package, which is linked to the tea.xyz token reward campaign. The package contains scripts that automatically generate and publish derivative packages with randomized names, modifying the package.json file to remove private flags and change version numbers. This behavior can lead to the pollution of the npm registry and may compromise the security of applications that utilize these packages, exposing them to further vulnerabilities and malicious attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall minimum_cobra_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 avoid using the minimum_cobra_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The minimum_cobra_z3n package poses a significant security risk due to its malicious code injection. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for minimum_cobra_z3n →
FAQ
The minimum_cobra_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the minimum_cobra_z3n package immediately and monitor your application for any unusual behavior.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.