Malicious Code Vulnerability in ready_bedbug_z3n Package
Summary
MAL-2025-96201: Malicious code in ready_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 ready_bedbug_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 that aims to inflate developer reputation scores through the creation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and continuously republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which floods npm with malicious packages. It contains scripts designed to automatically generate and publish derivative packages with randomized names. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names, which can lead to significant pollution of the npm registry and compromise the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ready_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 workaround, you can manually check your package-lock.json file for any instances of ready_bedbug_z3n and remove it. Use the following command to uninstall the package: npm uninstall ready_bedbug_z3n.
Conclusion
The ready_bedbug_z3n package poses a significant risk due to its malicious code designed to manipulate npm registry integrity. It is crucial to remove this package from your projects and monitor for any future vulnerabilities using tools like Vulert.
See every vulnerability recorded for ready_bedbug_z3n →
FAQ
ready_bedbug_z3n is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and compromise the integrity of your application by introducing malicious code.
You should uninstall the ready_bedbug_z3n package immediately to mitigate any potential risks.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.