solana-web3-v1 (npm) · Malicious Code
Affects solana-web3-v1Source GCVE Database
Malicious package : remove solana-web3-v1 and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 14:09 UTC
Malicious package
Published to npm · OSV MAL-2026-10904
What to do
Remove solana-web3-v1 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-web3-v1pkg:npm/solana-web3-v1Other 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-web3-v1 npm package, version 1.0.0, is identified as a potentially malicious package that mimics the widely-used @solana/web3.js Solana SDK. The package contains bundled code with suspicious patterns including usage of child_process, HTTP fetch calls, and shell utilities like curl and ping within the same minified bundle. It is unclear if these are legitimate SDK functions or malicious exfiltration mechanisms. No confirmed exploits or patches are available, and human verification is recommended to assess the package's legitimacy and behavior.