Malicious code in ethers-wallet-latest (npm).
CriticalGHSA-mh48-jfmg-8gjv17 Nov · 13 days ago
Does it affect you?
Not extractedThe conditions could not be extracted from the source.
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](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/ethers-wallet-latest/MAL-2026-20038.json))
SourcesGitHub malware advisory
Timeline
17 Nov1 hfrom publication to Patchwire
- Published in the GitHub database17 Nov, 06:31 UTC
- Seen by Patchwire +1 h17 Nov, 07:35 UTC
ethers-wallet-latestafter 5.8.0