Malicious Code Injection in electrical_crawdad_z3n Package
Summary
MAL-2025-94209: Malicious code in electrical_crawdad_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 electrical_crawdad_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to facilitate various functionalities within applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing system, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the electrical_crawdad_z3n package originates from its involvement in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts designed to automatically publish derivative versions with altered package.json files, removing private flags and changing version numbers. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to the installation of compromised packages by unsuspecting developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall electrical_crawdad_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 electrical_crawdad_z3n package altogether. If it is already in use, consider removing it from your package.json and running npm uninstall electrical_crawdad_z3n to prevent any potential exploitation.
Conclusion
The electrical_crawdad_z3n package poses a significant security risk due to its malicious behavior of manipulating the npm registry. It is essential to remove this package from your projects and stay vigilant about updates and potential vulnerabilities in your dependencies.
See every vulnerability recorded for electrical_crawdad_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks or malicious behavior in your application.
You should immediately remove the electrical_crawdad_z3n package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.