{"id":"MAL-2026-13698","summary":"Malicious code in simple-date-formatter-new-9 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5000b7987ca50d065efc0f5a3ba7c724cb73ac0e23f54347cff8b30aa6eb5d3b)\npackage.json declares a postinstall script that opens an interactive bash reverse shell to the hardcoded remote address 124.221.154.135:4444 during npm install, granting the operator of that endpoint remote command execution on the installer's host. The tarball additionally ships postinstall.js, which enumerates the installer's ~/.ssh directory and POSTs the file listing along with username and platform information to https://124.221.154.135/post. Both mechanisms target the same hardcoded IP, and the reverse shell fires automatically on npm install.\n","modified":"2026-08-10T12:50:29.950906938Z","published":"2026-08-10T11:53:49Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-017230","import_time":"2026-08-10T12:24:44.302416287Z","modified_time":"2026-08-10T11:53:49Z","sha256":"5000b7987ca50d065efc0f5a3ba7c724cb73ac0e23f54347cff8b30aa6eb5d3b"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/simple-date-formatter-new-9/v/1.0.0"}],"affected":[{"package":{"name":"simple-date-formatter-new-9","ecosystem":"npm","purl":"pkg:npm/simple-date-formatter-new-9"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-9/MAL-2026-13698.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"2bf4e9d2a0999307511faaea8f0f924cf3ff3658c2e4807a8e3b474048d58317","tlsh":"2ee07d00cd208c7326c585bd855385026b18de1f00003d0db39b1609a79fe7345fc30e","path":"package.json"},{"sha256":"f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef","tlsh":"273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee","path":"postinstall.js"}],"package_integrity":[{"filename":"simple-date-formatter-new-9-1.0.0.tgz","hashes":{"sha1":"384371595e6a150c210ad8c55f67ff9b1a7c1bd7","sha512_sri":"sha512-tP/lgSE3iKfW4oZ9eI+05/eV6yBse/Wv7/8azo8GmvokUUCMad7R3/b4sXbTO3yQYTDAcpFiScmprha/li21tg=="}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}