Coldcard‘s 5-year flaw reveals hardware wallet testing gap: Kraken’s security chief

Абстракт:Kraken CSO Nick Percoco says Coldcards five-year seed-generation flaw exposes a broader lack of independent testing for hardware wallets. The bug, disclosed by Coinkite, routed wallet creation to a weaker MicroPython PRNG instead of the intended TRNG since March 2021, draining nearly $90 million from over 4,500 addresses. Percoco argues consumers must trust manufacturers without verifying that approved entropy sources are actually used in production firmware, unlike payment PIN devices or US cryptographic modules. Coinkite has halted shipments and destroyed affected inventory, but advises users not to dispose of devices in case funds are recovered.

Coldcards five-year seed-generation flaw has exposed a broader weakness in how hardware wallets are independently tested, according to Kraken chief security officer Nick Percoco.

In an X post on Sunday, Percoco said the incident should be a “wake-up call” for hardware-wallet makers, calling for independent testing to verify that the approved source of randomness is the one actually used by production firmware.

“Consumers are asked to trust a manufacturers implementation of the single most critical function in the system, with no independent verification that the approved entropy path is the one actually executing,” said Percoco.

His comments follow an ongoing attack that is believed to exploit weak seed phrases generated by affected Coldcard devices. As of Sunday, over 4,500 addresses have been impacted, draining nearly $90 million in Bitcoin.

Coldcard RNG flaw remained undetected for five years

On Thursday, Coinkite disclosed a software flaw that has existed since March 2021, when Coldcard changed its seed-generation process as it integrated a new cryptographic library.

The migration inadvertently routed wallet creation to a weaker MicroPython generator that existed in the codebase, rather than Coldcards intended true random number generator (TRNG).

“The bulk of randomness on the COLDCARD was coming from a PRNG that I didnt know was actually in the source code base,” Coinkite said in its postmortem. “At the same time the carefully crafted TRNG code I wrote was being used, but just by chance, and only for less important things.”

The presence of the intended random number generator allowed the vulnerability to slip through undetected. Code reviews would confirm the existence and functioning of Coldcards TRNG code, but there was no check to ensure this was the RNG actually being called.

Such checks are already standard across the rest of the security industry, said Percoco, referencing NIST SP 800-90B, a US government standard specifying requirements for designing, testing and validating physical true random number generators for cryptographic security and BSI AIS-31, a similar standard created by the German Federal Office for Information Security.

“Hardware wallets have no equivalent process. We have Common Criteria on secure elements, some CSPN certifications, and vendor-sponsored audits. None of them systematically force end-to-end verification that the validated entropy source is what production firmware actually calls,” he said.

“The payments industry does not let PIN entry devices ship without independent lab testing. The US government does not accept cryptographic modules without entropy source validation. Digital asset self-custody should not be the exception,” said Percoco.

Related: Suspected 4th Coldcard attack wave sweeps 389 Bitcoin: Galaxys Thorn

Coldcard said Sunday it has halted all device shipments since confirming the vulnerability on Thursday, and has destroyed all remaining units at its facilities containing the affected firmware.

However, Coinkite has advised users with affected devices not to dispose of them as “it may become essential if funds are recovered.”

“Our legal team will coordinate as warranted with law enforcement across multiple jurisdictions to support efforts in identifying those responsible.”

Отказ от ответственности

Мнения в этой статье отражают только личное мнение автора и не являются советом по инвестированию для этой платформы. Эта платформа не гарантирует точность, полноту и актуальность информации о статье, а также не несет ответственности за любые убытки, вызванные использованием или надежностью информации о статье.
Предыдущая статья

Торговля токенизированными акциями выросла на 288% в июле, однако большую часть объёма обеспечил один токен QQQ

Следущая статья

Почему платформа DeFi отказалась от потребительского приложения, чтобы стать скрытой инфраструктурой для технологических гигантов