Malicious Code Vulnerability in unacceptable_ant_0xrequest Package
Summary
MAL-2025-110020: Malicious code in unacceptable_ant_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_ant_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. 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 functionality 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's inclusion in a malicious campaign that aims to inflate developer reputation scores through automated publishing of derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to pollution of the npm registry, potentially affecting other developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unacceptable_ant_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_ant_0xrequest package altogether. If it is already in use, consider replacing it with a reputable alternative that does not have known vulnerabilities.
Conclusion
The unacceptable_ant_0xrequest package contains malicious code that compromises the integrity of your project and the npm ecosystem. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential risks in your software.
See every vulnerability recorded for unacceptable_ant_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file, potentially leading to security risks and pollution of the npm registry.
You should uninstall the package immediately using npm uninstall unacceptable_ant_0xrequest.
Yes, consider using reputable packages that provide similar functionality without known vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.