VYPR

npm · Malicious package advisory

Malware

ethers-wallet-latest

GHSA-mh48-jfmg-8gjv

Malicious code in ethers-wallet-latest (npm)

Details

**Severity:** Critical

**Affected versions:** `= 5.8.0`

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

**References:**
- https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/ethers-wallet-latest/MAL-2026-20038.json
- https://wormsign.io/portfolio/ethers-wallet-latest
- https://github.com/advisories/GHSA-mh48-jfmg-8gjv

Compromised versions (1)

  • = 5.8.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.