Malicious Code Injection in Subtle Bedbug 0xRequest Package
Summary
MAL-2025-109244: Malicious code in subtle_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 subtle_bedbug_0xrequest package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that inflate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
This vulnerability originates from the malicious intent behind the package, which modifies the package.json file to remove private flags, changes version numbers, and generates random package names. The payload continuously republishes these variants, leading to a polluted npm registry and potential security risks for developers who unknowingly use these compromised packages. The malicious scripts included in the package can compromise the integrity of applications relying on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall subtle_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, avoid using the subtle_bedbug_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The subtle_bedbug_0xrequest package poses a significant risk due to its malicious code designed to manipulate package metadata and republish variants. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for subtle_bedbug_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
Immediately uninstall the package using npm uninstall subtle_bedbug_0xrequest and check your package-lock.json for any remaining references.
Yes, tools like Vulert can monitor your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.