solana-key-utils
Lightweight Solana keypair generation, address validation, and message signing utilities
This report shows the evidence for solana-key-utils@1.0.0. 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-aiThis is a concrete import-time malware chain with stealthy persistence and credential exfiltration, unrelated to the advertised Solana utility functions.
Decision evidence
public snapshot- `index.js` runs a delayed IIFE on every import.
- `index.js` decodes `test/fixtures/keypairs.dat` into a hidden executable.
- The decoded payload persists through cron, `schtasks`, or LaunchAgents.
- The payload reads wallet, environment, shell, and SSH-key material.
- The payload encrypts findings and uploads them to Pinata/IPFS.
- No lifecycle hook is needed because import-time execution triggers it.
- `package.json` contains no lifecycle scripts.
- The visible exported key utilities are locally implemented.
Source & flagged code
1 flagged · loading sourceSource writes installer persistence such as shell profile or service configuration.
index.jsView on unpkg · L51Findings
Affected versions and remediation
This report applies to solana-key-utils@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing solana-key-utils@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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.