Malicious Code Injection in manual_bedbug_z3n Package
Summary
MAL-2025-98805: Malicious code in manual_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 manual_bedbug_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages with randomized names. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the manual_bedbug_z3n package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores within the tea protocol token rewards system. The continuous republishing of these variants pollutes the npm registry, potentially leading to security risks for developers and users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manual_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 prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include manual_bedbug_z3n by checking your package-lock.json file and removing any references to it.
Conclusion
The manual_bedbug_z3n package contains a serious vulnerability due to its malicious code, which can compromise the security of applications using it. It is crucial to remove this package from your project and monitor your dependencies using tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for manual_bedbug_z3n →
FAQ
The manual_bedbug_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your project's package.json, potentially compromising your application's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
If you have installed the manual_bedbug_z3n package, it is recommended to uninstall it immediately to prevent any security risks.
Currently, there is no patched version available for the manual_bedbug_z3n package. The best course of action is to remove the package entirely.