Skip to main content
MalwarePublished

ethers-core (npm) · Malicious Code

Affects ethers-coreSource GCVE Database

0

Malicious package : remove ethers-core and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:59 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10580

What to do

Remove ethers-core from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmethers-coreAffected
  • =6.13.7
  • =6.13.5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The ethers-core npm package versions 6.13.5 and 6.13.7 contain malicious code that exfiltrates sensitive installer secrets such as private keys, mnemonics, AWS and GitHub tokens, and credential files to an attacker-controlled Telegram bot. The malware attempts to drain compromised Ethereum and Bitcoin wallets by sending transactions to hardcoded attacker addresses. It establishes persistence on infected systems by modifying shell startup files and creating autostart entries, while continuously polling an attacker webhook. This is a case of a typosquatting malicious package impersonating the popular ethers library.

References

Community reviews

Loading reviews…