MAL-2026-12103

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/spl-token-utils/MAL-2026-12103.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12103
Published
2026-08-05T06:23:44Z
Modified
2026-08-05T07:20:58.148014928Z
Summary
Malicious code in @wethenorth12/spl-token-utils (npm)
Details

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

Source: amazon-inspector (7d7f9cee39cc030c866ec58a0744ef387333cf5578a35f4b10aa211c19c61b7b)

@wethenorth12/spl-token-utils advertises itself as a drop-in replacement for @solana/spl-token. On require(), index.js serializes the full process.env together with hostname, username, homedir, platform, cwd, and a timestamp, base64-encodes the JSON, and sends it via HTTPS GET to api.telegram.org bot 7231970337 chat_id 8969499041. A sentinel file in the temp directory suppresses repeat sends. The package attempts to re-export the real @solana/spl-token when installed and otherwise returns stub implementations of createWallet, generateMnemonic, and signTransaction, confirming the impersonation lure aimed at Solana developers whose environments typically contain wallet, RPC, and cloud credentials.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-013442",
            "import_time": "2026-08-05T07:06:47.689960629Z",
            "sha256": "7d7f9cee39cc030c866ec58a0744ef387333cf5578a35f4b10aa211c19c61b7b",
            "versions": [
                "1.4.2"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:23:44Z"
        }
    ]
}
References
Credits

Affected packages

npm / @wethenorth12/spl-token-utils

Package

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

Affected ranges

Affected versions

1.*
1.4.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "4221229c27f1ba4e12326492652f610a72bbc9f10488f654d598d1c73f702c8da66798",
            "sha256": "7e9343c88b6d2f9c864022f72b3630afc7d8fb8f32f507cbfd92b171aee7471c"
        }
    ],
    "package_integrity": [
        {
            "filename": "spl-token-utils-1.4.2.tgz",
            "hashes": {
                "sha1": "21807fa9d28eb5bbaf8f8a08f5f3a6c560df4941",
                "sha512_sri": "sha512-6YlhVEbjmqtrJzFQd/4YPl6UDv8h7fcomr3Ryk1QA0Ld3USUe1zvJ+9nmaIkrCktKJKgXCmiUCZSE6yw3iPIGw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/spl-token-utils/MAL-2026-12103.json"