Skip to main content

Malicious code in @solana-labs/spl-toke (npm)

0
High
Published: 06/15/2026 (06/15/2026, 17:15:36 UTC)
Source: GCVE Database
Product: @solana-labs/spl-toke

Description

The npm package '@solana-labs/spl-toke' is identified as a likely typosquatting attempt targeting the legitimate '@solana/spl-token' package. The package contains code patterns such as fetch, POST, https.get, and ping that may indicate potential command-and-control or data exfiltration behavior, though these have not been conclusively verified. The suspicious package name closely mimics a high-value scope, increasing the risk of accidental installation. No confirmed exploit or patch information is available.

Affected software

npmghsa
@solana-labs/spl-toke
Affected versions
=1.0.0=1.98.112=1.0.8=1.98.111=1.0.10=1.0.5=1.0.6=1.0.7=1.0.2=1.0.3=1.0.4=1.98.103=1.98.105=1.98.107=1.98.108=1.98.109=1.98.110

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, 06:53:05 UTC

Technical Analysis

The package '@solana-labs/spl-toke' on npm appears to be a malicious typosquat of the official '@solana/spl-token' package. Analysis detected suspicious network-related code patterns in its bundled JavaScript files, including fetch calls and HTTP methods that could be used for command-and-control or data exfiltration. However, the exact behavior and destination of these network calls were not confirmed in the analysis. The package name mimics the official Solana Labs scope but is missing the trailing 'n', suggesting an attempt to deceive users into installing it. Multiple specific versions are affected, but no vendor advisory or patch information is available.

Potential Impact

If installed, this package could potentially perform unauthorized network communications, possibly leading to data exfiltration or remote control. The exact impact is unconfirmed due to incomplete analysis of the minified code. The typosquatting nature increases the risk of accidental installation by developers expecting the legitimate package, potentially compromising projects relying on it.

Mitigation Recommendations

Users and developers should avoid installing the '@solana-labs/spl-toke' package and verify package names carefully before installation to prevent typosquatting attacks. Since no official patch or vendor advisory is available, the best mitigation is to rely solely on the legitimate '@solana/spl-token' package from the official source. Conduct manual code review if this package is found in any dependency tree and remove it immediately.

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-5787
Osv Schema Version
1.7.4
Aliases
["GHSA-6465-92w6-mgp8"]
Ecosystems
["npm"]

Threat ID: 6a96f31bacd9273b49e49935

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

Last enriched: 09/08/2026, 06:53:05 UTC

Last updated: 10/03/2026, 05:52:18 UTC

Views: 39

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