Skip to main content
MalwarePublished Updated

solana-js-client (npm) · Malicious Code

Affects solana-js-clientSource GCVE Database

0

Malicious package : remove solana-js-client and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 14:08 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5860

What to do

Remove solana-js-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

ProductAffectedFixed in
npmsolana-js-clientAffected
  • =1.0.0
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-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.

References

Community reviews

Loading reviews…