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

目标: 1000 元 · 已筹: 1359 元

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

chromatitle

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

Summary

Malicious code in chromatitle (npm)

AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmchromatitle1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-25T02:32:12Z","published":"2026-09-25T02:32:12Z","schema_version":"1.7.4","id":"MAL-2026-17173","summary":"Malicious code in chromatitle (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (793cf7eb2b4de9c41e229fc89c393e38f05141991762f69f310e1397fa464f9c)\nchromatitle advertises itself as an ANSI color/title formatting library but its main entry src/index.js unconditionally calls _bootstrap() at top level, transferring control to src/utils/bootstrap.js. bootstrap.js is a ~51KB javascript-obfuscator artifact (rotated string array, RC4-style decoder, self-defending IIFE, hex-mangled identifiers such as _0x59ef48/_0x4c3a73/_0xbac3ae) that imports https.get and child_process.execFile and consumes a getSystemInfo helper returning the host platform (windows/linux/macos/freebsd/sunos). The combination of import-time execution, platform-gated branching, remote HTTPS fetch, and subprocess execution inside a file whose contents are deliberately concealed matches the fetch-and-execute dropper shape. A terminal color/title formatter has no functional need for child_process or outbound HTTPS at import time, and the obfuscation hides the destination host and the command handed to execFile. Any downstream package that requires or imports chromatitle triggers this loader on load.\n","affected":[{"package":{"ecosystem":"npm","name":"chromatitle"},"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":"src/utils/bootstrap.js","sha256":"f7d816bb261b3bf4f570d7acd4f70e7369685ff44ab0bf30b05374fd85ffde9c","tlsh":"11338d9476c1e80366ce0b63ff16b9e9e12fa8b175c8a407c264b99db4b8107c5b4df4"}],"package_integrity":[{"filename":"chromatitle-1.0.0.tgz","hashes":{"sha1":"14e2f37fcc6a200a411b42a728392bb2dc37821a","sha512_sri":"sha512-3dl6JqZI7q6749H1II5/ffnRLhzBlB0W1B2i4HaawRmG32KTsYv5im2MHp4rBlJsVEVCqYVmRUBArOrq+OSy/w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/chromatitle/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020521","import_time":"2026-09-25T02:45:28.154142798Z","modified_time":"2026-09-25T02:32:12Z","sha256":"793cf7eb2b4de9c41e229fc89c393e38f05141991762f69f310e1397fa464f9c","source":"amazon-inspector","versions":["1.0.0"]}]}}

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