ethers-wallet-package
This report shows the evidence for ethers-wallet-package@5.8.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4553 confirms this npm version as malicious.
Advisory
MAL-2026-4553
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in ethers-wallet-package (npm)
Details
Package name impersonates the official @ethersproject/wallet, and package.json spoofs the ethers.js maintainer identity (author 'Richard Moore <me@ricmoo.com>'). The compiled lib/index.js wraps the Wallet constructor with an obfuscated VM-based interpreter whose base64-encoded op-array contains the plaintext target URL https://api.telegram.org/bot<redacted>/sendMessage and chat_id 7959381237. On every `new Wallet(privateKey)` call, the constructor POSTs the private key as JSON to that Telegram bot, giving the attacker full control over the victim's Ethereum funds. The Wallet class is the package's only advertised API, so any caller that imports the package and constructs a wallet leaks the key on first use.
## Source: ghsa-malware (220ce4e0be76da392304c8cfc16d134919d9a35c6925ea0a6df8c9e562ed0e62) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to ethers-wallet-package@5.8.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing ethers-wallet-package@5.8.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.