Basis | Using LLM-based Verification to Eliminate Bugs in Linux's Network Stack
basis.ai · 3,397 words · saved by 1 readers
We used LLMs to verify Linux's nftables `nft` CLI utility. Along the way, we found and patched bugs that had sat in the kernel for years.
LLMs have grown alarmingly capable at finding bugs in production software. This accentuates an already severe risk: much of our critical infrastructure is mediated by software, and every bug in that software is a potential exploit. Formal verification offers the potential to mitigate this risk by producing proofs that entire classes of bugs are impossible, but it has seen limited real-world use because it demands scarce, expensive, specialist expertise. Fortunately, LLMs are increasingly capable of verification too, pointing toward a future where critical software infrastructure is secure by…
saved by
related reading
- Probe-Based Data Attribution: Surfacing and Mitigating Undesirable Behaviors in LLM Post-Traininggoodfire.ai
- When AI Writes the World's Software, Who Verifies It? — Leonardo de Mouraleodemoura.github.io
- Modifying LLM Beliefs with Synthetic Document Finetuningalignment.anthropic.com
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- On the Unreasonable Effectiveness of Property-Based Testing for Validating Formal Specifications | Proofs and Intuitionsproofsandintuitions.net
- A shallow dive into formal verificationvitalik.eth.limo
- lf-lean: The frontier of verified software engineering | Theoremtheorem.dev
- Formally Verifying the Easy Partbrainflow.substack.com
- Automatic Formal Verification for Code Generationlogicalintelligence.com
- Patterns for Building LLM-based Systems & Productseugeneyan.com
- LLM-as-a-Verifier: A General-Purpose Verification Framework | alphaXivalphaxiv.org
- The Compute Verification Postfirstscattering.com