LLMs are very two-sided for security.
On the one hand, long-latent bugs are finally surfacing.
On the other hand, before you choose to use a product, you can get your own code review done for incredibly low cost*!
In the short term it’s incredibly bad, in the long-term it democratizes code review greatly. “Don’t trust, verify” finally becomes an actual possibility for normal people!
* of course LLMs do still make up issues when asked, push any such review to write PoCs to check their analysis!
Sjors Provoost
sjors@sprovoost.nl
I asked my clanker for a deep crypto review and it only came back with minor things.. I don't feel confident at all.
Of coldcard? I know several people who asked different LLMs yesterday and each immediately found the issue.
Now, maybe they promoted it with “there’s an issue leading to drains!” Rather than “do a review”, but could always start with that.
Of Amethyst. But I am not surprised it could find the issue after it was published. I am concerned about issues that have yet to make public.
The idea that a personal LLM can find new issues is not valid right now.
No, I mean people who reproduced the issue before it was public. The only prompts were things like “there appear to be funds getting drained from coldcards, let’s look at the firmware and find the bug”.
Anyone with a Claude or OpenAI subscription absolutely had no problem finding the ColdCard bug a week ago, if they looked.
So you are saying that nobody asked that question for almost 2 years that we had this AI capability.. not even Coldcard employees?
Well, I’m not sure if a model from a year ago would have found it, but, yes, absolutely no one asked the question in the past three to six months…. Until this week.
Sounds hard to believe. Even on Amethyst and other opensource tech I use, I ask this question almost every month to see if it finds anything new...
For the record, I have asked that on Bitcoin core multiple times already. I never got anything interesting back. So, someday when we find a bug on Bitcoin Core, I can point to this reply to let people know that no, consumer AI doesn't have the power to find these things easily.
I can only go on my experience from yesterday and testing on LDK. Yesterday I know at least three people who asked three different LLMs to find the coldcard issue before any details were public and all three successfully found the issue. On LDK we’ve been doing code scanning and they have found many issues (most not critical security ones, but real problems with fixing, and some important security fixes as well!)
That kinda my experience too.. but this bug on Coldcard was way too basic to survive LLMs for this long. I think LLMs could only find it after focusing them on something it.. and then once it got out, they are extremely good in finding new information on the web to use for their code search.. Now all of them find the issue very quickly.
I think you drastically underestimate how much people have scanned things with LLMs! Also they might have tried six months ago but the models are much better today than at the beginning of the year!
And, again, this was well before anything was public and they weren’t searching, they were analyzing the code. One of them was even skeptical cause it seemed too broken!
The quality of 5.6 Sol and Opus 5 / Fable 5 compared to what we have before, especially when it comes to vulnerability analysis is night and day.
Even distilled models like K3 are leagues ahead of what we had for the past 2 years.
If you haven't yet, use a modern Clanker on the highest effort setting to comprehensively audit your code. And give it a harness that let's it experiment and actually test it's theories.
💯
I briefly tried yesterday and it didn't find it without cheating. It did find some of the other entropy issues mentioned in the write up. But I didn't try very hard.