Skip to main content
MalwarePublished

ksp-app (npm) · Malicious Code

Affects ksp-appSource GCVE Database

0

Malicious package : remove ksp-app and rotate any secrets on hosts that installed it.

Data as of 11 Oct 2026, 21:44 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17770

What to do

Remove ksp-app from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmksp-appAffected
  • =100.100.100
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The ksp-app npm package version 100.100.100 is a malicious dependency-confusion package that contains a prebuilt Linux x64 native addon. Upon installation, it executes a postinstall script that loads the native addon, which exfiltrates environment variables including HOSTNAME, npm_package_name, and npm_config_registry to a hardcoded IP address. The package exports no functional JavaScript code, indicating its sole purpose is to confirm installation in victim environments and disclose internal npm registry URLs to a third party.

References

Community reviews

Loading reviews…