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

目标: 1000 元 · 已筹: 1336

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

@kuperka/chainguard-sdk

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

Summary

Malicious code in @kuperka/chainguard-sdk (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@kuperka/chainguard-sdk1.0.1
npm@kuperka/chainguard-sdk1.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-13688","published":"2026-08-10T12:24:28Z","modified":"2026-08-10T12:53:37.474061232Z","summary":"Malicious code in @kuperka/chainguard-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2b799ca087f4396cb295cd53012a92d10dea0c763a41c8b85e94437108ea24e4)\nPackage @kuperka/chainguard-sdk@1.0.2 exposes a single payload, window.__VEIL__.init(), that on load harvests document.cookie, every localStorage/sessionStorage entry, all form input values, meta CSRF/auth tokens, and Web3 wallet identifiers (window.ethereum, window.solana), base64-encodes the blob, and transmits it to the hardcoded endpoint https://webhook.site/b9155136-5f6d-4084-b19e-33c694a44616 via both Image().src GET and fetch POST. It additionally scans document.documentElement.outerHTML with credential-shaped regexes for Stripe live keys (sk_live_*), AWS access keys (AKIA*), GitHub personal access tokens (ghp_*), JWTs, and OpenAI keys (sk-*), including any matches in the exfil payload. A capturing keydown listener buffers keystrokes typed into any INPUT/TEXTAREA/SELECT along with field context (name/id/placeholder) and periodically posts them to the same endpoint. window.fetch is monkey-patched to record every outbound URL, method, Authorization header, and up to 2000 bytes of request body, forwarding captured bearer tokens and request bodies to the same webhook. After exfiltration the code renders a full-viewport overlay branded 'ChainGuard SECURITY & SIMULATION ENGINE' displaying scripted 'Initializing/Fetching/Simulating/Sandbox emulation complete' log lines and a hardcoded 'Overall Risk Score: 0 / No Threats Detected' result, concealing the theft from the user. The package name and 'chainguard' branding impersonate a legitimate security tool.\n","affected":[{"package":{"name":"@kuperka/chainguard-sdk","ecosystem":"npm"},"versions":["1.0.1","1.0.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":"app.js","sha256":"dfe5cd738672bd5cf4cd006ee5fe9a1db47fc356186ebb0e445af4c57527114f","tlsh":"56222925f52010316933b27eab76a6cdf6338127481682987dacb4a16ff0d510a35eec"}],"package_integrity":[{"filename":"chainguard-sdk-1.0.1.tgz","hashes":{"sha1":"dfaeeded887da325dd7b83e52a0bb1f028b3bc9a","sha512_sri":"sha512-dpxwrB2gAL+kq2oS2FNVKvNubBnLVa7ucHBewSPizk7OkHqwqNIGKoTrUUW0+tU/y3J2/z9Z3npDSnNIdxJkJg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@kuperka/chainguard-sdk/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@kuperka/chainguard-sdk/v/1.0.2"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017256","import_time":"2026-08-10T12:24:47.219865744Z","modified_time":"2026-08-10T12:24:28Z","sha256":"79f96fa33caf2cfd9404a8c2ae5dff1c4c781a9460aca9d9060752051f0c1d6e","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-017257","import_time":"2026-08-10T12:51:44.580354332Z","modified_time":"2026-08-10T12:24:40Z","sha256":"2b799ca087f4396cb295cd53012a92d10dea0c763a41c8b85e94437108ea24e4","source":"amazon-inspector","versions":["1.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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