{"id":"MAL-2026-11108","revision":"473a2382c9d9451aaeb4b1eae757f6a1","records":[{"revision":"473a2382c9d9451aaeb4b1eae757f6a1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11108","aliases":[],"title":"Malicious code in string-format-kit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9e41e5ec29fcbb379f86d5a6167b42aec242fede681343996c198b1430e2dffa)\nThe package's postinstall.js lifecycle script executes a shell pipeline via child_process.exec on npm install. The pipeline reads ~/.ssh/id_rsa, ~/.ssh/authorized_keys, ~/.ssh/known_hosts, ~/.aws/credentials, ~/.bash_history, the full process environment, and host reconnaissance output (whoami, hostname, id, sudo -ln, uname, /etc/os-release, /proc/1/cgroup, /.dockerenv, ps aux, ip addr, ls -la /), base64-encodes the aggregate, and transmits it via curl over plain HTTP to a hardcoded Burp Collaborator subdomain at pzs5w7ntzhsnepwk564lyfdci3oucl0a.oastify.com/d. The declared package purpose (string formatting) has no legitimate need to read the installer's SSH private keys or cloud credentials. The name resembles legitimate string-formatting libraries, consistent with typosquatting to lure installations.\n\n## Source: ossf-package-analysis (752f3e4fded6d0546e00af595793134c025fd4afd8ee6d8188e0146a608b1cfb)\nThe OpenSSF Package Analysis project identified 'string-format-kit' @ 1.0.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-07-28T06:27:41+00:00","modifiedAt":"2026-08-05T10:06:28.1533353+00:00","affected":[{"ecosystem":"npm","name":"string-format-kit","ranges":[],"versions":["1.0.2","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/string-format-kit/v/1.0.2","https://www.npmjs.com/package/string-format-kit/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11108","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11108","identifiers":["MAL-2026-11108"]},"retained":false,"historicalAffected":[]}],"coverage":[]}