LWA-2026-2920 MAL-2026-10898 ↗ confirmed malware

solana-rpc-client@1.0.0

Malicious code in solana-rpc-client (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059 · Command and Scripting InterpreterT1497 · Virtualization/Sandbox EvasionT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1005 · Data from Local SystemT1053.003 · CronT1102 · Web ServiceT1071 · Application Layer ProtocolT1567 · Exfiltration Over Web ServiceT1657 · Financial Theft

Analysis

solana-rpc-client@1.0.0 is a combosquat of @solana/web3.js with a credential-stealer payload injected into its main entry points (lib/index.cjs.js, lib/index.esm.js). The code reads Solana wallet keys (~/.config/solana/id.json, ~/.solana/id.json), SSH keys (~/.ssh/id_rsa), AWS credentials and .env files; scans environment variables for tokens (SOLANA, NPM, GITHUB, AWS, ALCHEMY, INFURA and others); overwrites the Solana CLI config to redirect RPC traffic to 104[.]239[.]66[.]223:8899; exfiltrates to a hardcoded Telegram bot; installs @reboot cron persistence; and runs a Telegram-based C2 supporting /keys, /ssh, /env, /wallet, /sh and /die commands. It skips execution when the host's public IP matches 104[.]239[.]66[.]223.

analyzed by
Leitwacht
first seen
Jun 7, 2026, 11:03 PM
analyzed
Jun 8, 2026, 06:02 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.