Skip to content
Crypto.world

The Ledger

Keylabs says COLDCARD seed-generation fix holds up in review of shipped firmware

Keylabs says its review confirmed the COLDCARD seed-generation remediation in four signed firmware binaries. The assessment was limited to the randomness fix and does not repair seeds created on affected firmware.

Keylabs says COLDCARD seed-generation fix holds up in review of shipped firmware

Review confirms the fix in shipped firmware

Keylabs says its review confirmed COLDCARD’s seed-generation remediation in signed firmware binaries and found the controls sufficient to close the vulnerability class it examined. Coinkite published the review on November 21, ahead of a fuller incident postmortem. The report lists Coinkite as its client; Coinkite calls it an independent source-and-binary review.

The report, dated October 15, examined the Mk5 5.6.3 and Q 1.5.3Q releases, along with their immediate predecessors, 5.6.2 and 1.5.2Q. It also compared the current firmware with Mk5 5.5.1, a pre-fix version, and traced the seed-generation path through source code and compiled binaries.

How the flaw worked

The report attributes the July 2026 defect to firmware configuration, not a hardware failure. A configuration macro was set to zero, but a code guard checked whether the macro was defined rather than whether its value enabled the hardware random-number generator. As a result, the seed-generation path used MicroPython’s Yasmarang software generator instead of the STM32 hardware RNG.

Keylabs found that the defective generator’s output remained statistically uniform and passed the statistical health tests it examined, including FIPS CRNGT, NIST SP 800-90B RCT/APT and SP 800-22. Keylabs said detecting the problem required tracing the compiled firmware’s actual RNG path.

Four layers of checks

The reviewed remediation puts safeguards at compile time, during the build and at boot. These include a value-checked compile-time guard, removal of the software RNG from the build, a build check that verifies the linked path reaches the board’s hardware RNG, and a boot self-test that stops the device if the hardware path check fails.

The report also describes the reviewed firmware’s entropy handling: a SHA-256 Hash_DRBG seeded from 1,024 hardware-TRNG bits, fresh hardware randomness mixed into its output, and a full 32-byte secure-element digest used for the boot reseed instead of a 32-bit portion. Keylabs says its binary analysis confirmed that the released images read the STM32 hardware RNG register.

For the comparison, the reviewers checked each image’s SHA-256 against PGP-signed release hashes and disassembled the four current signed binaries, as well as the pre-fix Mk5 image. The report says the RNG-path C code is byte-identical within the 5.6.2/5.6.3 and 1.5.2Q/1.5.3Q release pairs.

Scope and remaining caveat

Keylabs concluded that the July 2026 seed-generation defect was fully closed in the current firmware it reviewed. It said it did not independently establish Coinkite’s earlier estimates of about 40 or 72 bits of effective entropy. The assessment was limited to the remediation; Coinkite’s post says the review did not cover every COLDCARD feature, model or release track, and that Edge firmware was outside its scope.

The review does not change the migration guidance for users with seeds generated on affected firmware. Installing fixed firmware corrects future seed generation but does not repair an existing affected seed, the report says; Coinkite’s post directs affected users to create a new seed on corrected firmware and move funds according to its migration guidance.

Sources

  1. Original source · Blog post Keylabs blog.coinkite.com

Other pages read

  1. Coinkite blog: Keylabs Review of the COLDCARD Seed-Generation Remediation blog.coinkite.com

Related stories

Explore

More articles