Skip to main content

Malicious code in solana-rpc-pool (npm)

0
Critical
Published: 06/11/2026 (06/11/2026, 04:44:58 UTC)
Source: GCVE Database
Product: solana-rpc-pool

Description

The solana-rpc-pool npm package version 1.0.0 contains malicious code executed during installation. The postinstall script steals credentials from common locations, exfiltrates them via Telegram bot API, drains Solana wallets by transferring funds to an attacker-controlled address, persists via a cron job to run on reboot, and evades sandbox detection to avoid analysis. The package masquerades as legitimate Solana tooling but includes a backdoor script alongside its legitimate API implementation.

Affected software

npmghsa
solana-rpc-pool
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 14:08:26 UTC

Technical Analysis

The solana-rpc-pool npm package version 1.0.0 includes a postinstall hook that runs a malicious install.js script performing four attacker-benefit actions: (1) credential theft from SSH keys, AWS credentials, Solana key files, environment variables, and .env files, exfiltrated via Telegram bot API; (2) wallet draining by signing and broadcasting a Solana transfer of nearly all funds to a hardcoded mainnet address; (3) persistence by adding a cron job to rerun the malicious script on system reboot; (4) sandbox evasion by detecting Docker, debugging tools, EC2 metadata service, suspicious hostnames, and security tooling to silently abort in analysis environments. The package's index.js provides a plausible Solana RPC pool API as cover, while install.js is explicitly commented as a utility backdoor. Author and repository metadata appear fabricated to impersonate official Solana tooling.

Potential Impact

This malicious package can lead to theft of sensitive credentials including SSH keys, AWS credentials, and Solana wallet keys. It can drain Solana wallets by transferring funds to an attacker-controlled address. The persistence mechanism ensures continued compromise even after package removal. Sandbox evasion techniques increase the risk of undetected infection in developer and CI environments.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately uninstall solana-rpc-pool version 1.0.0 and remove any persistence mechanisms such as the cron job added by the malicious script. Review and rotate any potentially compromised credentials including SSH keys, AWS credentials, and Solana wallets. Avoid using this package and verify the authenticity of packages before installation. Monitor for suspicious network activity related to Telegram API calls and Solana transfers. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5573
Osv Schema Version
1.7.4
Aliases
["GHSA-2mh6-844f-vpmp"]
Ecosystems
["npm"]

Threat ID: 6a96f317acd9273b49e493d8

Added to database: 09/01/2026, 15:45:27 UTC

Last enriched: 09/08/2026, 14:08:26 UTC

Last updated: 10/04/2026, 04:21:59 UTC

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses