Skip to main content
Menu
Advisories

Malicious code in ethers-wallet-latest (npm)

GHSA-MH48-JFMG-8GJVPublished Updated GitHubMalware

Description

ethers-wallet-latest is a copy of @ethersproject/wallet 5.8.0 with an obfuscated block injected at the start of the Wallet constructor in lib/index.js (the package main). Every new Wallet(privateKey, ...) POSTs the private key to a hardcoded Telegram bot (bot7837266935, chat 7974622428), the same bot and chat as base60-58x.

---

Credit: OpenSSF (source)

Affected versions

References