🛡 Claude and Codex agents find critical vulnerability in Miden zkVM

Over six months, Claude and Codex agents built an LSP server, a decompiler, a static analyzer, and a formal VM model in Lean for the Miden zkVM audit. The tools found 400+ instances of missing type validation in the public API and the mod_12289 bug: a malicious prover could forge Falcon signatures and drain accounts.

🌍 The economics of auditing are changing: custom tooling for a language without an IDE and linters can be built in months, making decompilation and Lean verification accessible to niche zk projects. Miden has already implemented the analyzer to check core library updates.

👤 A proven template: Claude plans, Codex reviews, and findings become regression tests—this is how fund-draining bugs are caught, not just style issues. All four tools are open on GitHub.

Source 1: https://blog.trailofbits.com/2026/09/18/auditing-in-the-age-of-good-enough-ai/

Source 2: https://github.com/trailofbits/masm-decompiler