Bitcoin SHA-256 fallback urged after 39-round AI collision
Researchers urged Bitcoin to prepare a tested SHA-256 fallback after an AI agent found a collision in a weakened 39-round version, warning of coordination costs and stranded ASICs.
Outputs
HashSmash launched in October to test AI agents against four hash functions, including SHA-256.
A participant found a faster collision on a weakened 39-round SHA-256 variant within weeks.
Bitcoin's roughly five transactions per second means one lost hour could affect about 18,000 transactions.
Satoshi proposed an emergency checkpoint or scheduled hash replacement on June 14, 2010.
Tens of billions have gone into ASIC development and manufacturing, making hash changes costly for miners.
Bitcoin’s full 64-round SHA-256 remains unbroken, but StarkWare co-founder Eli Ben-Sasson says developers need a fallback because AI exposes cryptographic weaknesses faster than expected. In October, Eigen Labs and Zcash organization Shielded Labs launched the four-hash HashSmash contest; within weeks, a participant using AI agents found a faster collision on a weakened, 39-round SHA-256 version.
SHA-256 underpins Bitcoin’s mining and blockchain history. A collision means two different inputs produce the same hash. Rapid advances in AI-assisted mathematics have not broken the full function; nobody has come close. Hash-based cryptography remains the standard defense against quantum computers and AI.
Most quantum-security research on Bitcoin targets elliptic-curve signatures, because a powerful quantum computer could recover private keys from public keys with Shor’s algorithm.
Scott Aaronson said last week he knew of Anthropic’s new quantum lattice algorithm research. He also said he had heard endless rumors and speculation about what else AI laboratories might have, including breaks that could cause imminent danger. He called it astonishing good luck if current crypto protocols survive newly superhuman AI mathematicians without a scratch.
What did Satoshi Nakamoto plan if SHA-256 broke?
On June 14, 2010, Bitcoin’s pseudonymous creator proposed two responses.
- Emergency checkpoint: Participants would agree on the last trustworthy blockchain state, lock it and continue with a replacement hash.
- Planned phase-out: Developers would build and test replacement software, keep existing rules until a future block height, then require upgrades. This route could preserve all transaction history and balances while giving miners and developers time to adapt.
Satoshi wrote: “If SHA-256 became completely broken, I think we could come to some agreement about what the honest blockchain was before the trouble started, lock that in and continue from there with a new hash function.” For a gradual breakdown, he said, software could switch hashes at a specified block and every participant would have to upgrade by then.
Christopher Smith, founder and CEO of Quantus, said no established process exists. Developers, miners, exchanges and other participants would need to agree on where the legitimate chain ended before an attack; disagreement over that cutoff could make recovery contentious. Smith said major parties would almost certainly disagree, honestly or maliciously, creating a risk of a fork.
At roughly five onchain transactions per second, an hour of lost history could affect around 18,000 transactions, including payments for delivered goods and exchange withdrawals already credited. Smith said reversed transactions would have to be squared up by users themselves. Records on the abandoned chain could provide evidence that a payment had been made, but counterparties would still have to reconcile it.
In August 2010, BitcoinTalk participant “Inedible” asked whether transactions would stop while a patch developed and users would recreate payments. They estimated that an organization processing 10,000 transactions an hour could face substantial rework.
What would a hash change cost?
Smith called obsolete mining hardware the biggest obstacle to changing the algorithm. He said tens of billions have gone into developing and manufacturing ASICs, and even a small algorithm change would render them essentially worthless.
A replacement network also needs an appropriate starting difficulty because existing SHA-256 capacity gives little guidance on available computing power under a different algorithm. Smith said choosing the new hash would inevitably favor some players and make that advantage durable.
Soubhik Deb, head of research at Eigen Labs, said Bitcoin should begin replacing SHA-256 before an attack becomes practical; even a theoretical shortcut against the full function would warrant action. Deb said the network needs substantial lead time because changing the mining hash requires a hard fork.
Ben-Sasson proposed an automatic transition to SHA-512 triggered by the first publicly demonstrated collision. He said such a result would break psychological confidence in Bitcoin.
Advance notice could let manufacturers add support to future machines, although he acknowledged disruption to existing hardware. He said the change would let Bitcoin practice agility and update its core code.
How much warning does Bitcoin have?
Satoshi said in 2010 that SHA-256 was very strong, unlike the incremental step from MD5 to SHA-1, and could last several decades unless a massive breakthrough attack emerged. Deb said SHA-256 remains safe by a wide margin today, but would grow more concerned if techniques against weakened versions extended to more of the algorithm’s 64 rounds.
Smith cited predecessors broken over time, including MD4, MD5, SHA-0, RIPEMD and HAVAL-128, and noted that other hash functions can have different and sometimes better security properties. He said cryptography has no hard proofs of security: researchers build systems, attack them and assume security until someone visibly breaks them.
He nevertheless considered it realistic for AI to weaken or even break hash functions.
Ben-Sasson said the full 64-round function remains safe for now, but AI exposes these vulnerabilities much faster than anyone expected. “The prudent thing is to build a fallback today,” he said.
The next structural milestone is an agreed replacement, tested software and activation block; without them, a public collision would leave recovery open to an improvised fork.
via scottaaronson.blog (Original)
More from Daniel Okafor
Show full bio
Correspondent covering people, launches and day-to-day practice in crypto and web3 industry at Mempool Brief.
2,117 articles