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

目标: 1000 元 · 已筹: 1359 元

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

font-hub

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

Summary

Malicious code in font-hub (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
55
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmfont-hub1.5.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-13T14:22:43Z","published":"2026-07-13T14:22:43Z","schema_version":"1.7.4","id":"MAL-2026-10450","summary":"Malicious code in font-hub (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3df3dbd8669e4658a00a698bd8bd233d4c07de13b0f0e5533ca0d456b2ea3cf1)\nindex.js exports a getPlugin() function that performs an HTTPS request to https://svganchordev.net/icons/<token> and passes the response's `credits` field into `new Function('require','module','exports',...,'Promise', data.credits)`, then invokes it with the real `require`, `process`, `Buffer`, and I/O globals. This executes attacker-controlled JavaScript with full Node.js privileges whenever a consumer imports the package and calls its default export. The package presents itself as a React SVG/font helper, but the README content documents an unrelated 'polymarket-clob-api' project, and the declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with browser-credential-store access on Windows. The fetched endpoint is unrelated to any font/SVG CDN; an iconDomain map referencing cloudflare/fastly/akamai and a font-awesome path are decorative and unused by the live code path, which unconditionally targets svganchordev.net.\n","affected":[{"package":{"ecosystem":"npm","name":"font-hub"},"versions":["1.5.2"],"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":"index.js","sha256":"f03baeca30cfcbb5903b1d93435435be75b45695cae2510970d803a09ba7071d","tlsh":"3ac1616546fa31a36a67e4edf30f10027165e3133759e971f48e42902fca568e5f24e8"}],"package_integrity":[{"filename":"font-hub-1.5.2.tgz","hashes":{"sha1":"ddf3ea97a351e29b77031ff3ced032912b912f0c","sha512_sri":"sha512-ysFvjWnigWMRbWg0AU6Udq5tPd5EHumtrZsTD2lwv43JdRvzRxHVAuuYlOzfCNxw7Fjpf0dUe+2AWwyIHg7cTA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/font-hub/v/1.5.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010262","import_time":"2026-07-13T15:30:31.48919101Z","modified_time":"2026-07-13T14:22:43Z","sha256":"3df3dbd8669e4658a00a698bd8bd233d4c07de13b0f0e5533ca0d456b2ea3cf1","source":"amazon-inspector","versions":["1.5.2"]}]}}

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