Malicious Code Injection in dizzy_bedbug_z3n Package - npm Vulnerability
Summary
MAL-2025-94084: Malicious code in dizzy_bedbug_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 dizzy_bedbug_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 development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the dizzy_bedbug_z3n package stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the integrity of applications that depend on these packages, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dizzy_bedbug_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 dizzy_bedbug_z3n package and replace it with alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The discovery of malicious code in the dizzy_bedbug_z3n package highlights the importance of vigilance when using open-source packages. Developers should regularly audit their dependencies and utilize tools like Vulert to ensure their applications remain secure.
See every vulnerability recorded for dizzy_bedbug_z3n →
FAQ
The dizzy_bedbug_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
This vulnerability can lead to the modification of your application's package.json file, potentially allowing unauthorized access or data breaches due to the introduction of malicious code.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.
If you have installed the dizzy_bedbug_z3n package, you should uninstall it immediately and replace it with a trusted alternative to mitigate any potential risks.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities in real-time, ensuring that you are alerted to any potential risks associated with your packages.