Security · · 7 min read
SHA-256 is not broken. That is not the point.
A government advisory and a new piece of cryptanalysis landed the same day. Together they describe the problem we built our team to work on.
December 2 gave me two reasons to pay attention, a few hours apart. One came from a government agency, the other from inside my own company. Put next to each other, they map almost perfectly onto the problem the three of us started Shorium to solve.
The morning: the least glamorous instruction
In the morning the NSA published an advisory telling operators of national security systems to accelerate their move to post-quantum cryptography. The headline is the urgency, and that is real. But the instruction I keep coming back to is the quiet one near the top.
Before you migrate anything, the advisory says, inventory your cryptographic dependencies. Catalog the public-key algorithms, the digital signatures, the firmware validation paths your systems rely on. Then prioritize firmware signatures and hardware roots of trust, because those are often hard, sometimes impossible, to change after a device has been acquired and fielded. Write the new requirements into how you buy, so you do not bake a quantum-vulnerable root of trust into something you cannot patch. And make sure systems have the headroom to update their algorithms again later, because today’s choice will not be the last one.
Read as a whole, the advisory is not describing a one-time migration. It is describing a permanent capability: knowing what cryptography you depend on, and being able to change it on purpose.
The afternoon: what the paper actually shows
Later the same day, a paper went up on arXiv: “Free State Words, Claws and Lists: A Collision Attack on 39-Step SHA-256 in One MiB.” One of its authors is Dariia Porechna, our Chief Scientific Officer. I want to explain the work carefully, because this is a topic where loose language does real damage.
SHA-256 is a hash function with 64 internal steps. It sits under a huge amount of the digital world: firmware signatures, software update verification, digital signatures, certificate chains. The paper presents a collision attack on a reduced version cut down to 39 of those 64 steps, in about one MiB of memory, and it lowers the estimated cost of such a collision well below the previous best for that reduced variant. Earlier work had looked at 39 steps and judged it impractical, near a cost of 2168. This brings the estimate down to roughly 298.7. The implementations behind it were built with the help of AI coding agents.
Now the part that matters just as much. Full SHA-256, all 64 steps, is not broken. The attack was not run at full scale. No collision was produced, general or targeted. The cost is a careful estimate from an operation-count model, not a demonstration. If you use SHA-256 today, nothing about your systems changed last night.
This is progress against a reduced-round variant of SHA-256. It is not a break of SHA-256. Both halves of that sentence are true, and both matter.
Two kinds of erosion
Here is why these two events belong in the same post.
The NSA advisory is about the quantum threat, which targets public-key cryptography: the RSA and elliptic-curve math that protect key exchange and signatures. That is the dramatic, future-machine kind of risk, and it is why post-quantum migration is urgent.
The paper is about a different and much older kind of erosion. Hash functions like SHA-256 are not threatened by quantum computers in the same way. They are chipped at by classical cryptanalysis, slowly, over years, one reduced-round result at a time. This is the ordinary, unglamorous way primitives age. What is new is the speed: the tooling that explores these attacks is becoming faster and more automated, and this work used AI coding agents to build the implementations. That does not break anything by itself. It does change how quickly the line can move.
It is worth being concrete about where this lands. A hash function is what a secure boot chain uses to decide that a piece of firmware is the firmware the manufacturer signed. It is what a software update mechanism checks before it trusts a new image. When people talk about the health of SHA-256, they are really talking about the integrity of those checks, on devices that may run for a decade or more. Two different mechanisms, quantum on one side and classical cryptanalysis on the other, are pushing on the same foundation. Your cryptography is not a fixed asset. It is a set of assumptions with a shelf life.
What an inventory actually looks like
The advisory makes the first step sound administrative. Catalog your dependencies. In a real product it is anything but.
I have sat in the version of this conversation that the advisory compresses into a bullet point. You ask a product team a simple question: which algorithm verifies the firmware on this device, and who holds the key that signs it. The room goes quiet. Someone thinks the check lives in the bootloader. Someone else remembers a hardware security module a contractor set up years ago. The build system has the real answer, buried in a script nobody has opened since the person who wrote it left. The algorithm itself is probably fine. The problem is that the organization cannot say so with confidence, and confidence is exactly what an auditor, a regulator, or an incident will demand.
This is the brownfield reality underneath every clean migration plan. Cryptographic trust is not designed in one place and documented in another. It accumulates, one decision at a time, across firmware versions, suppliers, and tools, until the map of what depends on what exists only in fragments. You cannot assess a risk you cannot locate, and you cannot migrate a dependency you have not found. The inventory is not paperwork that precedes the hard part. For most organizations, the inventory is the hard part.
Why a reduced-round result is still a signal
History is clear about how this goes. MD5 and SHA-1 did not fail overnight. They weakened across years of incremental results and shrinking cost estimates, until one day the full function fell and a lot of infrastructure that had quietly depended on it was caught flat. SHA-1 collisions went from theoretical to demonstrated, and the migration happened under pressure instead of on a plan.
I want to be careful. SHA-256 is in a far healthier position than SHA-1 ever was, and nothing in this paper says otherwise. The point is not the distance to the wall. The point is the direction of travel, and the fact that the wall is where your firmware signatures and update mechanisms live. Those are the exact dependencies the NSA told operators to inventory that same morning. The health of a primitive like SHA-256 is not an academic curiosity to a product team. It is a dependency sitting under the thing that decides whether a device will accept its next update.
The question is never only “is this primitive secure today.” It is “would I know where it lives, and could I change it, on the day the answer changes.”
Agility is a design decision, not a line item
Crypto agility gets written down as a requirement, but it is really a design decision, and an early one. In practice it means never letting a single algorithm get welded into the places that are hardest to reach. It means a firmware verification path that can accept a new signature scheme without a hardware recall. It means an inventory that updates itself when a build changes, instead of a spreadsheet someone fills in once for an audit and never opens again.
None of that is cryptography in the mathematical sense. It is architecture and product discipline, decided while a device is still cheap to change. When the NSA advisory asks for enough processing power, memory, and headroom to update algorithms later, it is using procurement language to ask for exactly this. Build the ability to change before you know which change you will need. That is the part teams skip, because on the day you ship, agility costs money and buys nothing you can see. It pays out years later, on the day a primitive weakens or a standard shifts, and by then it is too late to add.
Why this is the team we built
The reason these two events belong together is that they are the two forces Shorium exists to sit between. One is the present pressure: advisories, deadlines, auditors. The other is the frontier, where the primitives are actually being tested and will eventually give.
Most companies in this space have one side of that. They have compliance people who can read an advisory, or they have cryptographers who can read a paper. The call we made was that you need both in the same room. Dariia and her coauthors work at the level where the math moves. Danny Bontà spent years in cybersecurity watching how this plays out in the field. The rest of us turn that into something a product team can see and operate. Remove any one of those and you are either selling compliance theater or publishing results nobody can act on.
That proximity to the research is not a vanity metric. You cannot build credible continuity technology for cryptography you only understand from the outside. Having the cryptographers inside the company is what lets us design for where this is going, not only for where it is. I am not going to pretend the product has every one of these answers today. We are early. But the thesis is not speculative, and December 2 is a clean example of why.
The honest version
So here is the plain version, without the scary headline and without the shrug.
SHA-256 is secure today. A strong team, ours included, just made measurable progress against a reduced version of it, using about a megabyte of memory and AI tooling, on the same day a national security agency told everyone to treat their cryptographic dependencies as things that will have to change. The research and the advisory are not the same story, but they rhyme. Both say the ground moves. Both say the time to know your own footing is before it does.
That is the layer we are building: not the next headline, and not the next paper, but the thing in between that lets an organization know where its cryptography lives and change it on purpose. December 2 was a good reminder of why that matters at both ends.
