Skip to main content

Malicious code in solana-web3-patched (npm)

0
High
Published: 07/20/2026 (07/20/2026, 10:59:24 UTC)
Source: GCVE Database
Product: solana-web3-patched

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.

Affected software

solana-web3-patched
pkg:npm/solana-web3-patched
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:59 UTC

Technical Analysis

The 'solana-web3-patched' package (version 1.0.0) is an unscoped npm package designed to resemble the legitimate '@solana/web3.js' library. Analysis reveals the presence of child_process imports alongside network communication primitives (fetch, POST, GET) and shell utilities (curl, ping) within the same bundled files. This combination is unusual for a standard Solana RPC client and raises suspicion of malicious intent, possibly enabling remote command execution or data exfiltration. However, the exact reachability and impact of these code paths at install or runtime have not been conclusively determined due to lack of traced-code corroboration. The package is flagged for human review to verify if any hardcoded destinations are attacker-controlled and if the suspicious code is executed during installation or usage.

Potential Impact

If executed, the malicious code could allow attackers to run arbitrary shell commands and send outbound network requests, potentially leading to data exfiltration or system compromise. The typosquatting nature increases the risk of inadvertent installation by users expecting the legitimate Solana library. No known active exploits have been reported so far.

Mitigation Recommendations

Avoid installing or using the 'solana-web3-patched' package. Verify package names carefully to prevent typosquatting attacks. Since no official patch or fix exists for this malicious package, the best mitigation is to remove it from any environments where it is installed and rely only on the official '@solana/web3.js' package from trusted sources. Conduct manual code review if the package must be used for any reason.

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-10902
Osv Schema Version
1.7.4
Aliases
["GHSA-p492-8qvf-j49c"]
Ecosystems
["npm"]

Threat ID: 6a96f317acd9273b49e493ce

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

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

Last updated: 10/04/2026, 07:49:58 UTC

Views: 27

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