Malicious code in ethers-wallet-package (npm)
-= Per source details. Do not edit below this line.=-
Package 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/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.
Any 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.
왜 이 VPI인가 (설명가능 · 실험적)
VPI 산정 기준
| 영향도(기본값(정보 없음)) | 55.00 |
| 악용 신호(추가 악용신호 없음) | ×1.00 |
| VPI | 55.00 |
VPI 공식 vpi-v1 기준