Malicious Code Injection in mighty_condor_z3n: A Threat to npm Packages
Summary
MAL-2025-105830: Malicious code in mighty_condor_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 mighty_condor_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can harm developers' reputations and the integrity of the registry itself.
Vulnerability Detail
The vulnerability in mighty_condor_z3n arises from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores through the creation of numerous derivative packages, ultimately polluting the npm registry. The malicious payload can lead to security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mighty_condor_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 mighty_condor_z3n package from your project by executing: npm uninstall mighty_condor_z3n. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The mighty_condor_z3n package has been identified as part of a malicious campaign that poses significant risks to developers and the npm ecosystem. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can further enhance your security posture by providing real-time vulnerability alerts.
See every vulnerability recorded for mighty_condor_z3n →
FAQ
The vulnerability involves malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Using this package can expose your application to security risks, including the possibility of running malicious code and compromising your application's integrity.
Regularly updating your packages and using tools like Vulert to monitor vulnerabilities can help prevent such issues.
Uninstall the package immediately and check for any updates or patches. Consider using alternative packages that are known to be secure.