-= Per source details. Do not edit below this line.=-
simple-date-formatter-new-10@1.0.0 presents itself as a trivial date-formatting utility but ships two attack payloads that fire when npm installs the package. The package.json postinstall script opens an interactive bash reverse shell over /dev/tcp to 124.221.154.135:4444, giving the publisher remote command execution on the installer's host. A bundled postinstall.js reads the installer's ~/.ssh directory and POSTs its contents together with username and platform to https://124.221.154.135/post, the same C2 endpoint. The advertised date-formatting API (index.js exporting formatDate) is a cover story for the reverse-shell and SSH-key-theft payloads.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017229",
"import_time": "2026-08-10T12:24:44.057145262Z",
"sha256": "c1cc0707c5a58067075648ef1c040ceeb07c2550b9f06d53b5c8c41ec167c841",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"modified_time": "2026-08-10T11:53:39Z"
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"path": "package.json",
"tlsh": "c1e07d40cd208c7326c185bd855285026b18ee1f00003d0db39b1609a79fe7355fc70e",
"sha256": "5d17ead0cfd3f403ba2b3dd92a1a4713ecc159c7af346c0c2373cde4b44118ef"
},
{
"path": "postinstall.js",
"tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee",
"sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef"
}
],
"package_integrity": [
{
"filename": "simple-date-formatter-new-10-1.0.0.tgz",
"hashes": {
"sha1": "5f1762fc3e8d99f0f7653ecce53fa07d3c60ce76",
"sha512_sri": "sha512-JFRe2l95Y6b7mr98e9yjIbGRGZHYghkDFNeamdoClnF40lbwehrW9ZYe9x6q5s3hiEWuoIFgo8rrOWoKRLXFTA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-10/MAL-2026-13697.json"