Malicious Code Injection in corresponding_badger_0xrequest Package
Summary
MAL-2025-101019: Malicious code in corresponding_badger_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 corresponding_badger_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate interactions with the tea protocol, which incentivizes developers through token rewards. However, this package has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The ramifications include potential exposure of sensitive data and the risk of executing untrusted code in applications that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall corresponding_badger_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 corresponding_badger_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in your software in real-time.
Conclusion
The corresponding_badger_0xrequest package has been identified as containing malicious code that poses significant security risks. It is crucial for developers to remove this package and monitor their dependencies to ensure the integrity of their applications. Utilizing tools like Vulert can aid in maintaining security by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for corresponding_badger_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed for interactions with the tea protocol.
The malicious code modifies your package.json, potentially exposing your application to security risks and untrusted code execution.
You should remove the package from your project and look for alternatives. If a patched version is available, update it immediately.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.