Coldcard's $38M (so far) exploit shakes faith in self-custody

(coindesk.com)

25 points | by wslh 11 hours ago ago

19 comments

  • nonfamous 2 hours ago

    From the Twitter advisory [1]:

    >>> To every other developer: we believe this is a sober reality of the new AI paradigm. AI-assisted code review can now find latent bugs at a speed that is outpacing even the industry’s most seasoned experts. If your firmware is open-source or has ever been public, assume it's already being read by attackers and defenders alike.

    Kinda turns the “many eyes” principle of OSS on its head, eh?

    [1] https://x.com/nvk/status/2083216713693151552?s=61

  • name_nick_sex_m an hour ago

    Been saying it for years, default values are a bad idea!

  • name_nick_sex_m 42 minutes ago

    This article is bad because its adspam bullshit, and doesnt explain the vulnerability...

    .. but this stupidest thing coinkite did was their dogshit design: Trying to inject their RNG logic into lower levels and hoping 3rd party libraries (through micropython) used them correctly... rather than just using their hardware dependencies directly. That design, and all bugs that came out of it, seems massively and avoidably stupid

  • angry_octet 6 hours ago

    Incredible hyperbole from the Amicus guy:

    "This is hugely damaging to the people who believe that 8 billion people will hold their Bitcoin in cold storage in the future," Lawrence said. "That dream is over. Done."

    Sky is falling stuff. Actual cryptography experts have shown the importance (and difficulty) of random number generation for ages. Yes, if your "hardware wallet" aka computer and software is implemented poorly you will have issues.

    • pants2 an hour ago

      Crypto people make fun of me for making up passwords in my head, but my brain RNG has never been exploited, nor has anyone successfully Sherlock'd my password.

      • angry_octet an hour ago

        If it's long enough it's fine. They key property for passphrases is being able to remember them. But diceware phrases where you actually roll dice are stronger, and has evident verifiability.

        RNG on computers is still hard, and a proper HSM has a carefully designed source of randomness and mixing. I'd trust Yubikey RNG mixing into Linux urandom much more than a random hardware wallet developer.

        • pants2 38 minutes ago

          Yeah, something very cool is XOR can only improve randomness as long as there's no correlation between the sources. So Linux RNG XOR'd with this comment is even better than it's source!

  • swishman 6 hours ago

    This is really bad. This is going to set bitcoin back years.. if it ever comes back. There really is no point and no real use case for it outside of crime. Unless the whole world order collapses in which case we'll have bigger problems..

    • KetoManx64 2 hours ago

      - Yes it is bad, but there have been plenty of larger scale hardships in the past decade. - No it will not set back Bitcoin years - The US dollar is used for much more crime than Bitcoin ever has been - The financial world is collapsing in front of our eyes. The US dollar is inflating 8-12% every year, and the federal government wants to raise the debt ceiling even further. If you haven't realized how Bitcoin saves you from this by this point there's no point in trying to convince you otherwise.

  • greyface- 10 hours ago

    Spot the bug!

      #define MICROPY_HW_ENABLE_RNG (0)
      [...]
      #ifndef MICROPY_HW_ENABLE_RNG
      #error "get a HW TRNG plz"
      #endif
  • wslh 11 hours ago
    • nonfamous 2 hours ago

      That advisory would probably be more helpful if it described what the actual issue is. (I’m thinking maybe some content got lost when the Update at the top was added?)

  • sunshine-o 9 hours ago

    There must be a fascinated industry dedicated to cracking old, orphan, lost and forgotten accounts with bad seeds and entropy.

  • paulpauper 9 hours ago

    so there was $70 million just sitting there for five years in the open that anyone could have taken. Nuts.

    Enticed by riches, hackers worldwide are now going through all firmware source code , wit the help of the latest AI models, for all wallets to find misconfigurations and other problems. Expect more thefts from low entropy bugs. AI has clearly been shown to be more more adept at auditing code than humans.

    • expedition32 5 hours ago

      Meanwhile nobody has ever been able to hack a bank. Probably because they employ the actual pros unlike crypto.

      • name_nick_sex_m an hour ago

        And their source code isnt wide open for analysis

      • KetoManx64 2 hours ago

        > Nobody has been able to hack a bank

        Bro, people lose hundreds of millions of dollars to bank scams on a yearly basis.

        • matsemann an hour ago

          Not the same. And it's not like the same scams don't exist for crypto. Even worse, many of them are automated. One bad npm install could swipe my crypto, but probably not my bank account.