Malicious Code Injection in Devoted Bedbug 0xRequest Package
Summary
MAL-2025-101402: Malicious code in devoted_bedbug_0xrequest (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 'devoted_bedbug_0xrequest' package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores. This behavior poses a significant risk to the integrity of the npm registry and can lead to the proliferation of malicious software.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the 'devoted_bedbug_0xrequest' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished to contaminate the npm registry. The ramifications include potential exposure to malicious software, compromised developer reputations, and a polluted npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall devoted_bedbug_0xrequest
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 measure, avoid using the 'devoted_bedbug_0xrequest' package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'devoted_bedbug_0xrequest' package contains malicious code that poses significant risks to applications using it. Immediate action is required to remove the package and safeguard your projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for devoted_bedbug_0xrequest →
FAQ
It is an npm package linked to the tea.xyz token reward campaign, designed to automate the creation and publication of derivative packages.
The vulnerability can lead to the injection of malicious code, compromising your application's integrity and potentially exposing it to security risks.
You should uninstall the package immediately using 'npm uninstall devoted_bedbug_0xrequest' and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. Visit Vulert Scanner to check your application.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about the latest security advisories.