Malicious Package in koa-body-parse

koa-body-parse Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-wqgq-mfvj-6qxp: Malicious Package in koa-body-parse. Affects koa-body-parse versions >= 0.0.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The koa-body-parse package is an npm package used in the Node.js ecosystem. It is designed to parse the request body in Koa applications. This package is widely used by developers to handle HTTP requests and extract data from the request body. However, a vulnerability has been discovered in this package that allows for the execution of malicious code.

Vulnerability Detail

The koa-body-parse package contained malicious code that uploaded system information, such as the operating system and hostname, to a remote server. This unauthorized data collection poses a significant security risk as it can lead to the exposure of sensitive information and potential compromise of the system. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The best course of action is to remove the package and follow the recommended steps for remediation.

Conclusion

The koa-body-parse package has been found to contain malicious code that uploads system information to a remote server. To protect your system and data, it is recommended to remove the package from your environment and review your project's dependencies. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for koa-body-parse →

Share this vulnerability

FAQ

The impact of this vulnerability is the potential exposure of system information to a remote server, which can lead to further compromise and unauthorized access to sensitive data.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes the package-lock.json file to identify and alert in real-time for open-source vulnerabilities.

Yes, the recommended fix is to remove the koa-body-parse package from your environment and review the dependencies of your project to ensure they are from trusted sources.

There are no indications of further compromise mentioned in the vulnerability details. However, it is crucial to take immediate action and remove the package to mitigate any potential risks.

This vulnerability has a CVSS score of 9.8, indicating its critical severity.

Related vulnerabilities

Recent vulnerabilities recorded for koa-body-parse.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback