MAL-2026-11546

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

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

Source: amazon-inspector (e3c4633742f36d29ca968a2ce71c97cb81e9cb2d2c76738742bb39de671cb115)

Package advertises a trivial formatDate utility but ships a malicious npm postinstall hook. The postinstall script launches a backgrounded interactive bash reverse shell via /dev/tcp/124.221.154.135/4444, granting a remote party shell access on the installer's host at install time. A companion postinstall.js reads the installer's ~/.ssh directory listing along with OS username/platform information and POSTs it over HTTPS to the same hardcoded IP (124.221.154.135:443, path /post). The advertised formatDate export in index.js is a decoy; the package name pattern and empty author metadata are consistent with a typosquat/decoy lure whose sole functional effect is install-time compromise of the installer machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-04T22:30:11.733157595Z",
            "modified_time": "2026-08-04T22:07:28Z",
            "sha256": "e3c4633742f36d29ca968a2ce71c97cb81e9cb2d2c76738742bb39de671cb115",
            "id": "IN-MAL-2026-011340",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / simple-date-formatter-util-6

Package

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

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-zam9rHJu1GkUBD7zyvQzIl8OWOc90Vsf1uZ3rb6iqZ/hgOY3gLGkUO1m7xn97HULhYBhSbwV427DMD+SlhWY7w==",
                "sha1": "a2536294aa0ef2afb2165bdff1dc3bc64af112da"
            },
            "filename": "simple-date-formatter-util-6-1.0.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "fc6bb6ac7be9b0492ed1b9a6a7454a7d62673feaccfa3d83aa8b3fdac8174fb2",
            "tlsh": "47e0c640ce208c3337d886bc9a568512aa159e1b002c3c0ab3cb2208a38fab344bc70e"
        },
        {
            "path": "postinstall.js",
            "sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef",
            "tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-util-6/MAL-2026-11546.json"