Malicious code in @zzzcrypto/solana-spl-token (npm)
The npm package @zzzcrypto/[email protected] is a malicious typosquatting package impersonating the legitimate @solana/spl-token. Upon loading, it collects environment variables and system information, encodes this data, and exfiltrates it via an HTTPS request to a Telegram bot controlled by the attacker. It also provides a stub API that returns random data instead of legitimate cryptographic material if the real package is not installed. This behavior risks leaking sensitive credentials such as AWS keys, GitHub tokens, and NPM tokens from developer and CI environments.
AI Analysis
Technical Summary
@zzzcrypto/[email protected] is a malicious npm package designed to impersonate the legitimate @solana/spl-token package. It enumerates the full process environment variables and system details (hostname, username, home directory, platform, current working directory), encodes this information in base64, and sends it via an HTTPS GET request to a Telegram bot endpoint controlled by the attacker. The package uses obfuscated variable names and a flag file to limit exfiltration to once per host. If the legitimate @solana/spl-token package is not present, it falls back to a stub API that returns random bytes instead of valid cryptographic keys, potentially disrupting dependent applications. Sensitive environment variables commonly found in developer and CI environments, such as AWS credentials, GitHub tokens, and NPM tokens, are exposed and exfiltrated.
Potential Impact
Sensitive environment variables and system information from developer and continuous integration environments can be exfiltrated to an attacker-controlled Telegram chat. This can lead to credential compromise, unauthorized access to cloud services, source code repositories, and package registries. The stub API fallback may also cause functional disruption in applications expecting legitimate cryptographic key material.
Mitigation Recommendations
Do not install or use the @zzzcrypto/solana-spl-token package. Verify that only the legitimate @solana/spl-token package is installed in your projects. Remove any instances of @zzzcrypto/[email protected] from your environment. Rotate any potentially exposed credentials such as AWS keys, GitHub tokens, and NPM tokens. Monitor for suspicious network activity related to Telegram API endpoints. No official patch or fix exists for this malicious package; remediation involves removal and credential rotation.
Malicious code in @zzzcrypto/solana-spl-token (npm)
Description
The npm package @zzzcrypto/[email protected] is a malicious typosquatting package impersonating the legitimate @solana/spl-token. Upon loading, it collects environment variables and system information, encodes this data, and exfiltrates it via an HTTPS request to a Telegram bot controlled by the attacker. It also provides a stub API that returns random data instead of legitimate cryptographic material if the real package is not installed. This behavior risks leaking sensitive credentials such as AWS keys, GitHub tokens, and NPM tokens from developer and CI environments.
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
@zzzcrypto/[email protected] is a malicious npm package designed to impersonate the legitimate @solana/spl-token package. It enumerates the full process environment variables and system details (hostname, username, home directory, platform, current working directory), encodes this information in base64, and sends it via an HTTPS GET request to a Telegram bot endpoint controlled by the attacker. The package uses obfuscated variable names and a flag file to limit exfiltration to once per host. If the legitimate @solana/spl-token package is not present, it falls back to a stub API that returns random bytes instead of valid cryptographic keys, potentially disrupting dependent applications. Sensitive environment variables commonly found in developer and CI environments, such as AWS credentials, GitHub tokens, and NPM tokens, are exposed and exfiltrated.
Potential Impact
Sensitive environment variables and system information from developer and continuous integration environments can be exfiltrated to an attacker-controlled Telegram chat. This can lead to credential compromise, unauthorized access to cloud services, source code repositories, and package registries. The stub API fallback may also cause functional disruption in applications expecting legitimate cryptographic key material.
Mitigation Recommendations
Do not install or use the @zzzcrypto/solana-spl-token package. Verify that only the legitimate @solana/spl-token package is installed in your projects. Remove any instances of @zzzcrypto/[email protected] from your environment. Rotate any potentially exposed credentials such as AWS keys, GitHub tokens, and NPM tokens. Monitor for suspicious network activity related to Telegram API endpoints. No official patch or fix exists for this malicious package; remediation involves removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13214
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738521bf8831d5394efa24
Added to database: 08/05/2026, 18:46:57 UTC
Last enriched: 08/05/2026, 22:17:29 UTC
Last updated: 08/05/2026, 22:17:29 UTC
Views: 2
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.
External Links
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.