MAL-2026-12199

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

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

Source: amazon-inspector (4f0bf9e4040cf2940b0ca9a9e5cea7def2c660925afd0ba959ed69d28ca007b7)

The package.json postinstall script runs unconditionally on npm install, collecting host and internal-network reconnaissance (kernel version via uname -r, /etc/resolv.conf, hostname -I, /proc/net/route, internal TCP endpoint probes, and Kubernetes API probes against 10.45.196.x /version and /api/v1/namespaces) and POSTs the aggregated output via curl to an attacker-controlled interact.sh OAST collector at http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfoF. A sibling postinstall.js enumerates the installer's ~/.ssh directory and POSTs the contents along with username and platform to a hardcoded remote host at 124.221.154.135:443/post. The declared purpose is a trivial date formatter, which has no legitimate need to read SSH material, enumerate internal networks, or contact OAST infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014422",
            "import_time": "2026-08-05T09:28:09.367240758Z",
            "sha256": "4f0bf9e4040cf2940b0ca9a9e5cea7def2c660925afd0ba959ed69d28ca007b7",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T08:48:09Z"
        }
    ]
}
References
Credits

Affected packages

npm / simple-date-formatter-new-8

Package

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

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "0221bc54e1209c33cbd98a99ce460a87ae5f984f5dfa3d88c4c34f7cd2496a610f92a5",
            "sha256": "c0a1ff88d79aef5d0d7d5adc8962ddd7e32c13710c23be2a5c077a47b29da0ba"
        },
        {
            "path": "postinstall.js",
            "tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee",
            "sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef"
        }
    ],
    "package_integrity": [
        {
            "filename": "simple-date-formatter-new-8-1.0.0.tgz",
            "hashes": {
                "sha1": "b2f143ce50f44899f68c2efbc2f62bf002e681d0",
                "sha512_sri": "sha512-8A0eoUyP8eN9I0lgyfqPYDE0DACnnefoKRzg8FrEkYGnwkzToAvczSeS92vWChDcocMMY6GapbWa0b/aw5HFlA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-8/MAL-2026-12199.json"