Malicious Code Injection in Valuable Bedbug 0xRequest Package
Summary
MAL-2025-110327: Malicious code in valuable_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 'valuable_bedbug_0xrequest' package is part of the npm ecosystem, often utilized for various JavaScript applications. It is designed to facilitate specific functionalities within the broader context of web development. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from the package being associated with the tea.xyz token reward campaign, which floods npm with malicious packages. These packages contain scripts that automatically modify the package.json file, removing private flags and changing version numbers. They generate random package names and continuously republish variants, polluting the npm registry. This can lead to reputation inflation for malicious actors and potential security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall valuable_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 workaround, you can avoid using the 'valuable_bedbug_0xrequest' package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'valuable_bedbug_0xrequest' package poses significant security risks due to its association with malicious activities in the npm ecosystem. It is essential for developers to be vigilant about the packages they use and to regularly check for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for valuable_bedbug_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected.
Using compromised packages can lead to security vulnerabilities, data breaches, and potential exploitation of your application by malicious actors.
Yes, you can use tools like Vulert to monitor your dependencies in real-time for any open-source vulnerabilities without needing to install any software.
Immediately remove the vulnerable package and replace it with a secure alternative. Regularly update your dependencies to mitigate risks.