ledger-lib
Essential crypto utility library - ledger-lib
This report shows the evidence for ledger-lib@1.0.1. 4 of 4 known versions are blocked or flagged. The newest version, 1.0.3, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect source inspection confirms an automatic install-time credential and wallet-file exfiltration chain. This is concrete malicious behavior, not a noisy static signal.
Decision evidence
public snapshot- package.json runs `node postinstall.js` during installation.
- postinstall.js reads environment, cloud, SSH, Solana, Ethereum, npm, and Git credential/config files from the user home directory.
- postinstall.js scans hidden home directories for key, seed, wallet, JSON, PEM, and KEY files.
- postinstall.js POSTs collected contents to `enxhcjpo5ev.x.pipedream.net`.
- index.js is empty; no benign runtime functionality offsets the install-time behavior.
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 ledger-lib@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing ledger-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.