MAL-2026-13214

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzcrypto/solana-spl-token/MAL-2026-13214.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13214
Published
2026-08-05T15:32:40Z
Modified
2026-08-05T16:50:19.388820137Z
Summary
Malicious code in @zzzcrypto/solana-spl-token (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (6ceac45508e2f9506a082b2195d3bae4b046f096d11856d72ea53f784ad5992e)

@zzzcrypto/solana-spl-token@0.4.0 is a typosquat/impersonation of @solana/spl-token (README self-describes as a 'drop-in replacement'; author metadata is set to 'solana-labs'). On module load, index.js enumerates the full process.env and augments it with hostname, username, homedir, platform, and cwd, base64-encodes the JSON payload, and sends it as an HTTPS GET to api.telegram.org/bot<redacted>/sendMessage with chatid=8969499041. A temporary flag file gates the beacon to once per host. Variable names are randomized (dmcp, uqxj, bhhs, h, flag) and the payload is base64-wrapped to hide the exfil body. If the real @solana/spl-token is not installed, the package falls back to a stub API exporting createWallet/generateMnemonic that returns random bytes rather than real key material. On typical developer and CI machines, process.env contains credentials such as AWS*, GITHUBTOKEN, and NPMTOKEN, which are shipped off-host to the attacker's Telegram chat.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "0.4.0"
            ],
            "sha256": "6ceac45508e2f9506a082b2195d3bae4b046f096d11856d72ea53f784ad5992e",
            "import_time": "2026-08-05T16:13:38.714577941Z",
            "id": "IN-MAL-2026-015739",
            "modified_time": "2026-08-05T15:32:40Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @zzzcrypto/solana-spl-token

Package

Name
@zzzcrypto/solana-spl-token
View open source insights on deps.dev
Purl
pkg:npm/%40zzzcrypto/solana-spl-token

Affected ranges

Affected versions

0.*
0.4.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "solana-spl-token-0.4.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-cgNJ2tr33WJzziEOqQtvEyY+kjY4Veoy102YcCrbmb96zvBOXo0X21h96t8cQ3WeAbM86f9YX3zKbF0usv9tEA==",
                "sha1": "5a58f9527691d4fe79312f255b37030bd8f239a7"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "842179cc27f2bd8d16377592982f600bb27bc5b60488f614c564e1c37f705c85a16b94",
            "sha256": "963f4cb0eb93714a1f3571f6c031f997cb569a155f08d8dfcbaf349bf64746b2",
            "path": "index.js"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzcrypto/solana-spl-token/MAL-2026-13214.json"