# Trail of Bits Used AI Agents to Build Custom Tools That Found a Signature-Forging Bug in Miden zkVM

Original title: Security auditing in the age of (good enough) AI

> Hacker News story 49793957 · language: en · submitted 2026-09-21
> Web version: https://zeli.app/story/49793957
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 93 · by [aray07](<https://news.ycombinator.com/user?id=aray07>) · 💬 16
[original](<https://blog.trailofbits.com/2026/09/18/auditing-in-the-age-of-good-enough-ai/>) · [HN discussion](<https://news.ycombinator.com/item?id=49793957>)

## Summary

Trail of Bits spent six months using AI agents to build an LSP server, decompiler, static analysis engine, and Lean model for the Miden zkVM's custom assembly language. The tools uncovered over 400 type-validation gaps and a high-severity flaw: an unvalidated prover-supplied remainder in mod_12289 that would let a malicious prover forge Falcon signatures and drain accounts. The Lean work also produced 95 machine-checked correctness proofs and caught two bugs missed by unit tests.

## Key quote

> A malicious prover could exploit this to forge Falcon signatures and drain any Miden account controlled by a Falcon key pair.

## HN discussion (16 comments)

### [Segv77](<https://news.ycombinator.com/item?id=49839169>)

> Good enough AI for security auditing feels like asking for "good enough" brakes. There's just no room for complacency.

### [suhacker256](<https://news.ycombinator.com/item?id=49834938>)

> This is a great example of how we can actually be using AI to do things better, not just faster

---

## Cite

- Page: https://zeli.app/story/49793957
- Date: 2026-09-21
- Source: blog.trailofbits.com (https://blog.trailofbits.com/2026/09/18/auditing-in-the-age-of-good-enough-ai/)
- Hacker News: https://news.ycombinator.com/item?id=49793957

## Other languages

- zh: https://zeli.app/zh/story/49793957 · markdown: https://zeli.app/zh/story/49793957.md
- ja: https://zeli.app/ja/story/49793957 · markdown: https://zeli.app/ja/story/49793957.md
- ko: https://zeli.app/ko/story/49793957 · markdown: https://zeli.app/ko/story/49793957.md
- de: https://zeli.app/de/story/49793957 · markdown: https://zeli.app/de/story/49793957.md
- es: https://zeli.app/es/story/49793957 · markdown: https://zeli.app/es/story/49793957.md
- ru: https://zeli.app/ru/story/49793957 · markdown: https://zeli.app/ru/story/49793957.md
