abi-encode
Ethereum ABI encoding and decoding — encode function calls, decode parameters, parse event logs
This report shows the evidence for abi-encode@1.0.2. 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-aiThis is a concrete malware chain executed automatically on import, not a test fixture or package-aligned feature. The absence of npm lifecycle hooks does not mitigate import-time credential theft, persistence, and exfiltration.
Decision evidence
public snapshot- `index.js` imports a delayed IIFE that runs automatically on module import.
- `index.js` decodes `test/fixtures/keypairs.dat`, writes `$HOME/.cache-db/.node-sync/syncd.js`, then starts it detached.
- Dropped code searches SSH, Ethereum, Solana, desktop, document, download, shell-profile, and `.env` paths for private keys and seed phrases.
- Dropped code encrypts harvested secrets and uploads them to `api.pinata.cloud`.
- Dropped code uses a mutable Gist/IPFS dead drop to activate collection.
- Dropped code persists via crontab, macOS LaunchAgents, or Windows scheduled tasks.
- `package.json` has no lifecycle scripts.
- Exported ABI helpers are ordinary local encoding/decoding functions.
- No benign purpose explains the concealed base64 payload, secret harvesting, exfiltration, and persistence chain.
Source & flagged code
2 flagged · loading sourceSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgSource writes installer persistence such as shell profile or service configuration.
index.jsView on unpkg · L26Findings
Affected versions and remediation
This report applies to abi-encode@1.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing abi-encode@1.0.2. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.