-= Per source details. Do not edit below this line.=-
Package advertised as a date-formatting utility performs supply-chain attack behavior. package.json declares a postinstall shell one-liner that, on npm install, collects kernel version, IP addresses, Kubernetes API probes, cloud instance metadata (AWS 169.254.169.254 and Alibaba 100.100.100.200), an internal /24 TCP scan, ARP/DNS data, and a listing of /var/run/secrets/kubernetes.io/serviceaccount/, then POSTs the aggregated output via curl to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo9. The main module (index.js) additionally enumerates ~/.ssh for key files on require() and issues an HTTPS POST containing the directory listing plus username and platform to hardcoded IP 124.221.154.135:443/post. The advertised formatDate export is a trivial cover for the exfiltration code paths.
{
"malicious-packages-origins": [
{
"source": "amazon-inspector",
"modified_time": "2026-08-04T22:05:23Z",
"sha256": "204253c08cc90b592f9c086ada633879141aee2bdf27e7286007c709f3b866ab",
"id": "IN-MAL-2026-011326",
"versions": [
"1.0.0"
],
"import_time": "2026-08-04T22:30:11.06936734Z"
}
]
}[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-IbE1yMMMGyXoalQPvl8rWhltIx7mHHM7E8rt1IUZRbQ1TBG6nnhJwfsj17cs3LrLzW/3IHBjP+cM7TG3/EyzfA==",
"sha1": "90cb2d0e3ea44253400435aca5ad26d7796a7d94"
},
"filename": "simple-date-formatter-new-5-1.0.0.tgz"
}
],
"evidence_files": [
{
"path": "package.json",
"sha256": "965ce6eabe579444ceffd11e37f9dbb1276312d03ee79ad4b018f053f1dd129b",
"tlsh": "e9210c98f060ac33af8dda19de23168bb647948f1eb53d1cc5c38c2c864cbe1157c665"
},
{
"path": "index.js",
"sha256": "1d5404dbbd7f6a35142bc11e276bcff7b334f927a198399e6b0d9aa09ecfd098",
"tlsh": "8cc08c94a716b2866326122096a74100be5cc2300b9a6a62b88ec0c00144c12805ef8c"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-5/MAL-2026-11543.json"