A would-be NTSB for cryptography bugs just showed up

5 min read 1 source clear_take
├── "Cryptography needs an NTSB-style institutional memory for recurring failure modes"
│  ├── Cryptography Incident Review Group (cirg.org) → read

CIRG argues that most production cryptography failures are not novel math problems but the same small catalog of mistakes rediscovered every ~18 months (nonce reuse, padding oracles, CBC-MAC order, weak ECDSA RNGs, invalid curve points). They propose NTSB-style structured incident reports, a failure-class taxonomy with cross-references, and practitioner bulletins to turn scattered CVEs into durable institutional memory.

│  └── @heavensteeth (Hacker News, 66 pts) → view

By submitting CIRG to Hacker News, the poster signals endorsement of the pitch that the current CVE-plus-blog-post cycle produces no institutional learning. The 66-point score suggests the HN audience finds the framing — that crypto bugs are a repeat-offender problem, not a frontier research problem — compelling.

├── "The aviation safety analogy is load-bearing and historically validated"
│  └── top10.dev editorial (top10.dev) → read below

The editorial takes the aviation comparison seriously, noting commercial aviation cut its fatal accident rate by two orders of magnitude not through better pilots but through a culture of public near-miss reports wired into training, checklists, and design. The implication is that cryptography's safety gains will similarly come from systemic post-mortem discipline rather than from hiring smarter cryptographers.

└── "The target audience should be shipping practitioners, not academic researchers"
  └── Cryptography Incident Review Group (cirg.org) → read

CIRG explicitly pitches its outputs as 'post-mortem shop, not academic conference,' aimed at the engineer shipping a signing service on Tuesday rather than someone writing a paper for CRYPTO 2027. The bet is that the gap between CVEs and academic literature is where real-world crypto breaks, and that gap can only be closed by writing for practitioners in their own idiom.

What happened

A new project calling itself the Cryptography Incident Review Group (CIRG, cirg.org) surfaced on Hacker News with a simple pitch: cryptography needs what aviation has. When a plane crashes, the NTSB publishes a report that names the failure modes, the contributing factors, and the systemic weaknesses that let a single mistake propagate into a disaster. When a TLS library ships a timing side channel for the fourth time in a decade, we get a CVE, a patch, a blog post, and roughly zero institutional memory.

The group is positioning itself as the missing layer between individual CVEs and the academic literature. The claim is that most production cryptography failures are not novel math problems — they are the same small catalog of mistakes rediscovered by a new team roughly every eighteen months. Nonce reuse in AES-GCM. PKCS#1 v1.5 padding oracles. CBC with a MAC applied to the plaintext instead of the ciphertext. ECDSA with a weak RNG. Invalid curve points accepted by a server that forgot to validate them. These are not exotic. They are in textbooks. They keep shipping anyway.

CIRG's site frames the work around three outputs: structured incident reports modeled on NTSB format, a taxonomy of failure classes with cross-references to past incidents, and periodic bulletins aimed at practitioners rather than researchers. The tone is deliberately post-mortem-shop, not academic conference — the target reader is the person who has to ship a signing service on Tuesday, not the person writing a paper for CRYPTO 2027.

Why it matters

The aviation analogy is load-bearing here, and it is worth taking seriously. Commercial aviation reduced its fatal accident rate by roughly two orders of magnitude over the second half of the twentieth century. It did not do this by hiring better pilots. It did it by building a culture where every near-miss gets written up, every report is public, and the lessons get wired into training, checklists, and aircraft design. Cryptography has the math equivalent of checklists — RFCs, formal verification, misuse-resistant APIs — but the feedback loop from incident to community knowledge is weak, slow, and gated by legal teams.

Consider the state of the art today. A serious crypto bug lands in a major product. If you are lucky, you get a CVE with a terse description and a CVSS score that was probably assigned by someone who has never written a line of constant-time code. If you are very lucky, the researcher publishes a detailed write-up months later, often behind a conference embargo. If the vendor is embarrassed, you get a sanitized advisory that omits exactly the details a defender would use to check their own code. There is no single place a working engineer can go to ask: *has anyone ever gotten this particular pattern wrong before, and how?*

There have been partial attempts. The IACR ePrint archive is a firehose with no editorial layer. MITRE's CWE has crypto categories but they are shallow and aimed at static analyzers. Real Word Crypto and Crypto workshops do post-mortems, but the output lives in slide decks on personal websites. What CIRG is proposing is boring and bureaucratic in exactly the way that NTSB reports are boring and bureaucratic, and that is the entire point — boring documentation that survives contributor churn is more useful than a brilliant blog post that 404s in 2028.

