Critical Malicious Code Vulnerability in boby_parser Package
Summary
MAL-2025-15924: Malicious code in boby_parser (npm). Affects boby_parser versions 2.2.0 – 2.2.3. 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 boby_parser package is an npm library designed for parsing and manipulating request bodies in web applications. It is widely used due to its simplicity and efficiency in handling various content types. However, it has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the boby_parser package originates from the inclusion of malicious code that can compromise the integrity and security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or lead to further exploitation of the system. The malicious nature of this vulnerability makes it critical for developers to address it immediately.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall boby_parser
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, consider removing the boby_parser package from your project until a secure version is available. You can do this by executing: npm uninstall boby_parser.
Conclusion
The discovery of malicious code in the boby_parser package highlights the importance of maintaining secure dependencies in software development. Developers are urged to update or remove the package to mitigate potential risks.
See every vulnerability recorded for boby_parser →
FAQ
boby_parser is an npm package used for parsing request bodies in web applications.
The malicious code can compromise application security, allowing unauthorized access and potential data breaches.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, consider removing the package as a temporary measure until a secure version is available.
The vulnerability was identified by Amazon Inspector, a security tool provided by Amazon.