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

目标: 1000 元 · 已筹: 1359 元

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

ethers-wallet-package

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

Summary

Malicious code in ethers-wallet-package (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
89
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmethers-wallet-package*
npmethers-wallet-package5.8.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-23T07:47:50Z","published":"2026-05-20T18:24:59Z","schema_version":"1.7.4","id":"MAL-2026-4553","aliases":["GHSA-7pvf-g7jg-rxpj"],"summary":"Malicious code in ethers-wallet-package (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c6dae6dc459fa2ef437e532af4b27b6c50360a40cdb9d91563d25a48bae88cec)\nPackage name impersonates the official @ethersproject/wallet, and package.json spoofs the ethers.js maintainer identity (author 'Richard Moore <me@ricmoo.com>'). The compiled lib/index.js wraps the Wallet constructor with an obfuscated VM-based interpreter whose base64-encoded op-array contains the plaintext target URL https://api.telegram.org/bot<redacted>/sendMessage and chat_id 7959381237. On every `new Wallet(privateKey)` call, the constructor POSTs the private key as JSON to that Telegram bot, giving the attacker full control over the victim's Ethereum funds. The Wallet class is the package's only advertised API, so any caller that imports the package and constructs a wallet leaks the key on first use.\n\n## Source: ghsa-malware (220ce4e0be76da392304c8cfc16d134919d9a35c6925ea0a6df8c9e562ed0e62)\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":"ethers-wallet-package"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["5.8.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":"lib/index.js","sha256":"e55dc8e38a487b0cbfb8a526c07240f04070062a26a459a604195b81317a456a","tlsh":"e9d3b8029386747b0176d1b44bebece5f27a9c53121434eef50d8ea07f813a9067aadc"},{"path":"package.json","sha256":"e044635eb121d847ec7212b5f1445692843fa75b52eb3afd25f75bb9c8a160e5","tlsh":"5d315981c93dcee757cc1a94441d68cab13a48174844b85d339a492a4f8f32f2efd94f"}],"package_integrity":[{"filename":"ethers-wallet-package-5.8.0.tgz","hashes":{"sha1":"e3cd06a43482b9f48fe222129d551d032fa1e30f","sha512_sri":"sha512-z3a4ECBBTeWN6UcdO8zzp3d527LW1CBEuTYs3qiPHGu7SqCpMvmx8Qi+urBmqYDV8hL7HTSup2KbZ//b0ylVdw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethers-wallet-package/v/5.8.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7pvf-g7jg-rxpj"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"c6dae6dc459fa2ef437e532af4b27b6c50360a40cdb9d91563d25a48bae88cec","import_time":"2026-05-26T05:50:54.450531163Z","id":"IN-MAL-2026-003584","modified_time":"2026-05-20T18:24:59Z","versions":["5.8.0"]},{"source":"ghsa-malware","sha256":"220ce4e0be76da392304c8cfc16d134919d9a35c6925ea0a6df8c9e562ed0e62","import_time":"2026-07-23T07:45:08.333667539Z","id":"GHSA-7pvf-g7jg-rxpj","modified_time":"2026-07-23T01:01:29Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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