{"id":"MAL-2026-13358","revision":"ad98fd71d172495ea390a9f672cd6b32","records":[{"revision":"ad98fd71d172495ea390a9f672cd6b32","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13358","aliases":[],"title":"Malicious code in app-kst-engine (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08cfc426d2f4b29bba2b81f2eb56eeee32ab114338a51fae5eeced2571e6b2d9)\nOn npm install, package.json's postinstall runs `node test.js`, which triggers three malicious paths against the installer. (1) A recursive scan of the current working directory collects files matching id.json, config.toml, Config.toml, env, and.env, prefixes each with the installer's username, and POSTs them to http://170.205.31.203:3000/api/v1. (2) Scan patterns are fetched from http://170.205.31.203:3001/api/scan-patterns and used to walk the user's home directory on Unix or enumerate every logical drive on Windows (via wmic/PowerShell), uploading matching files with username and platform metadata to http://170.205.31.203:3001/api/v1. (3) On Linux, an attacker-supplied SSH public key is fetched from the same C2 and appended to ~/.ssh/authorized_keys with mode 0o600, then `sudo ufw allow 22/tcp` is invoked to open the firewall, granting persistent remote SSH access. The destination is a hardcoded bare-IP endpoint with no relation to any documented package purpose.\n","state":0,"publishedAt":"2026-08-05T17:22:35+00:00","modifiedAt":"2026-08-05T18:19:49.1922313+00:00","affected":[{"ecosystem":"npm","name":"app-kst-engine","ranges":[],"versions":["2.1.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/app-kst-engine/v/2.1.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13358","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13358","identifiers":["MAL-2026-13358"]},"retained":false,"historicalAffected":[]}],"coverage":[]}