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

目标: 1000 元 · 已筹: 1359 元

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

simple-date-formatter-util-12

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

Summary

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

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
100
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsimple-date-formatter-util-121.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T08:49:14Z","published":"2026-08-05T08:49:14Z","schema_version":"1.7.4","id":"MAL-2026-12201","summary":"Malicious code in simple-date-formatter-util-12 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cdd747d615be16a4af8508b6151d829c49f8ba2e1d045b8c1cbc9d8f2f219de9)\npackage.json declares a postinstall script that, on npm install, collects installer reconnaissance (id, hostname, uname, cgroups, docker.sock, Linux capabilities, the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token, mounts, network config, ARP, PID1 cmdline, and environment variables filtered for kube/aws/token/secret/key/pass/role/region/cluster) and POSTs the collected data over plain HTTP to a Project Discovery interact.sh subdomain (http://ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun/escinfo). The tarball also ships postinstall.js which enumerates the user's ~/.ssh directory and POSTs the contents plus username/platform to a hardcoded IP (https://124.221.154.135/post). The advertised functionality is a one-line formatDate wrapper around toLocaleDateString in index.js, which serves only as a cover for the malicious install-time payload.\n","affected":[{"package":{"ecosystem":"npm","name":"simple-date-formatter-util-12"},"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"90f05e93e1496c4267ff558059c350b72c33437d2f11d03b1f0526fa1ef9f655","tlsh":"1111ef69f8349c233edd89f97c4a1216fc858e1f0e562c0c75cbe434624d9d9446d699"},{"path":"postinstall.js","sha256":"f2be6940c08d36a7f1ce83d5fe16fefd8c14edda5d124e0f6406725beb5020ef","tlsh":"273165d558f9cd3007778685639b91263102fe13650ee940f3c807a51fe9a5449f2dee"},{"path":"index.js","sha256":"1d5404dbbd7f6a35142bc11e276bcff7b334f927a198399e6b0d9aa09ecfd098","tlsh":"8cc08c94a716b2866326122096a74100be5cc2300b9a6a62b88ec0c00144c12805ef8c"}],"package_integrity":[{"filename":"simple-date-formatter-util-12-1.0.0.tgz","hashes":{"sha1":"4b95cf777b406a4760058ff6f56dba8790c01f20","sha512_sri":"sha512-9qB3Ypi9ktE5IkJWWbRS5ucjzptUp/OvzsmDLSZtRS1fWIBUU503roli5kUVdxuROzDFisVQ28cbDAh0YA6WFQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/simple-date-formatter-util-12/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014430","import_time":"2026-08-05T09:28:10.114898047Z","modified_time":"2026-08-05T08:49:14Z","sha256":"cdd747d615be16a4af8508b6151d829c49f8ba2e1d045b8c1cbc9d8f2f219de9","source":"amazon-inspector","versions":["1.0.0"]}]}}

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