Malicious code in @solana-labs/spl-toke (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.