Malicious Code Injection in wise_bear_0xrequest: npm Package Vulnerability
Summary
MAL-2025-110956: Malicious code in wise_bear_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 wise_bear_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that employs scripts to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file by removing private flags, altering version numbers, and creating random package names, which leads to pollution of the npm registry. This can result in developers unknowingly installing compromised packages, potentially exposing their applications to further vulnerabilities and security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wise_bear_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 wise_bear_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks. Always verify the integrity and source of packages before installation.
Conclusion
The wise_bear_0xrequest package has been identified as containing malicious code that can compromise the security of applications using it. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for wise_bear_0xrequest →
FAQ
The wise_bear_0xrequest package is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
If your application uses the wise_bear_0xrequest package, it may be exposed to security risks, including the potential for unauthorized access or data manipulation.
You should uninstall the wise_bear_0xrequest package immediately using the command npm uninstall wise_bear_0xrequest.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.