ethers-lib
Ethereum library - extended utilities and helpers for ethers.js
This report shows the evidence for ethers-lib@1.0.1. 5 of 5 known versions are blocked or flagged. The newest version, 1.0.4, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect source inspection confirms an automatic install-time secret-harvesting and exfiltration chain. This is concrete malicious behavior, not a package-aligned network use.
Decision evidence
public snapshot- package.json runs `node postinstall.js` during installation.
- postinstall.js collects .env, AWS, SSH, Solana, Ethereum, npm, and Git files from the home directory.
- postinstall.js scans hidden home subdirectories for wallet/key/seed-like files.
- Collected contents are POSTed to enxhcjpo5ev.x.pipedream.net.
- index.js only re-exports the ethers dependency.
- No legitimate install-time setup behavior is present.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgA manifest entrypoint or package-local install chain reaches a fixed external POST callback.
Findings
Affected versions and remediation
This report applies to ethers-lib@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing ethers-lib@1.0.1. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.