-= Per source details. Do not edit below this line.=-
date-fmt-helper-xz ships a postinstall.js that runs automatically on npm install. The script opens a TCP connection to the hardcoded remote host 8.135.48.40 on port 4444 and pipes /bin/sh stdio over the socket, granting the remote party interactive shell access on the installer's machine. Bash /dev/tcp and python3 pty.spawn fallbacks are included to maximize the chance the shell succeeds across environments. On failure of the shell paths, the script issues an HTTP GET to http://8.135.48.40/shell/failed and /shell/error with the error message, confirming the same host as attacker command-and-control. The package advertises date formatting; the reverse shell is unrelated to any legitimate functionality.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-13T17:24:45.410047058Z",
"sha256": "b384650ec0fabdd01a7dfc513cccd25156611a04c17ba0c435b950ddb9215777",
"modified_time": "2026-08-13T17:16:06Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-017637",
"versions": [
"1.0.4"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/date-fmt-helper-xz/MAL-2026-13946.json"
{
"evidence_files": [
{
"sha256": "6da6821e4a53bdd6c0e40a6f81a0491b98031c5444cf7582b3ec40c08e4718a2",
"tlsh": "9811ebe905fad07caf7b247866bfa426211342077819eee4b8ce0b03af125680c123a1",
"path": "postinstall.js"
}
],
"package_integrity": [
{
"filename": "date-fmt-helper-xz-1.0.4.tgz",
"hashes": {
"sha1": "2f8c3568222ea92fd0674adfa7ae423bd697a0ee",
"sha512_sri": "sha512-qbAw4z/0/RbrULoAD8wkNyOylP50WAzItrcYb15Cc8MVW6DW2Ar7lWFS9vkHZTsujZN2w2s1YOYyaNXqxaKp2w=="
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]