---
title: Coinkite postmortem: COLDCARD wallets generated seeds from MicroPython's software PRNG instead of the hardware RNG from March 2021 to July 2026, and attackers stole funds by regenerating keys offline | ctxsec
url: https://ctxsec.com/items/coinkite-coldcard-postmortem-seeds-used-micropython-yasmarang-prng-2021-2026-40-72-bit-entropy-thefts
description: "Coinkite's 18-page report says a firmware configuration and linkage error (MICROPY_HW_ENABLE_RNG set to 0 plus an ineffective guard) made seed generation use MicroPython's Yasmarang PRNG, leaving roughly 40 bits of effective entropy on Mk2/Mk3 and 72 bits on Mk4/Mk5/Q instead of 128. From July 29, 2026 attackers regenerated private keys offline; devices were not remotely accessed. Coinkite fixed the firmware July 31 and, as of Nov 18, had about 300 loss-related tickets from 242 accounts. Outside estimates of total losses vary and are not confirmed by Coinkite's report."
status: "official (Coinkite postmortem, Nov 23, 2026)"
published: 2026-11-24
---

> Coinkite's 18-page report says a firmware configuration and linkage error (MICROPY_HW_ENABLE_RNG set to 0 plus an ineffective guard) made seed generation use MicroPython's Yasmarang PRNG, leaving roughly 40 bits of effective entropy on Mk2/Mk3 and 72 bits on Mk4/Mk5/Q instead of 128. From July 29, 2026 attackers regenerated private keys offline; devices were not remotely accessed. Coinkite fixed the firmware July 31 and, as of Nov 18, had about 300 loss-related tickets from 242 accounts. Outside estimates of total losses vary and are not confirmed by Coinkite's report.

[← Cybersecurity News](/news) · [markdown](/items/coinkite-coldcard-postmortem-seeds-used-micropython-yasmarang-prng-2021-2026-40-72-bit-entropy-thefts.md)

official (Coinkite postmortem, Nov 23, 2026)

2026-11-24 2:48 PM ET

### Coinkite postmortem: COLDCARD wallets generated seeds from MicroPython's software PRNG instead of the hardware RNG from March 2021 to July 2026, and attackers stole funds by regenerating keys offline

- Seeds generated on affected firmware stay weak after restore, import, backup or cloning; they must be replaced and funds moved, not just firmware updated.
- Fixed minimums: Mk2/Mk3 4.2.0; Mk4/Mk5 5.6.0 (Edge 6.6.0X); Q 1.5.0Q (Edge 6.6.0QX). Seeds generated with 50+ fair private dice rolls were not weakened, per Coinkite.
- Coinkite now verifies at build and boot that seed generation actually reaches the hardware RNG.

Sources: [Coinkite: COLDCARD Seed-Generation Incident: Postmortem (PDF, Nov 23, 2026)](https://blog.coinkite.com/reports/coldcard-seed-generation-incident-postmortem-2026-11-23.pdf) · [Coinkite: Technical Deep Dive into the Entropy Issue](https://blog.coinkite.com/entropy-technical-backgrounder/)
