OpenSSF/OSV advisory MAL-2026-4553 confirms this npm version as malicious. 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<redacted>/sendMessage and chat_id 7959381237...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in ethers-wallet-package (npm)
Details
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<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.
Decision reason
OpenSSF Malicious Packages via OSV confirms ethers-wallet-package@5.8.0 as malicious (MAL-2026-4553): Malicious code in ethers-wallet-package (npm)