Malicious Code Injection in unacceptable_bear_0xrequest Package
Summary
MAL-2025-110023: Malicious code in unacceptable_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 unacceptable_bear_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 for token rewards. The package's functionality is compromised by malicious scripts that manipulate its metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the unacceptable_bear_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unacceptable_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 workaround, you can avoid using the unacceptable_bear_0xrequest package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check your application for this specific vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The unacceptable_bear_0xrequest package contains malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for unacceptable_bear_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the publication of compromised packages that may harm your application.
You should remove the unacceptable_bear_0xrequest package from your project immediately and check for any other affected packages.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to create an account.