Skip to main content

Malicious code in solana-web3-v1 (npm)

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

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.

Affected software

solana-web3-v1
pkg:npm/solana-web3-v1
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:09:08 UTC

Technical Analysis

The solana-web3-v1 package on npm, version 1.0.0, is flagged due to name confusion with the official @solana/web3.js SDK and the presence of potentially dangerous code patterns such as child_process invocation, network fetch calls, and shell commands (curl, ping) bundled together. These combined indicators raise suspicion of malicious intent, possibly as a lure for confusion attacks. However, without dynamic execution tracing, it is not confirmed whether these features are active or dead code, nor if the network calls serve legitimate SDK functions or data exfiltration. No vendor advisory or patch information is available.

Potential Impact

If malicious, the package could execute arbitrary shell commands and perform unauthorized network communications, potentially leading to system compromise or data exfiltration when installed and used. The name confusion increases the risk of accidental installation by developers expecting the legitimate Solana SDK. No known active exploits have been reported.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing the solana-web3-v1 package version 1.0.0. Verify package authenticity by using the official @solana/web3.js SDK from trusted sources. Conduct manual code review and dynamic analysis before use. Monitor for vendor advisories or updates regarding this package.

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-10904
Osv Schema Version
1.7.4
Aliases
["GHSA-x736-hhp7-jrh7"]
Ecosystems
["npm"]

Threat ID: 6a96f316acd9273b49e493c0

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

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

Last updated: 10/03/2026, 10:31:16 UTC

Views: 42

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