solana-rpc-client (npm) · Malicious Code
Affects solana-rpc-clientSource GCVE Database
Malicious package : remove solana-rpc-client and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 14:08 UTC
Malicious package
Published to npm · OSV MAL-2026-10898
What to do
Remove solana-rpc-client 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-rpc-clientpkg:npm/solana-rpc-clientOther threats | 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-rpc-client npm package version 1.0.0 contains minified code that includes require('child_process'), network fetch/POST/GET calls, and references to curl and ping utilities. These elements could be part of legitimate Solana RPC client functionality or indicative of malicious exfiltration behavior. The exact network destinations and whether any malicious code executes during install or import are not confirmed. No lifecycle hooks in package.json have been identified. Further human review is needed to determine if the network calls target legitimate Solana endpoints or attacker-controlled hosts.