目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

date-fmt-helper-xz

MAL-2026-13946
2026-08-13 17:16:06
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in date-fmt-helper-xz (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdate-fmt-helper-xz1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-13T17:16:06Z","published":"2026-08-13T17:16:06Z","schema_version":"1.7.4","id":"MAL-2026-13946","summary":"Malicious code in date-fmt-helper-xz (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b384650ec0fabdd01a7dfc513cccd25156611a04c17ba0c435b950ddb9215777)\ndate-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.\n","affected":[{"package":{"ecosystem":"npm","name":"date-fmt-helper-xz"},"versions":["1.0.4"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"6da6821e4a53bdd6c0e40a6f81a0491b98031c5444cf7582b3ec40c08e4718a2","tlsh":"9811ebe905fad07caf7b247866bfa426211342077819eee4b8ce0b03af125680c123a1"}],"package_integrity":[{"filename":"date-fmt-helper-xz-1.0.4.tgz","hashes":{"sha1":"2f8c3568222ea92fd0674adfa7ae423bd697a0ee","sha512_sri":"sha512-qbAw4z/0/RbrULoAD8wkNyOylP50WAzItrcYb15Cc8MVW6DW2Ar7lWFS9vkHZTsujZN2w2s1YOYyaNXqxaKp2w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-fmt-helper-xz/v/1.0.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017637","import_time":"2026-08-13T17:24:45.410047058Z","modified_time":"2026-08-13T17:16:06Z","sha256":"b384650ec0fabdd01a7dfc513cccd25156611a04c17ba0c435b950ddb9215777","source":"amazon-inspector","versions":["1.0.4"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0