Malicious Code Injection in uniform_bedbug_0xrequest Package
Summary
MAL-2025-110119: Malicious code in uniform_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 'uniform_bedbug_0xrequest' package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to artificially inflate developer reputation scores for token rewards. This behavior raises significant concerns regarding the integrity and security of the npm ecosystem.
Vulnerability Detail
The vulnerability in the 'uniform_bedbug_0xrequest' package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This not only compromises the security of applications relying on this package but also undermines the trustworthiness of the npm ecosystem as a whole.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uniform_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 'uniform_bedbug_0xrequest' package altogether. Instead, consider using alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The 'uniform_bedbug_0xrequest' package poses a significant security risk due to its malicious behavior of modifying package configurations and republishing variants. It is essential to remove this package from your project and monitor for any vulnerabilities using tools like Vulert to maintain the integrity of your applications.
See every vulnerability recorded for uniform_bedbug_0xrequest →
FAQ
It is an npm package that is part of a campaign to inflate developer reputation scores by automatically generating and publishing derivative packages.
The malicious code can compromise your application's integrity by modifying package configurations and introducing potentially harmful dependencies.
You should immediately uninstall the package and check for any dependencies that may rely on it. Replace it with secure alternatives.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities in real-time.