MAL-2026-12203

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-util-14/MAL-2026-12203.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12203
Published
2026-08-05T08:48:49Z
Modified
2026-08-05T10:06:21.810960385Z
Summary
Malicious code in simple-date-formatter-util-14 (npm)
Details

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

Source: amazon-inspector (043fc72acaebb0b8e96a80ee338611c81567284213ea047911a851d3f00dcc46)

package.json declares a postinstall lifecycle script that runs a shell pipeline enumerating /home/work directory contents, probing the internal Kubernetes API server, and reading /proc namespace/mount/capability info, then POSTs the collected output to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo3 (an interact.sh OAST collector). The tarball also ships postinstall.js, which enumerates the installer's ~/.ssh directory via os.homedir() and POSTs the file listing plus user/platform info to a hardcoded bare-IP endpoint https://124.221.154.135/post. Neither behavior is related to the package's stated date-formatting purpose, and both fire on npm install.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T08:48:49Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014427",
            "import_time": "2026-08-05T09:28:09.836595095Z",
            "sha256": "043fc72acaebb0b8e96a80ee338611c81567284213ea047911a851d3f00dcc46",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / simple-date-formatter-util-14

Package

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

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "simple-date-formatter-util-14-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-JSvnu6X1RBgmX0VATYgZN1fesRJoP8pvVS1mBDh4TkE7wlV3LWryk4WVW0sawC+b8SzH0U4cVd0V54RdVF0mZQ==",
                "sha1": "758d3f5b5798d82c2990774dfd2ba9da17e73e4b"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "2011ce99f610ddb32ecdc5c4581b0386fcd2854f1e652c0c91cbaa6ca3c5de740bda9a",
            "sha256": "d74ba754dcfc5585c9133746a0ec3e8b1d8dbbc3c8f9fbac820ad06e015a2b88",
            "path": "package.json"
        },
        {
            "tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee",
            "sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef",
            "path": "postinstall.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-util-14/MAL-2026-12203.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]