Open Source Published here Reported by Verified Garbage on

Two pyca/cryptography maintainers shipped a crypto library whose assembly and proofs were written by LLMs

Verified Garbage landed on November 28: an experimental cryptography library in which every primitive is assembly for six architectures β€” x86, x86-64, ARMv7, ARM64, PPC64le and RISC-V 64 β€” proven in Lean to match its spec, stay memory safe and run in constant time. The authors describe themselves as long-time maintainers of pyca/cryptography, and say the library is implemented entirely by LLMs. The specs were LLM-written too, then reviewed by humans; those specs and the ISA models are the trusted computing base. It ships as a Rust crate with a rustls provider, dual Apache-2.0 and BSD-3-Clause, and refuses to build for configurations its ISA models do not describe.

Why it matters

The interesting claim is not that an LLM wrote assembly, it is that the thing checking the assembly makes the authorship irrelevant. Proofs do not require review, so what you audit shrinks to the specs and the ISA models, which humans read. That is a pattern you can lift: pick work where verification is cheaper than production, then let the model hill-climb inside the fence. The fence here has gaps the README states plainly β€” speculative execution is not modelled, no Spectre mitigations exist, the Rust API layer is tested rather than proven, and ML-DSA signing leaks hashes of secrets.

What to do

Read lean/README.md before anything else, since it names exactly what has to be trusted, and that boundary is the whole product. If you try the crate, cargo add verified-garbage needs Rust 1.95, and the rustls provider gives you an end-to-end path to measure. Do not put it in production: the authors call it an experiment and will not replace OpenSSL in pyca/cryptography with it yet. Check that your target is not one of the configurations it refuses.

Tags: Open Source Security Research

More from November 30, 2026

All AI news