{"id":"MAL-2026-12064","revision":"ba2ec645fe754aaabc2b94b3f45eca9b","records":[{"revision":"ba2ec645fe754aaabc2b94b3f45eca9b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12064","aliases":[],"title":"Malicious code in ckcc-protocol (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3ebcdc07616ec6ab418a9005e1486d05f3753dc4d37f6ce61c5daed495d31e25)\nThe npm package ckcc-protocol@1.0.2 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.\n\n## Source: ossf-package-analysis (61a440517bf97875e91920faabc309da8fa1bfe264e510fa54e5ffa210bd1d15)\nThe OpenSSF Package Analysis project identified 'ckcc-protocol' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-08-05T01:47:56+00:00","modifiedAt":"2026-08-05T07:21:06.1295958+00:00","affected":[{"ecosystem":"npm","name":"ckcc-protocol","ranges":[],"versions":["1.0.0","1.0.3","1.0.2","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ckcc-protocol/v/1.0.3","https://www.npmjs.com/package/ckcc-protocol/v/1.0.2","https://www.npmjs.com/package/ckcc-protocol/v/1.0.0","https://www.npmjs.com/package/ckcc-protocol/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12064","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12064","identifiers":["MAL-2026-12064"]},"retained":false,"historicalAffected":[]}],"coverage":[]}