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

目标: 1000 元 · 已筹: 1359 元

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

twcompose-utils

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

Summary

Malicious code in twcompose-utils (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtwcompose-utils0.7.6
npmtwcompose-utils0.7.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:05Z","published":"2026-07-06T18:59:37Z","schema_version":"1.7.4","id":"MAL-2026-6899","aliases":["GHSA-pc7p-pxpj-3cw5"],"summary":"Malicious code in twcompose-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (096d151917a14021013de8dbd595466944a677be49ee8ca4b3ed94de63d85cd9)\nThe package's main entry point src/index.js contains heavily obfuscated JavaScript at line 138 using a classic string-array shuffle pattern (while(!![]) loop with repeated ['shift']() calls and hex-encoded indices like 0x144, 0x151). Obfuscation of a top-level module is suspicious because it conceals the actual runtime behavior from reviewers; it is also a common shape for legitimate-but-protected commercial code. Without a deobfuscated trace of the control flow, intent cannot be confirmed — there is no direct evidence in the available signals of network exfiltration, credential access, install-time fetch-and-execute, or other concrete installer-harm mechanisms. Routing to human review so a reviewer can deobfuscate src/index.js and determine whether the hidden code performs exfiltration, dropper, or silent-relay behavior versus benign protected logic.\n\n## Source: ghsa-malware (f7343cf823749e49d695e0bb3994098d181d26e6005e2c2dc2dadc45cae2ee33)\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":{"ecosystem":"npm","name":"twcompose-utils"},"versions":["0.7.7","0.7.6"],"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"}],"indicators":{"evidence_files":[{"path":"src/index.js","sha256":"8a4c8d344201609a943d734564389ed54c7e8da1ccc5787873d78b0eabfad5ac","tlsh":"9482e8c436d2b0a0527712731b9b90e9e23998c3780d788bf17cb28dbf1866cd7a5919"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pc7p-pxpj-3cw5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twcompose-utils/v/0.7.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twcompose-utils/v/0.7.6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"f7343cf823749e49d695e0bb3994098d181d26e6005e2c2dc2dadc45cae2ee33","import_time":"2026-07-06T19:53:47.974234651Z","id":"GHSA-pc7p-pxpj-3cw5","modified_time":"2026-07-06T18:59:37Z","versions":["0.7.7","0.7.6"]},{"source":"amazon-inspector","sha256":"096d151917a14021013de8dbd595466944a677be49ee8ca4b3ed94de63d85cd9","import_time":"2026-07-09T16:20:50.36352571Z","id":"IN-MAL-2026-009196","modified_time":"2026-07-09T15:42:22Z","versions":["0.7.7"]},{"source":"amazon-inspector","sha256":"4a7ac7b9adc8c89251291fa9d29ed01b75b46bde2f490c102a82acddfa36fc9c","import_time":"2026-07-09T16:20:50.131679644Z","id":"IN-MAL-2026-009194","modified_time":"2026-07-09T15:42:07Z","versions":["0.7.6"]}]}}

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