Malicious Code Vulnerability in kmf-vendor-pack: Data Leakage on Installation

kmf-vendor-pack Updated 09 Oct 2026

Summary

09/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17744: Malicious code in kmf-vendor-pack (npm). Affects kmf-vendor-pack versions 99.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The kmf-vendor-pack is an npm package that is typically used for managing vendor dependencies in JavaScript applications. It is designed to streamline the process of including third-party libraries. However, this package has been identified as malicious due to a postinstall script that executes harmful code upon installation, leading to potential data leakage.

Vulnerability Detail

The vulnerability originates from a postinstall script defined in the package.json file of kmf-vendor-pack. This script executes a Node.js command that sends an HTTPS GET request to an attacker-controlled server, embedding sensitive information such as the installer's OS hostname and username in the request. This automatic execution occurs during the npm install process, allowing the attacker to gain unauthorized access to host-identifying data without any user interaction. The ramifications include potential privacy violations and exploitation of the leaked data.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall kmf-vendor-pack

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 kmf-vendor-pack package until a secure version is released. Additionally, you can manually inspect the package.json file to remove or disable the postinstall script to prevent the malicious code from executing.

Conclusion

The kmf-vendor-pack package contains a serious vulnerability that allows for the execution of malicious code during installation, leading to data leakage. It is crucial to update or remove this package to protect sensitive information and maintain application security.

See every vulnerability recorded for kmf-vendor-pack →

Share this vulnerability

FAQ

kmf-vendor-pack is an npm package used for managing vendor dependencies in JavaScript applications.

The vulnerability works by executing a postinstall script that sends sensitive information to an attacker-controlled server during the installation process.

The vulnerability leaks the installer's OS hostname and username, which can be used for malicious purposes.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If you cannot update the package, consider removing it from your project and looking for alternative packages that provide similar functionality.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall kmf-vendor-pack

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 →

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