Skip to main content

Malicious code in solana-js-client (npm)

0
Critical
Published: 06/16/2026 (06/16/2026, 03:01:18 UTC)
Source: GCVE Database
Product: solana-js-client

Description

The solana-js-client npm package version 1.0.0 is a malicious drop-in replacement for the legitimate @solana/web3.js library. It impersonates the official Solana Labs maintainer and injects a hidden payload that reroutes RPC traffic and exfiltrates sensitive data to an attacker-controlled server and Telegram bot. This can compromise wallets or dApps that import this package by leaking signed transactions and seed material.

Affected software

npmghsa
solana-js-client
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:08 UTC

Technical Analysis

The solana-js-client package (version 1.0.0) masquerades as a legitimate Solana Labs library but contains injected malicious code in its published bundles lib/index.cjs.js and lib/index.esm.js. The payload, absent from source files, uses Node.js child_process to execute shell commands like curl and ping, communicating with a hardcoded HTTP endpoint at 104.239.66.223:8899 (the Solana JSON-RPC port). It also sends exfiltrated data to an attacker-controlled Telegram bot via the Telegram Bot API. The primary API, the Connection class, enables interception and rerouting of outbound RPC traffic, signed transactions, and seed material, leading to data theft.

Potential Impact

Any wallet or decentralized application that imports this malicious solana-js-client package risks having its RPC traffic and sensitive cryptographic material silently intercepted and exfiltrated to an attacker. This compromises the confidentiality and integrity of blockchain transactions and wallet secrets, potentially leading to theft of funds or unauthorized transaction signing.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid using the solana-js-client package version 1.0.0 and instead rely on the legitimate @solana/web3.js package from verified sources. Verify package authenticity by checking publisher information and package integrity before installation. Monitor for updates from the official Solana Labs or trusted security advisories for any forthcoming fixes or warnings.

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-5860
Osv Schema Version
1.7.4
Aliases
["GHSA-w6xx-m24v-5674"]
Ecosystems
["npm"]

Threat ID: 6a96f317acd9273b49e493de

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

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

Last updated: 10/04/2026, 05:57:54 UTC

Views: 39

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