{"id":"MAL-2026-17770","summary":"Malicious code in ksp-app (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b14a9fbd9fc1a48dc3ac0498f9606cecb1a56bad912c7f8a818fad332ef9ad15)\nksp-app@100.100.100 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.\n","modified":"2026-10-11T14:30:09.174451920Z","published":"2026-10-11T13:57:22Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["100.100.100"],"id":"IN-MAL-2026-021424","import_time":"2026-10-11T14:18:04.464130662Z","modified_time":"2026-10-11T13:57:22Z","sha256":"b14a9fbd9fc1a48dc3ac0498f9606cecb1a56bad912c7f8a818fad332ef9ad15"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ksp-app/v/100.100.100"}],"affected":[{"package":{"name":"ksp-app","ecosystem":"npm","purl":"pkg:npm/ksp-app"},"versions":["100.100.100"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"prebuilds/linux-x64/addon.node","sha256":"d1ecb9d24c13b9a47b3fc19036fee676e13c65af1df61b8d61bd9ec8aadeb906","tlsh":"c272761bb761c93bc4e853389497466572f2a470777243232f00a17a2cd37889ebbd5a"},{"sha256":"799d6465971c312de46b889c7a66533b51511c59090ddb8f696d400e4ab916f3","tlsh":"ffa002f56aa45290704457d144aaa662e8f3c17d9dc43bc9c8072d77037a56005258e1","path":"postinstall.js"},{"sha256":"315e9ce74b2b274d8d5aa1ed2c9ad58723cb2dd64f467a6b055f2c94239ab321","tlsh":"27c012100e22963338c447aa5d2b550a16720e5f0044b81817a3245541ddbb65cbf31e","path":"package.json"}],"package_integrity":[{"filename":"ksp-app-100.100.100.tgz","hashes":{"sha1":"61fd79e32cb8d820717751fc676540982671707c","sha512_sri":"sha512-qyDSVzwrCb7yE2k+75iMQNRcwDKm23yGbDDHD6WS923UNjGFl4ke8r07hF7w14lmysMWug8PTez3ON3YYGXZaA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ksp-app/MAL-2026-17770.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}