The skeptical read is also fair. Aviation's success rests on regulatory authority: airlines are compelled to report, and reports are protected from discovery in litigation. CIRG has neither lever. Vendors will not voluntarily submit incidents that expose them to class actions, and researchers already have strong incentives — papers, talks, bug bounties — to publish on their own terms. The group will have to earn its corpus the slow way: scraping public advisories, re-analyzing published research, and building enough credibility that incident responders start volunteering material. That is a multi-year project with no obvious funding model, and the graveyard of well-intentioned security consortia is not small.

The LLM angle is new and underdiscussed. In an era where coding assistants will happily autocomplete a Bleichenbacher-vulnerable RSA decryption routine because that pattern appears thousands of times in GitHub, a well-indexed corpus of "things that look reasonable and are catastrophically wrong" is no longer just human-facing documentation — it is training and retrieval data for the tools that will write most future cryptographic code. If CIRG's taxonomy ends up in a few RAG indexes used by security-focused coding tools, its practical reach could outstrip its direct readership by an order of magnitude. That is a plausible path to relevance even without vendor cooperation.

What this means for your stack

If you ship anything that touches keys, tokens, or signatures, the near-term value is a reading list. The first pass of any CIRG-style corpus will concentrate on the incidents you already half-remember: Heartbleed, the Debian OpenSSL PRNG bug, Dual_EC_DRBG, ROCA, Lucky13, the various ECDSA nonce catastrophes in Bitcoin wallets and PS3 firmware, the recent run of post-quantum implementation bugs in Kyber and Dilithium reference code. Reading five of those back-to-back with a consistent failure-class vocabulary attached is genuinely more useful than reading twenty disconnected blog posts.

More concretely, three practices get cheaper if this works. First, threat modeling: instead of arguing from first principles about whether your JWT validation is safe, you point at incident class 4.3.2 and the three times it has shipped in production. Second, code review: a reviewer with a shared taxonomy can flag "this looks like incident pattern X" and the author knows what to go read. Third, library selection: picking between two libraries becomes less about GitHub stars and more about which one has fewer entries in the catalog and faster response times when they land.

For teams rolling their own primitives — and you should not, but you will — the honest ask is to treat the eventual CIRG catalog as a pre-commit checklist. If your new code introduces a pattern that appears in the top twenty historical incidents, the burden is on you to explain why yours is different, not on the reviewer to prove it is the same. That inversion alone would catch most of what currently ships.

Looking ahead

On the surface it is a charming toy: a small group of cryptographers writing up old bugs in a consistent format. Underneath it is a surprisingly ambitious bet that the thing holding applied cryptography back is not more math, more formal methods, or more misuse-resistant APIs — it is the absence of a shared, searchable, dully-written institutional memory of how smart people got it wrong. That bet might not pay off. It depends on contributors showing up, on vendors eventually cooperating, and on the corpus reaching the critical mass where coding tools start citing it. But the diagnosis is correct, and the proposed treatment is the one the adjacent industry with a comparable safety problem actually used. Worth bookmarking the site, and worth a quiet cheer for anyone willing to do the unglamorous work of writing the checklists the rest of us will eventually copy.

Hacker News 114 pts 48 comments

Cryptography Incident Review Group

→ read on Hacker News
1e1a · Hacker News

Have any of the listed members publicly confirmed that they are part of this group? I did not find anything from a brief search of the members' linked personal websites.

Panino · Hacker News

Some whois info: Domain Name: cirg.org Registry Domain ID: REDACTED Registrar WHOIS Server: http://whois.godaddy.com Registrar URL: http://www.whois.godaddy.com Updated Date: 2026-11-28T14:07:35Z Creation Date: 2022-06-06T22:05:53Z Registered in 2022, updated less than a day ago.

gpt5 · Hacker News

The market must be significantly underpricing the risk to cryptocurrencies like Bitcoin.On one hand, we see major computer systems hacked regularly now, and it’s just a matter of time before major exchanges get their private keys exposed. They are such a high value target.On the other hand, there is

ggm · Hacker News

Having a bunch of people declare they are outside state agencies and the post ai FAANG and will talk about what they see and how they understand it, seems to me like a good thing.Society at large has a lot bound up in this. All NATO armed forces use PKI for identity and access, the global credit car

MintyFresh42 · Hacker News

It has been shared by Steve Weis, a software engineer at Anthropic:https://x.com/sweis/status/2126956656768799014He factored RSA-896 using Claude last September:https://saweis.net/posts/rsa-896.html

// share this

// get daily digest

Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.