AI agents found 29 bugs in power-grid protocol code for about $35 a project
Lee Pike and Mike Dodds used mid-tier Claude agents to audit power-grid protocol code. They report 29 defects across ten anonymized projects, at a total cost of about $1,050. Six bugs have been reported, twelve are confirmed but held, and the project names are hidden until fixes land.
What the agents did
Lee Pike and Mike Dodds used mid-tier Claude agents to do the tedious parts of an audit: building old C libraries with sanitizers, writing fuzz harnesses, setting up ESBMC model checking and TLA+ models of protocol state.
Fuzzing found 8 defects, model checking 5, and agent code review 16. The whole series, orchestration included, cost about $1,050, or about $35 a project. They compare that with roughly $20,000 for a single frontier-model bug hunt in OpenBSD.
What is still held back
Six bugs have been reported, twelve are confirmed but held, and the project names are hidden until fixes land. The method is being released as open source, with a rule that agents can prepare a disclosure but never send one.
One heap overflow, they said, came down to a single number: the caller sized a buffer with "< 65536" and the encoder used "< 65535". In another stack the sequence-number check accepted replays. Those details are from the authors' write-up.
The volume of checks behind the 29 defects
Besides the 8, 5 and 16 split already reported, the authors give the volume underneath: more than 13.6 billion fuzzer executions across the campaigns, 60 ESBMC bounded-model-checking proofs attempted, and 6 TLA+ protocol models built and checked against the real code. Findings showed up in 6 of the 10 projects; 4 had none. Of the 29 confirmed defects, 6 were filed, 12 were held, and 11 needed no report.
They also estimate the method can come down to about $10 to $20 per project once the hygiene is in place, and they are releasing the Claude Code methodology as open source. A language model, they note, can invent a plausible-sounding bug, but it cannot make AddressSanitizer fire on code that has no bug, or make ESBMC print VERIFICATION SUCCESSFUL if the proof does not hold. The residual risk, they say, moves to the setup, including harnesses that feed a library inputs no real caller would produce.
If the parser for a grid protocol is still a small C library, when was it last built with a sanitizer and actually fuzzed?
ICS Cyber News by email
Flashes and digests for the topics you pick. No ads.
Edited by Ilan Shaya with AI assistance