Malicious Code Injection in spicy_goat_0xrequest Package
Summary
MAL-2025-109005: Malicious code in spicy_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 spicy_goat_0xrequest package is part of the npm ecosystem, commonly used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages that flood the npm registry. These packages are designed to inflate developer reputation scores through automated publishing scripts, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the spicy_goat_0xrequest package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is tied to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to manipulate package visibility and reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall spicy_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, you can remove the spicy_goat_0xrequest package from your project by executing the command: 'npm uninstall spicy_goat_0xrequest'. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The spicy_goat_0xrequest package poses a significant risk due to its malicious code that alters package configurations and inflates developer reputation scores. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential exploitation.
See every vulnerability recorded for spicy_goat_0xrequest →
FAQ
The spicy_goat_0xrequest package is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially exposing your application to further vulnerabilities and affecting its integrity.
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.
If an immediate update is not possible, consider uninstalling the package as a temporary measure to mitigate the risk of exploitation.
Detailed information can be found in the vulnerability report on the official GitHub repository or through security advisories related to npm packages.