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

目标: 1000 元 · 已筹: 1359 元

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

logform-core

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

Summary

Malicious code in logform-core (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
122
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmlogform-core*
npmlogform-core3.1.0
npmlogform-core3.2.0
npmlogform-core3.3.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11328","published":"2026-07-30T16:07:02Z","modified":"2026-08-05T06:02:55.031068328Z","aliases":["GHSA-f2wx-p6h3-rgg2"],"summary":"Malicious code in logform-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1ec6c47e9e94b571242404a22ce01e255dc1df012c3d13477b5d2db9a96a037c)\nPackage name 'logform-core' is one edit/suffix away from the widely-used 'logform' logging-format library, and the README advertises formatting utilities (formatCurrency, roundDecimal) consistent with that naming. However, the only actual export in index.js is computeBoundedFraction, a Kelly-criterion-style betting stake calculator unrelated to either the README or the package name. There is no network I/O, no credential access, no lifecycle scripts, and no obfuscation in this version — installing the package does not run code that harms the installer. The name/API/README mismatch is a typosquat-shape signal worth human adjudication: it could be a confused/abandoned placeholder, an unrelated package with a coincidentally similar name, or a name-squat setup awaiting a future malicious version. Name-similarity alone, without an installer-harm payload, is not sufficient for an auto-block.\n\n## Source: ghsa-malware (4e18f24df37ad0cd0ddd311e006738521585804f186b83c814cbbc3af20aecff)\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":"logform-core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.2.0","3.1.0","3.3.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"},{"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":"index.js","sha256":"47762cbc013c5f8a0dea22fc513767ecfbba87955733fd2221098e7c524b6d2d","tlsh":"cef044c8e0777526cab7223143ab0290faae1447900611a136f3d8fe1f23494a2e695f"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f2wx-p6h3-rgg2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/logform-core/v/3.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/logform-core/v/3.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/logform-core/v/3.3.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-f2wx-p6h3-rgg2","import_time":"2026-07-31T01:10:09.630706262Z","modified_time":"2026-07-30T16:07:03Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"4e18f24df37ad0cd0ddd311e006738521585804f186b83c814cbbc3af20aecff","source":"ghsa-malware"},{"id":"IN-MAL-2026-013248","import_time":"2026-08-05T06:00:58.151693792Z","modified_time":"2026-08-05T05:55:38Z","sha256":"c56b840ff0fbbaf197d07511638db31b76600e185d0b4a988cc20848d96566f4","source":"amazon-inspector","versions":["3.2.0"]},{"id":"IN-MAL-2026-012957","import_time":"2026-08-05T06:00:24.355586702Z","modified_time":"2026-08-05T05:13:22Z","sha256":"1ec6c47e9e94b571242404a22ce01e255dc1df012c3d13477b5d2db9a96a037c","source":"amazon-inspector","versions":["3.1.0"]},{"id":"IN-MAL-2026-013001","import_time":"2026-08-05T06:00:29.694640103Z","modified_time":"2026-08-05T05:19:44Z","sha256":"a9ed16b42c92990afda7814f1cdd84a7c4e2d21018466716f13aa5336992d6d4","source":"amazon-inspector","versions":["3.3.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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