-= Per source details. Do not edit below this line.=-
package.json declares a postinstall lifecycle script that pipes a string-reversed shell one-liner through rev | bash, decoding to a bash reverse shell that opens /dev/tcp/124.221.154.135/4444 and attaches an interactive shell to it. This gives the publisher remote code execution on the installer's host at npm install time. The tarball also ships postinstall.js, which enumerates the installer's ~/.ssh directory, collects the filenames along with username and platform, and POSTs the JSON to https://124.221.154.135/post — direct exfiltration of SSH key material to the same hardcoded IP that receives the reverse shell. The obfuscation of the postinstall payload via string reversal and the mismatch between the package's advertised purpose (a date formatter) and its actual install-time behavior confirm malicious intent.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020512",
"import_time": "2026-09-24T13:42:12.983267294Z",
"modified_time": "2026-09-24T13:18:10Z",
"sha256": "5e57e9eff2fae987a2a23e3107d64c818e020b03380e31d6a3ae9cf8d4eb14ec",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "package.json",
"sha256": "d5d79da80e4c6575e9c290ba125e1c016efa14db3b18d42967285a827c2b987f",
"tlsh": "68e02684ce2098731ac682b948564557bb58ae4b45153c19324b141c839fbb39dfc34e"
},
{
"path": "postinstall.js",
"sha256": "f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef",
"tlsh": "273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"
}
],
"package_integrity": [
{
"filename": "simple-date-formatter-new-16-1.0.0.tgz",
"hashes": {
"sha1": "9af16e301c7e58bd5de7d12ee95ede4fe0788fb6",
"sha512_sri": "sha512-3kal5oEDxCbnumlU6PZbdvxNCdOBrWgGluQe7U19mADfmpsyGSWJ8bM/4IOeudrrwdKIwLmPDoSRwd3CCMsAFg=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simple-date-formatter-new-16/MAL-2026-17162.json"