Malicious Code Injection in assistant_goat_0xrequest Package
Summary
MAL-2025-99640: Malicious code in assistant_goat_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 assistant_goat_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 various scripts that automatically publish derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications using it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the reputation of developers but also poses a risk of dependency confusion and potential exploitation in applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall assistant_goat_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, avoid using the assistant_goat_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The assistant_goat_0xrequest package poses significant security risks due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for assistant_goat_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate automatic publishing of derivative packages.
The package modifies package.json files, removes private flags, and generates random package names to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the assistant_goat_0xrequest package immediately and look for alternative packages that do not have known vulnerabilities.
Currently, there is no patched version available for the assistant_goat_0xrequest package. It is recommended to remove it from your project.