ethers-abstract-signer
This report shows the evidence for ethers-abstract-signer@1.0.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-3760 confirms this npm version as malicious.
Advisory
MAL-2026-3760
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in ethers-abstract-signer (npm)
Details
On `npm install`, the package's postinstall hook spawns a Node one-liner that uses child_process.exec to curl/wget `https://gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py` and pipe the response directly into `python3` (falling back to node and wget variants), then eval()s the exec callback's stdout. The URL is a mutable personal GitHub Gist, not tied to the package publisher, with no version pin and no integrity check, so the Gist owner can swap in arbitrary code at any time and it will execute on every installer's machine. The package's advertised purpose is an 'ethers development aid for Solidity projects', and it impersonates the ethers.js `AbstractSigner` API, but `index.js` is effectively empty (`module.exports = {}`) — the only functional effect of installing the package is the remote-code fetch and execute. The name mimics the legitimate ethers ecosystem, increasing the chance of accidental installation by developers searching for an AbstractSigner helper.
## Source: ghsa-malware (2cfbc22e6c81d171169227dafad300ab1ebd6624a2dd09991a4b8c47fbcc65b7) 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-abstract-signer@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing ethers-abstract-signer@1.0.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.