Malicious Code Injection in resonant_antelope_0xrequest Package
Summary
MAL-2025-107942: Malicious code in resonant_antelope_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 resonant_antelope_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through automated publishing scripts that generate derivative packages with randomized names. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the resonant_antelope_0xrequest package originates from malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. The ramifications include the potential for developers to unknowingly publish compromised packages, leading to a polluted npm registry and possible exploitation of users who install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall resonant_antelope_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 resonant_antelope_0xrequest package from your project by executing: npm uninstall resonant_antelope_0xrequest. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The resonant_antelope_0xrequest package has been compromised with malicious code that poses significant risks to developers and users. It is crucial to take immediate action by updating or uninstalling the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for resonant_antelope_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The malicious code modifies your package.json file, which can lead to the unintentional publication of compromised packages and affect your project's integrity.
You should uninstall the package immediately and monitor for any updates or patches that address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert to monitor vulnerabilities, and keep your packages updated to the latest secure versions.