MAL-2026-13947

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/date-fmt-utils-helper/MAL-2026-13947.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13947
Published
2026-08-13T17:15:48Z
Modified
2026-08-13T17:30:14.033572200Z
Summary
Malicious code in date-fmt-utils-helper (npm)
Details

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

Source: amazon-inspector (4ae88f68f30ebd69a595537393ce95c4ce5e543b558572769fa2c608fa1b1b0d)

The package presents itself as a date-formatting utility, but its index.js is a trivial cover and a source comment explicitly labels the library as a disguise. The package.json postinstall hook runs node postinstall.js on npm install, which opens a TCP connection to the hardcoded remote host 8.135.48.40:4444 and pipes /bin/sh stdio over the socket, with bash -i >& /dev/tcp/... and python3 pty.spawn fallbacks, giving the remote party interactive shell access on the installer's machine at install time. On failure the script beacons error details via HTTP GET to http://8.135.48.40/shell/failed and /shell/error, confirming the destination is attacker-controlled command-and-control infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-13T17:24:45.349696053Z",
            "sha256": "4ae88f68f30ebd69a595537393ce95c4ce5e543b558572769fa2c608fa1b1b0d",
            "modified_time": "2026-08-13T17:15:48Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017635",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / date-fmt-utils-helper

Package

Name
date-fmt-utils-helper
View open source insights on deps.dev
Purl
pkg:npm/date-fmt-utils-helper

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/date-fmt-utils-helper/MAL-2026-13947.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "6da6821e4a53bdd6c0e40a6f81a0491b98031c5444cf7582b3ec40c08e4718a2",
            "path": "postinstall.js",
            "tlsh": "9811ebe905fad07caf7b247866bfa426211342077819eee4b8ce0b03af125680c123a1"
        },
        {
            "sha256": "724028717cf7d5d93d5542907b905ed89cac57d01a24ca318a46c81a47fa02d3",
            "path": "package.json",
            "tlsh": "7ee0c2368a419d336af446a95e660a06fa109f1f12280c0b70b7654c83a3ab284ae709"
        }
    ],
    "package_integrity": [
        {
            "filename": "date-fmt-utils-helper-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-ohY02mqAHhlkAO6V+CZCzc4Txn3ULGvpRLCMLEk6jn7ZZ9c9YQ0qD6Q0xWo8UZDGnBNN1anupAv9R8bXU39nhw==",
                "sha1": "81ff7782b5a63d4d0d5c56e041100188db05bc57"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]