Trail of Bits Audits Miden zkVM with AI Agents Building Their Own Toolchain
Auditing in the age of (good enough) AI
AI summary
Before auditing Miden's zero-knowledge virtual machine, Trail of Bits spent six months having AI agents build from scratch an LSP server, a decompiler, and a static analysis engine, and found one high-severity vulnerability: in the mod_12289 process, the remainder provided by the prover was not verified, allowing a malicious prover to forge Falcon signatures and steal account funds.
Why it was selected
Trail of Bits reviewed the complete process of using agents to build LSP, decompiler, and Lean models from scratch to audit Miden zkVM, which can be transferred to code audit scenarios lacking toolchains.