Malicious Code Injection in bottom_goat_0xrequest Package - npm Vulnerability
Summary
MAL-2025-100061: Malicious code in bottom_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 bottom_goat_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the automatic generation of derivative packages.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the bottom_goat_0xrequest package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are often Indonesian-themed. The malicious code continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who inadvertently use these packages. The impact of this vulnerability includes compromised package integrity and the potential for developers to unknowingly integrate malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bottom_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 avoid using the bottom_goat_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The bottom_goat_0xrequest package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is essential for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their dependencies.
See every vulnerability recorded for bottom_goat_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code can alter your package.json file, leading to the inclusion of compromised packages in your application.
You should immediately uninstall the package using npm uninstall bottom_goat_0xrequest and review your project's dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.