MAL-2026-12101 Malicious code in @wethenorth12/solana-wallet-adapter (npm)
Malicious package
Published
MAL-2026-12101 is a malicious package: @wethenorth12/solana-wallet-adapter (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-12101/ (Markdown: https://insights.sbomify.com/MAL-2026-12101/index.md)
- Package
- @wethenorth12/solana-wallet-adapter
- Registry
- npm
What is MAL-2026-12101?
MAL-2026-12101 is a malicious package in @wethenorth12/solana-wallet-adapter, published on 5 Aug 2026.
Official description
On require(), index.js JSON-encodes the full process.env plus hostname, username, homedir, platform, cwd, and package metadata, base64-encodes the payload, and sends it as a Telegram Bot API sendMessage GET request to a hardcoded bot token and chat_id (8969499041). A marker file in the OS tmpdir gates the beacon to fire once per host. The package impersonates @solana/wallet-adapter-base: the author field is spoofed as 'anza-xyz', the README advertises a 'drop-in replacement', and the module attempts to require the real @solana/wallet-adapter-base and re-export it so consumers see a working facade while the exfiltration runs silently. Developer and CI environments routinely carry AWS_*, GITHUB_TOKEN, NPM_TOKEN, and other credential-shaped variables, so a full env dump to an attacker endpoint is credential theft against the installer.
What should I do about MAL-2026-12101?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.