Malicious Code Injection in surprising_warbler_0xrequest Package
Summary
MAL-2025-109354: Malicious code in surprising_warbler_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 surprising_warbler_0xrequest package is part of the npm ecosystem, often utilized in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the surprising_warbler_0xrequest package. It modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly incorporate this package into their projects, potentially compromising their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surprising_warbler_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 remove the package from your dependencies by running the following command: npm uninstall surprising_warbler_0xrequest. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The surprising_warbler_0xrequest package contains a significant vulnerability that can compromise your application through malicious code. It is essential to remove this package and monitor your dependencies for any vulnerabilities using tools like Vulert.
See every vulnerability recorded for surprising_warbler_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, often used in JavaScript applications.
The vulnerability can lead to the injection of malicious code, potentially compromising your application's integrity and security.
You should uninstall the package immediately and monitor your project for any unusual behavior.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.