MAL-2026-12064 Malicious code in ckcc-protocol (npm)
- Package
- ckcc-protocol
- Registry
- npm
What is MAL-2026-12064?
MAL-2026-12064 is a malicious package in ckcc-protocol, published on 5 Aug 2026.
Official description
The npm package [email protected] typosquats the legitimate Coldcard ckcc-protocol tool and ships no functionality (index.js exports {}). Its package.json declares a postinstall script that runs automatically on npm install. The postinstall reads a fixed set of installer-side secret files, including ~/.env*, ~/.npmrc, ~/.aws/credentials, ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.ssh/id_ecdsa, ~/.config/solana/id.json, and ~/.ethereum/keystore, plus any dotfile whose name matches /wallet|key|secret|seed|mnemonic|keystore|private/i. It bundles the collected file contents together with os.hostname() and os.userInfo().username into a JSON payload and POSTs it via https.request to webhook.site/5c5ad6cb-62df-4ea5-9dfb-2c447920ddc4. The destination is an attacker-controlled request-capture endpoint, not the legitimate Coldcard project.
The OpenSSF Package Analysis project identified 'ckcc-protocol' @ 1.0.0 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
What should I do about MAL-2026-12064?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.