{"id":"MAL-2026-10700","revision":"91cfeaa39e73461c9d8a4b6e4dd0dac3","records":[{"revision":"91cfeaa39e73461c9d8a4b6e4dd0dac3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10700","aliases":[],"title":"Malicious code in time-format-kit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (168d334d742003cf94d8b87ba56cd72694081ade01f6814062e58ebdc47d8594)\nOn npm install, the package's postinstall script decodes base64-encoded shell payloads and executes them via an obfuscated child_process.exec lookup (require('ch'+'il'+'d_p'+'rocess')['e'+'xec']). The shell payload reads ~/.aws/credentials, ~/.ssh/id_rsa, ~/.ssh/authorized_keys, ~/.ssh/known_hosts, ~/.bash_history, the full process environment, and host identifiers (hostname, whoami, id, sudo -l), then POSTs the base64-encoded contents over plain HTTP to a hardcoded Burp Collaborator subdomain at pwpzhsrbtvmfqrqr7onqcwnrcii960up.oastify.com. Additional payloads issue curl requests through the installer host to http://tst.woa.com/flag.html and http://tst.woa.com/ssrf_forward.php with an oastify-subdomain host parameter, and POST the response bodies back to the same collaborator endpoint, using the installer as an SSRF relay. The package name ('time-format-kit') has no functional relationship to the observed behavior.\n\n## Source: ossf-package-analysis (013929714a8a46ad664ac923c9ce315df1b9351993cc7d2d06a325d8f0c49009)\nThe OpenSSF Package Analysis project identified 'time-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-16T14:26:20+00:00","modifiedAt":"2026-07-16T19:20:01.0845775+00:00","affected":[{"ecosystem":"npm","name":"time-format-kit","ranges":[],"versions":["1.0.2","1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/time-format-kit/v/1.0.0","https://www.npmjs.com/package/time-format-kit/v/1.0.2","https://www.npmjs.com/package/time-format-kit/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10700","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10700","identifiers":["MAL-2026-10700"]},"retained":false,"historicalAffected":[]}],"coverage":[]}