ethers-wallet-latest is malicious. Its code runs at install and can read the secrets of the machine.

npm

Details

Safe
after 5.8.0
Advisories
1 in 120 days

Used by

Stacks that pull this package.

Alerts(1)

Critical
Conditions could not be extracted

Source summary

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))

Affected
ethers-wallet-latest 5.8.0
Fixed in
after 5.8.0
ID
GHSA-mh48-jfmg-8gjv
Open the alert