MAL-2026-11502

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-1/MAL-2026-11502.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11502
Published
2026-08-03T16:30:40Z
Modified
2026-08-04T22:05:13.897438137Z
Summary
Malicious code in simple-date-formatter-new-1 (npm)
Details

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

Source: amazon-inspector (628527c388185356d23a8905edf240a32c062afb06c00a58c0101ffd4bcc5182)

On npm install, the package.json postinstall hook executes a shell one-liner that attempts to mount the host block device via mknod, enumerates /etc/kubernetes and kubelet pod directories, reads the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token, lists home directory contents, and POSTs the collected output to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo4 (an interact.sh OAST callback subdomain). A sibling postinstall.js in the tarball reads the installer's ~/.ssh directory via getSSHKeys() and POSTs a JSON payload containing SSH contents, username, and platform to hardcoded IP 124.221.154.135 on port 443. The package advertises itself as a date formatter but ships no such functionality; its only effect on install is host reconnaissance and credential exfiltration.

Source: ossf-package-analysis (037638085662ef2cec04655349a528b60480aa642606d96eba158e62161b3a51)

The OpenSSF Package Analysis project identified 'simple-date-formatter-new-1' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-08-03T17:18:16.855282519Z",
            "sha256": "037638085662ef2cec04655349a528b60480aa642606d96eba158e62161b3a51",
            "modified_time": "2026-08-03T16:30:40Z",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-08-04T21:33:13.631277844Z",
            "modified_time": "2026-08-04T21:19:36Z",
            "sha256": "628527c388185356d23a8905edf240a32c062afb06c00a58c0101ffd4bcc5182",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011012",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / simple-date-formatter-new-1

Package

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

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "simple-date-formatter-new-1-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-4Iw4qgxuFvKIN8+/9jlxSGWhLuyrtELpPym6yx23dRIM758j9biNaT90sEqTiPEwYX6HOKE2+At9Kz29nXipAA==",
                "sha1": "c366720e255b9b934e248288338ea3a1e9c37a8e"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "6911e141f5508e735ecdc9a42c170348b9c2780f1a1a3d1ce5c79a38a19c6f2c4b9f4b",
            "sha256": "e068eb990db1adbab4e4e18609165339dc6040533259cc93c9119e8466b483b9",
            "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-new-1/MAL-2026-11502.json"