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

目标: 1000 元 · 已筹: 1359 元

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

figlet-chalk-render

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

Summary

Malicious code in figlet-chalk-render (npm)

安装阶段执行
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
243
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmfiglet-chalk-render1.0.0
npmfiglet-chalk-render1.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17226","published":"2026-09-28T18:07:55Z","modified":"2026-09-30T05:21:35.968418343Z","summary":"Malicious code in figlet-chalk-render (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d5ccd0a988525d8128b520a46c4271e26ae5fe2f99accf28f37d4c7370b66de4)\nOn every `require('figlet-chalk-render')`, a top-level IIFE queries `https://registry.npmjs.org/figlet-chalk-render/latest` and, if a newer version exists, spawns `npm install figlet-chalk-render@<latest>` with cwd set to `path.join(__dirname, '..', '..')` (the consumer project's root) and stdio ignored. The `https`, `child_process`, and `path` core-module names are loaded via hex-escaped string literals (`'\\x63\\x68\\x69\\x6c\\x64\\x5f\\x70\\x72\\x6f\\x63\\x65\\x73\\x73'`, etc.) rather than plain identifiers, deliberately hiding the sensitive requires backing the auto-update. The behavior is undocumented in the README. Every consumer that imports the module receives whatever the latest published version happens to be at that moment, executed with the installer's npm privileges and lifecycle scripts, giving anyone who later controls this package name a silent code-execution channel into every installer's project tree. The hex-obfuscation of the module names is anti-evasion and rebuts a benign-self-update reading: legitimate insecure-update code does not disguise `require('child_process')`.\n","affected":[{"package":{"name":"figlet-chalk-render","ecosystem":"npm"},"versions":["1.2.1","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":"index.js","sha256":"b07a748c696cdd82d0e1b600e32a8539eedfb6511556c9817770e06d3ac36e61","tlsh":"0041d006b9fb71310177b0e2a317542a2256e90332c9c2e07b9d9359afca235e5d36dc"}],"package_integrity":[{"filename":"figlet-chalk-render-1.2.1.tgz","hashes":{"sha1":"fb61281c5aa920799c26e5ac55efb0c68cc9970a","sha512_sri":"sha512-47jYuE2NQLtCPLZaXzh2hE6QNXhLojy58//4b3CKvDmWdPaveUVDCAJWLdIwNVtn9VkH7XSO+rxnYiFtSooZAg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/figlet-chalk-render/v/1.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/figlet-chalk-render/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020607","import_time":"2026-09-28T18:24:40.544400227Z","modified_time":"2026-09-28T18:07:55Z","sha256":"992cf49b88be09149971d4ac18fe2a4b61d242186f553cb3283a26970b886d7f","source":"amazon-inspector","versions":["1.2.1"]},{"id":"IN-MAL-2026-020818","import_time":"2026-09-30T05:19:46.619362772Z","modified_time":"2026-09-30T05:13:52Z","sha256":"d5ccd0a988525d8128b520a46c4271e26ae5fe2f99accf28f37d4c7370b66de4","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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