solana-web3-patched (npm) · Malicious Code
Affects solana-web3-patchedSource GCVE Database
Malicious package : remove solana-web3-patched and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 14:08 UTC
Malicious package
Published to npm · OSV MAL-2026-10902
What to do
Remove solana-web3-patched 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-patchedpkg:npm/solana-web3-patchedOther 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 npm package 'solana-web3-patched' version 1.0.0 is a typosquatting malicious package mimicking the legitimate '@solana/web3.js' library. It contains suspicious code patterns including child_process imports and usage of shell utilities like curl and ping combined with outbound HTTP requests. These characteristics suggest potential for malicious behavior such as command execution or data exfiltration. No confirmed exploits or CVSS score are available. Human review is recommended before use.