{"id":"MAL-2026-12194","revision":"574b4c78b8194798a6dbb94596986ed1","records":[{"revision":"574b4c78b8194798a6dbb94596986ed1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12194","aliases":[],"title":"Malicious code in simple-date-formatter-new-2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1a752053edcc35b1de91b1eb5bb0a8b18e22ac32120f4b8871ecf84c3c4aec54)\nThe package presents itself as a trivial date-formatting utility (index.js exports a one-line wrapper around toLocaleDateString), but its package.json postinstall script runs a shell pipeline that probes sandbox and host state (tmpfs mount capability, bind-mount of /home/work, /proc/self/attr/current, LSM/AppArmor info, cgroups layout, /proc/partitions, and a listing of /home/work) and POSTs the combined output via curl to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo6, an interactsh/OAST out-of-band callback domain. The tarball additionally ships postinstall.js, which reads the installer's ~/.ssh directory, packages the filenames together with the local username and platform, and POSTs the JSON over HTTPS to the hardcoded IP 124.221.154.135:443/post; Chinese-language comments in that file describe stealing SSH keys and sending them to a C2. The benign facade contradicts the install-time behavior and the shipped stealer module.\n","state":0,"publishedAt":"2026-08-05T08:48:24+00:00","modifiedAt":"2026-08-05T10:06:17.7829202+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-new-2","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-new-2/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12194","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12194","identifiers":["MAL-2026-12194"]},"retained":false,"historicalAffected":[]}],"coverage":[]}