MAL-2026-13351 Malicious code in spl-token-utils (npm)
Malicious package
Published
MAL-2026-13351 is a malicious package: spl-token-utils (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-13351/ (Markdown: https://insights.sbomify.com/MAL-2026-13351/index.md)
- Package
- spl-token-utils
- Registry
- npm
What is MAL-2026-13351?
MAL-2026-13351 is a malicious package in spl-token-utils, published on 5 Aug 2026.
Official description
On require, index.js serializes the full process.env together with hostname, username, homedir, platform, cwd, and package metadata, base64-encodes the payload, and sends it via an HTTPS GET to api.telegram.org/bot<redacted>/sendMessage with a hardcoded chat_id (8969499041). A marker file in the OS tmpdir suppresses repeat sends. The package presents itself as a drop-in replacement for @solana/spl-token and attempts to require and re-export the real @solana/spl-token so consumers see functional behavior while the exfiltration has already fired. Bulk process.env harvest at import time captures whatever credentials the installer's Node process has in environment — cloud keys, CI/publish tokens, database URLs — none of which relate to any legitimate SPL/Solana utility function. The typosquat name (spl-token-utils vs @solana/spl-token) makes accidental installs likely.
What should I do about MAL-2026-13351?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.