Malicious Code Injection in ksp-app: A Dependency Confusion Vulnerability

ksp-app Updated 11 Oct 2026

Summary

11/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17770: Malicious code in ksp-app (npm). Affects ksp-app versions 100.100.100. 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

ksp-app is an npm package designed to provide frontend utilities. However, it has been identified as a dependency-confusion shaped package that poses significant security risks. The package's functionality is compromised by the inclusion of a malicious native binary that executes harmful actions upon installation, making it a target for exploitation.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded in the ksp-app package version 100.100.100. This package contains a prebuilt Linux x64 native addon that is executed during the installation process. The addon collects sensitive environment variables such as HOSTNAME, npm_package_name, and npm_config_registry, and sends them to a hardcoded IP address (http://64.181.165.115/dc). This behavior indicates that the package is designed to exfiltrate information about the victim's environment, potentially leading to further attacks or data breaches.

How To Fix

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

npm uninstall ksp-app

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 ksp-app package altogether or replace it with an alternative package that provides similar functionality without the associated risks.

Conclusion

The ksp-app package has been identified as containing malicious code that poses a significant security threat. Users are advised to remove the affected version and update to a secure alternative. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for ksp-app →

Share this vulnerability

FAQ

ksp-app is an npm package that provides frontend utilities but has been compromised with malicious code.

The vulnerability works by executing a malicious native binary during installation, which sends sensitive information to a remote server.

The risks include exposure of sensitive environment variables, potential data breaches, and further exploitation of the victim's system.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

If an immediate update is not possible, consider removing the package and using alternative solutions until a secure version is available.

How To Fix

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

npm uninstall ksp-app

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