VYPR

npm · Malicious package advisory

Malware

ksp-app

GHSA-2f2f-3rf8-8fgc

Malicious code in ksp-app (npm)

Details

**Severity:** Critical

**Affected versions:** `= 100.100.100`

## Source: amazon-inspector (b14a9fbd9fc1a48dc3ac0498f9606cecb1a56bad912c7f8a818fad332ef9ad15)
[email protected] is a dependency-confusion-shaped npm package whose only payload is an opaque prebuilt Linux x64 native addon loaded at install time. package.json declares scripts.postinstall="node postinstall.js", which require()s prebuilds/linux-x64/addon.node. The tarball ships no C/C++ source, no binding.gyp, and no build tooling; index.js exports an empty object, so the entire package behavior is in the native binary. On load, the ELF addon reads the environment variables HOSTNAME, npm_package_name, and npm_config_registry and POSTs them over a raw socket to the hardcoded bare-IP endpoint http://64.181.165.115/dc (HTTP/1.0, Host: 64.181.165.115, format string h=%.40s&p=%.40s&u=%.20s&r=%.80s). The version string 100.100.100, inert JS stub, generic "Frontend utilities" description, and a beacon that reports the installer's configured npm registry are the signature of a dependency-confusion exfiltration package used to confirm installs inside victim environments and disclose internal registry URLs to a third party.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/ksp-app/MAL-2026-17770.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/ksp-app/MAL-2026-17770.json
- https://www.npmjs.com/package/ksp-app/v/100.100.100
- https://github.com/advisories/GHSA-2f2f-3rf8-8fgc

Compromised versions (1)

  • = 100.100.100

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.