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

目标: 1000 元 · 已筹: 1359 元

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

ddok-modal

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

Summary

Malicious code in ddok-modal (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
23
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmddok-modal1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10497","published":"2026-07-13T21:44:42Z","modified":"2026-09-30T16:33:52.185514221Z","aliases":["GHSA-5xvp-j6m9-rwr6"],"summary":"Malicious code in ddok-modal (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0326cd953f229feb020dd3c1cd882246b6bac2cb0be8ffe9e47d063d9f59c9c6)\nddok-modal presents itself as a reusable React wallet-connection modal supporting MetaMask, Phantom, Rabby, TronLink, Bitget, Coinbase, and Solflare, but the modal UIs are credential-harvesting impersonations of those wallets. Each wallet 'unlock' modal binds an onChange handler that calls sendKeyToBackend(userId, 'cha', newKeyword, <wallet_type>) on every keystroke and a submit handler that calls sendKeyToBackend(..., 'enter', keyword,...) on form submission, POSTing the captured password / recovery phrase to https://api.wagmiwallet.org/api/keys (with a websocket fallback at wss://api.wagmiwallet.org) and a secondary endpoint at https://wagmirequest.la. The payload includes user_id, key_type, the captured keys, wallet_type, and the visitor's IP address and geolocation (collected via api.ipify.org and ipapi.co at modal open). The modals reproduce real wallet copy ('Enter your password', 'Secret Recovery Phrase', 'MetaMask can't recover your password') and reference legitimate browser-extension IDs (e.g. nkbihfbeogaeaoehlefnkodbefgpgknn for MetaMask) to look authentic. Any web application that embeds this component relays its end users' wallet passwords and seed phrases to the package author's hardcoded infrastructure.\n\n## Source: ghsa-malware (71fe082b3de64bf70b24ca38d1b8f64dbac1f9c9fe55a0403137c9f53a3fcbf4)\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":"ddok-modal","ecosystem":"npm"},"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.cjs","sha256":"a0a01bacfba38008711c9e126e2fdb92e381d2b2428a600a255b1580a89033af","tlsh":"56c40ad4b3ad106e4123716aa93f11cdb33dd173561488a9be9c992c3fd481c43eabb9"}],"package_integrity":[{"filename":"ddok-modal-1.0.0.tgz","hashes":{"sha1":"659471fc08340c409234a06763ee9e201e7681c6","sha512_sri":"sha512-4WS5WnHLZeOlUVScIa0FM4PI3k/jO3DcabN7NxrJnMAHYL+HDvw4tmfMZ6y0IYg5rwpFhOF8l3Brg+TqQAGHhw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ddok-modal/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5xvp-j6m9-rwr6"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010329","import_time":"2026-07-13T21:49:34.209062906Z","modified_time":"2026-07-13T21:44:42Z","sha256":"0326cd953f229feb020dd3c1cd882246b6bac2cb0be8ffe9e47d063d9f59c9c6","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-5xvp-j6m9-rwr6","import_time":"2026-09-30T16:32:01.226103026Z","modified_time":"2026-09-30T16:26:16Z","sha256":"71fe082b3de64bf70b24ca38d1b8f64dbac1f9c9fe55a0403137c9f53a3fcbf4","source":"ghsa-malware","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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