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

目标: 1000 元 · 已筹: 1336

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

tcb-web-copy-to-clipboard

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

Summary

Malicious code in tcb-web-copy-to-clipboard (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
254
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtcb-web-copy-to-clipboard*
npmtcb-web-copy-to-clipboard20.1.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12475","published":"2026-08-05T12:29:35Z","modified":"2026-08-25T15:32:18.373943123Z","aliases":["GHSA-3pj2-pfvc-578w"],"summary":"Malicious code in tcb-web-copy-to-clipboard (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e17b4feb97874ea6bf112238baf911ef3ebb815f12034b726c8b1a5d1705adbb)\nThe package advertises itself as a clipboard SDK, but index.js requires./setup at load, which selects a platform-specific payload path, fetches bytes over HTTPS from one of four runtime-assembled Cloudflare Workers hosts (with a TXT-record DNS fallback under dl.well1.site), writes the response to /var/tmp or %TEMP% under a disguised name (Unix:.cache_<hex>; Windows: dotnet_diag_<hex>.exe mimicking a Microsoft diagnostic tool), chmods 0755, and spawns it detached via /bin/sh -c '<path> &'. Both the HTTPS hostnames and DNS domains are assembled by joining split string fragments (e.g. ['oob-worker.','cf101-','adf.workers.de','v'].join('')) to evade static string matching. A cover-story branch checks DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK and writes a.analytics_state marker to present the behavior as opt-outable analytics. A companion lib/telemetry.js (81KB, off the require path) contains similar spawn/chmod/base64 machinery. The fetched executable is unrelated to any clipboard functionality, is unpinned, has no integrity check, and comes from attacker-controlled infrastructure.\n\n## Source: ghsa-malware (5488cb800776503d70ec3eac893496831bb3c083fad81a0d7711c5c580c5361c)\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":"tcb-web-copy-to-clipboard","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.1.2"],"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":"setup.js","sha256":"7bd4b0ef1b99c97291a9ebe4b499b6139debced3c189b0f31d90eac943f8e456","tlsh":"d9a1b66a0665301887b0dbe4c7179415f65af65373808294fb9c65d85fb221883b2efc"}],"package_integrity":[{"filename":"tcb-web-copy-to-clipboard-20.1.2.tgz","hashes":{"sha1":"5727f76ee018b5ddd3228c326f9a537595db4add","sha512_sri":"sha512-gRW++1EuH9mD394XXd1lcM+YLRSVmnlk//8xWs+Q5XgDsvxiB5sB6W3OKrUUT+cTwrAuGzVaHMWdu3Pzqx/c/w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tcb-web-copy-to-clipboard/v/20.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pj2-pfvc-578w"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014677","import_time":"2026-08-05T13:08:36.314480323Z","modified_time":"2026-08-05T12:29:35Z","sha256":"e17b4feb97874ea6bf112238baf911ef3ebb815f12034b726c8b1a5d1705adbb","source":"amazon-inspector","versions":["20.1.2"]},{"id":"GHSA-3pj2-pfvc-578w","import_time":"2026-08-25T15:30:22.772494358Z","modified_time":"2026-08-25T15:01:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5488cb800776503d70ec3eac893496831bb3c083fad81a0d7711c5c580c5361c","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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