Malicious Code Injection in marginal_bonobo_0xrequest Package
Summary
MAL-2025-105610: Malicious code in marginal_bonobo_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 marginal_bonobo_0xrequest package is part of the npm ecosystem, often used for various JavaScript applications. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry and potential security risks for developers using these packages.
Vulnerability Detail
The vulnerability in the marginal_bonobo_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. This allows the package to continuously republish variants with randomized names, effectively polluting the npm registry. The malicious payload can lead to unintended consequences for developers, including the use of compromised packages and potential security breaches in applications that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall marginal_bonobo_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 workaround, you can avoid using the marginal_bonobo_0xrequest package altogether. If it is already in use, consider replacing it with a reputable alternative that does not have known vulnerabilities. Additionally, you can use the following command to uninstall the package: npm uninstall marginal_bonobo_0xrequest.
Conclusion
The marginal_bonobo_0xrequest package poses a significant security risk due to its malicious code that modifies package.json and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to ensure application security.
See every vulnerability recorded for marginal_bonobo_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
Using this package can lead to security risks, including the potential for your application to be compromised through malicious code.
You should uninstall the marginal_bonobo_0xrequest package immediately and consider using a secure alternative.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.