OpenSSF/OSV advisory MAL-2026-12103 confirms this npm version as malicious. @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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @wethenorth12/spl-token-utils (npm)
Details
@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.
Decision reason
OpenSSF Malicious Packages via OSV confirms @wethenorth12/spl-token-utils@1.4.2 as malicious (MAL-2026-12103): Malicious code in @wethenorth12/spl-token-utils (npm)