{"id":"MAL-2026-11546","revision":"04701e73dbdc4bf89891f503195edb8c","records":[{"revision":"04701e73dbdc4bf89891f503195edb8c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11546","aliases":[],"title":"Malicious code in simple-date-formatter-util-6 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e3c4633742f36d29ca968a2ce71c97cb81e9cb2d2c76738742bb39de671cb115)\nPackage advertises a trivial formatDate utility but ships a malicious npm postinstall hook. The postinstall script launches a backgrounded interactive bash reverse shell via /dev/tcp/124.221.154.135/4444, granting a remote party shell access on the installer's host at install time. A companion postinstall.js reads the installer's ~/.ssh directory listing along with OS username/platform information and POSTs it over HTTPS to the same hardcoded IP (124.221.154.135:443, path /post). The advertised formatDate export in index.js is a decoy; the package name pattern and empty author metadata are consistent with a typosquat/decoy lure whose sole functional effect is install-time compromise of the installer machine.\n","state":0,"publishedAt":"2026-08-04T22:07:28+00:00","modifiedAt":"2026-08-04T23:05:30.7556769+00:00","affected":[{"ecosystem":"npm","name":"simple-date-formatter-util-6","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/simple-date-formatter-util-6/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11546","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11546","identifiers":["MAL-2026-11546"]},"retained":false,"historicalAffected":[]}],"coverage":[]}