{"id":"MAL-2026-13947","revision":"90005dc22ad64bc6aff8d1d2d2b2eef7","records":[{"revision":"90005dc22ad64bc6aff8d1d2d2b2eef7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13947","aliases":[],"title":"Malicious code in date-fmt-utils-helper (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4ae88f68f30ebd69a595537393ce95c4ce5e543b558572769fa2c608fa1b1b0d)\nThe package presents itself as a date-formatting utility, but its index.js is a trivial cover and a source comment explicitly labels the library as a disguise. The package.json postinstall hook runs node postinstall.js on npm install, which opens a TCP connection to the hardcoded remote host 8.135.48.40:4444 and pipes /bin/sh stdio over the socket, with bash -i >& /dev/tcp/... and python3 pty.spawn fallbacks, giving the remote party interactive shell access on the installer's machine at install time. On failure the script beacons error details via HTTP GET to http://8.135.48.40/shell/failed and /shell/error, confirming the destination is attacker-controlled command-and-control infrastructure.\n","state":0,"publishedAt":"2026-08-13T17:15:48+00:00","modifiedAt":"2026-08-13T17:30:14.0335722+00:00","affected":[{"ecosystem":"npm","name":"date-fmt-utils-helper","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/date-fmt-utils-helper/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13947","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13947","identifiers":["MAL-2026-13947"]},"retained":false,"historicalAffected":[]}],"coverage":[]}