Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in spl-token-utils (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 15:39:00 UTC)
Source: GCVE Database
Product: spl-token-utils

Description

The spl-token-utils npm package version 1.4.2 is a malicious typosquat of the legitimate @solana/spl-token package. Upon import, it collects the entire process environment variables along with system metadata and exfiltrates this data via an HTTPS request to a Telegram bot. It suppresses repeated data sends using a marker file and attempts to maintain functional behavior by re-exporting the real @solana/spl-token package. This behavior captures sensitive credentials present in the environment, such as cloud keys and tokens, which are unrelated to the package's intended functionality.

Affected software

npmghsa
spl-token-utils
Affected versions
=1.4.2

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: 08/05/2026, 23:00:41 UTC

Technical Analysis

The spl-token-utils package (version 1.4.2) is a malicious npm package designed as a typosquat of @solana/spl-token. When required, it serializes the full process environment variables plus hostname, username, home directory, platform, current working directory, and package metadata. This data is base64-encoded and sent via an HTTPS GET request to a Telegram bot endpoint with a hardcoded chat ID. To avoid repeated exfiltration, it creates a marker file in the OS temporary directory. It then requires and re-exports the legitimate @solana/spl-token package to appear functional to consumers. This exfiltration captures sensitive environment credentials such as cloud keys, CI tokens, and database URLs, which are unrelated to any legitimate SPL/Solana utility function.

Potential Impact

Sensitive environment variables and system metadata, including potentially critical credentials like cloud keys, CI/publish tokens, and database URLs, are exfiltrated to an attacker-controlled Telegram bot endpoint. This can lead to unauthorized access to cloud resources, continuous integration pipelines, databases, and other sensitive infrastructure components. The malicious package's design to appear functional while exfiltrating data increases the risk of unnoticed compromise in environments where it is installed.

Defensive Guidance

Avoid installing the spl-token-utils package, especially version 1.4.2, as it is a known malicious typosquat. Verify package names carefully before installation to prevent accidental use of typosquat packages. Remove any instances of spl-token-utils from your environment immediately. Since no official fix or patch is available, remediation involves uninstalling the malicious package and auditing environment credentials for potential compromise. Rotate any exposed credentials and secrets that may have been present in the environment at the time of installation.

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-13351
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a738520bf8831d5394ef8f9

Added to database: 08/05/2026, 18:46:56 UTC

Last enriched: 08/05/2026, 23:00:41 UTC

Last updated: 08/05/2026, 23:00:41 UTC

Views: 2

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