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

目标: 1000 元 · 已筹: 1336

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

datefmt-core-utils

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

Summary

Malicious code in datefmt-core-utils (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdatefmt-core-utils1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-14T14:12:26Z","published":"2026-08-14T14:12:26Z","schema_version":"1.7.4","id":"MAL-2026-14031","summary":"Malicious code in datefmt-core-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (360a94a10ce13edded9e4a99c7c01de1ebfdd73a9af4ec49260f2cec165a609b)\nThe package advertises itself as a date-formatting utility but ships a postinstall.js that npm auto-executes on install via scripts.postinstall. postinstall.js opens a TCP connection to the hardcoded remote 8.135.48.40:4444 and wires /bin/bash stdio to that socket, giving the remote endpoint an interactive shell on the installer's machine. Three redundant methods are attempted (python3 pty.spawn, python3 subprocess, and Node net+child_process.spawn of '/bin/bash -i'). The index.js date-formatting code is a cover story unrelated to the postinstall payload.\n","affected":[{"package":{"ecosystem":"npm","name":"datefmt-core-utils"},"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":"postinstall.js","sha256":"26fcaa78b7a6707b39d80122863ca90e2e7d39302810c1c209f9a1e0f327cff3","tlsh":"f911edf553ebe238efba20b4786e906336a393032782dad8341e47019f535540c92ae1"}],"package_integrity":[{"filename":"datefmt-core-utils-1.0.0.tgz","hashes":{"sha1":"413867c05647bbb16037f2af15cc0c3427395341","sha512_sri":"sha512-hvZBQRZyTceFZ71HT/apoUh7nfMLmAsxRdKem5iy21tQgadfzKhvQDARn26pDDaCF3ELL5nyg0WociATDLVg0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/datefmt-core-utils/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017762","import_time":"2026-08-14T14:28:07.005680843Z","modified_time":"2026-08-14T14:12:26Z","sha256":"360a94a10ce13edded9e4a99c7c01de1ebfdd73a9af4ec49260f2cec165a609b","source":"amazon-inspector","versions":["1.0.0"]}]}}

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