An AI agent just debugged the most decentralized money system on Earth before humans even noticed the problem.

The Summary

The Signal

Loupe is an open-source AI scanner built by Block's Spiral team specifically to examine Bitcoin code. The tool caught a flaw that would let an attacker flood a node with duplicate transaction identifiers, creating a denial-of-service condition that could freeze parts of the network. Not catastrophic, but enough to disrupt operations.

The patches shipped Friday for Bitcoin Core versions 30.5 and 31.3. If you're running 29.x, you're out of luck. That branch is retired, which means node operators still on that version are now making a choice: upgrade or accept the risk.

"The retired 29.x branch will not get a fix."

This is the interesting part. Bitcoin's security model depends on decentralized human review. Thousands of developers, researchers, and paranoid cypherpunks poking at the code. That worked for 15 years. But now we have AI agents doing the same work, faster and without coffee breaks. Loupe scanned, flagged, and escalated this bug through proper channels. The human maintainers verified it, wrote the patch, and shipped it.

The 50,000 repetitions threshold suggests this wasn't an obvious exploit. It required scale to trigger. The kind of edge case that gets missed in manual review because humans think in common patterns. AI agents don't have that bias. They test everything, including the stupid stuff that turns out not to be stupid.

Key implications:

  • AI code auditing just became standard tooling for critical infrastructure
  • Human security researchers now compete with agents that never sleep
  • Bitcoin's trust model (don't trust, verify) now includes verifying what the AI found

Block open-sourcing Loupe changes the economics of security research. If every protocol can run this scanner, the ones that don't will look negligent. Bug bounties used to pay humans five or six figures for findings like this. Now the marginal cost of running an AI audit is compute time.

The Implication

Watch what happens to security audit firms over the next 12 months. The ones that don't integrate AI tooling will lose clients to the ones that do. Not because AI is better at every type of review, but because it covers more surface area faster. Human experts will shift from finding bugs to triaging what the AI surfaces and understanding second-order effects.

If you run infrastructure, the question isn't whether to add AI agents to your security stack. It's how fast you can spin them up before someone else's agent finds your bug first.

Sources

The Defiant | CoinDesk