solana-key-utils (npm) · Malicious Code
Affects solana-key-utilsSource GCVE Database
Malicious package : remove solana-key-utils and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:43 UTC
Malicious package
Published to npm · OSV MAL-2026-10591
What to do
Remove solana-key-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmsolana-key-utils | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The solana-key-utils npm package versions 1.0.0 through 1.0.3 contain malicious code that, upon being required, waits 37 seconds before decoding and writing a hidden JavaScript payload to the user's cache directory. This payload is then executed detached from the original process and scheduled to run persistently every 12 hours via platform-specific mechanisms on Linux, Windows, and macOS. The package name and test fixture disguise the malicious payload, enabling persistent unauthorized code execution on affected systems.