Malicious Code Injection in yammering_goat_0xrequest: A Threat to npm Ecosystem
Summary
MAL-2025-111152: Malicious code in yammering_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 package 'yammering_goat_0xrequest' is part of a broader campaign targeting the npm ecosystem, specifically associated with the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for rewards, but it poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the 'yammering_goat_0xrequest' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yammering_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 measure, you can avoid using the 'yammering_goat_0xrequest' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The 'yammering_goat_0xrequest' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for yammering_goat_0xrequest →
FAQ
It is an npm package that has been identified as malicious, designed to manipulate the npm registry for token rewards.
The vulnerability can lead to the pollution of the npm registry and may compromise the security and integrity of your project.
You should uninstall the package immediately and check for any dependencies that may also be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.