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

目标: 1000 元 · 已筹: 1359 元

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

simple-date-formatter-util-2

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

Summary

Malicious code in simple-date-formatter-util-2 (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsimple-date-formatter-util-2*
npmsimple-date-formatter-util-21.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11485","published":"2026-08-02T17:09:40Z","modified":"2026-08-04T21:35:13.765870124Z","aliases":["GHSA-q43f-5xj6-8v63"],"summary":"Malicious code in simple-date-formatter-util-2 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e2102f256bd17b2a80b2157371bee5a3cc1d9c49484aaef694a094218c2a7bac)\nThe package.json postinstall script runs on every npm install and uses curl to probe cloud instance-metadata services (AWS 169.254.169.254, Alibaba 100.100.100.200, Tencent metadata.tencentyun.com, 169.254.0.23), writes their responses to /tmp, and POSTs the concatenated contents together with a listing of /data/ to an attacker-controlled OAST collector at ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun. Cloud IMDS endpoints return role credentials for the installer's instance, so the beacon exfiltrates cloud credentials on install. The tarball also ships a postinstall.js that enumerates the installer's ~/.ssh directory and POSTs the collected data with username and platform fields to https://124.221.154.135/post. The package advertises date-formatting utility functionality; none of the observed behavior relates to that purpose.\n\n## Source: ghsa-malware (6e2619c38c0a6e4c2bf346194ff3de102d18ef08ddd7c864c4470d17d62837b8)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"simple-date-formatter-util-2","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"5b5c84da6cf0c8b60ca267e4c6ec6cdbaeccf7b2f6906ed2684819f2ec7ef2aa","tlsh":"120170997a11b9721f9a8f69d269030a7500f94b1bd00a05d5e62cf04d8a9a1a069f09"},{"path":"postinstall.js","sha256":"f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef","tlsh":"273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q43f-5xj6-8v63"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/simple-date-formatter-util-2/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-q43f-5xj6-8v63","import_time":"2026-08-02T22:41:05.087804Z","modified_time":"2026-08-02T17:09:44Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6e2619c38c0a6e4c2bf346194ff3de102d18ef08ddd7c864c4470d17d62837b8","source":"ghsa-malware"},{"id":"IN-MAL-2026-011019","import_time":"2026-08-04T21:33:13.883326107Z","modified_time":"2026-08-04T21:20:37Z","sha256":"e2102f256bd17b2a80b2157371bee5a3cc1d9c49484aaef694a094218c2a7bac","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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