AI Smart Contract Audit: What 8 Real Audits Revealed
Would you deploy your code onchain if the only review it ever had was an AI smart contract audit? At DeFi Security Summit 2026 in Mumbai, I tried to answer that with data, not opinions. We took eight audits we had already completed at Dedaub, set our own reports aside, and asked AI agents to audit the same code from scratch.
Comparing what the agents found with what our auditors had found shows where AI already helps and where it still falls short. Below I walk through the results and what they mean if you are deciding how to get your own protocol audited.
How the experiment worked
The eight audits were a mix: six written in Solidity, one in Move on the Sui chain, and one for the TON chain. The in-scope code ranged from a few hundred lines to more than 12,000, and each original audit had taken two to four auditors anywhere from 4 to 30 working days. Between them, those reports listed 61 serious bugs, meaning issues rated critical, high, or medium: 8 critical, 14 high, and 39 medium.
The agents worked blind, with no report and no hints. An AI matcher then paired each finding with items in the human report. For each agent, we triaged its 10 most severe findings per audit and manually reviewed anything rated medium or above.
We tested a wide range of approaches. At one end was a flagship model given a single short prompt asking it to audit the code. In the middle were lighter setups that add checklists, along with public tools that run security scanners and let a model triage the results. At the far end were what I call “audit factories”: multi-step pipelines, built in-house, that map the protocol, hunt for issues in parallel, and try to prove each one before reporting it.
AI smart contract audit results: the headline numbers
We ran the experiment twice, first in June 2026 and again a month before the talk with newer models. Before showing the results, I asked the room to guess what share of our auditors’ findings the AI would also catch. Most people said about half, which was not far off.
On the six Solidity audits, which held 22 serious bugs between them, the typical agent (the median of all the setups we tested) found 45%, up from 23% in June. If you count a bug as found whenever at least one agent caught it, the agents together reached 73%, up from 59% in June.
Adding the Move and TON audits, the agents together found 32 of all 61 serious bugs (52%), and severity made a clear difference. They caught 6 of the 8 critical bugs and 11 of the 14 high ones, but only 15 of the 39 medium ones; 24 of the 29 bugs no agent found were medium.
Loud bugs get caught, subtle ones slip through, and the medium bugs that AI still misses tend to sit in business logic, accounting, and the protocol’s own specification.
Cost: more scaffolding, more tokens
Better results came at a price. The heaviest in-house pipeline scored highest, but it also had the highest token consumption: about $756 per 10,000 lines of code, compared with roughly $13 to $22 for a single prompt to a flagship model. So far we have re-run that pipeline on only four of the Solidity audits, so its number rests on a smaller sample.
Did the AI find bugs the auditors missed?
It did. Among each agent’s 10 most severe findings per audit, on average 4.5 were bugs already in the human report and about 1.1 was a real serious bug our auditors had not caught. The rest were low-severity or informational, as rated by the agents themselves. Across the eight projects, the agents surfaced 16 serious bugs that the original audits had missed: 2 high and 14 medium, none of them critical.
There is an important caveat, though. All eight audits were older engagements, carried out before we used AI in our own work at Dedaub, so this compares pure human review with pure AI review. It tells you nothing about what auditors and AI achieve together.
What changed in four months
Between the June run and the one a month before the talk, three shifts stand out.
First, plain models caught up with June’s agents. A single prompt to today’s flagship models (Claude Fable 5.1 and GPT-6 Astra in our test) beat the full agent pipelines we had tested in June, and most of that gain came from the models themselves.
Second, the gap between plain models and purpose-built agents is closing. In June, the best purpose-built agent found 40% of the serious bugs in the Solidity audits, compared with 23% for a plain model. Now it is 60% against 45%. Although pipelines add less than before, building a pipeline around the model still pays off. A pipeline guides the model on where to look and what to look for over several rounds. Newer models try to do this on their own, but in my view an experienced human auditor still gives better instructions than AI does.
Third, less common languages made big gains. On the Move audit, the agents went from finding 3 of the 28 serious bugs to finding 9, which suggests the models have been trained more on languages like Move and TON.
Can AI audit your smart contract?
My short answer is no, not on their own.
The clearest way to see why is to compare a bug bounty with an audit. In a bug bounty, you only need to find some serious bug in any protocol, and AI can already do a lot there. An audit is a different job: the goal is to find all the bugs you can in one specific protocol and deliver a security assessment that says whether it’s ready to deploy. For that job, relying only on AI agents is not yet a good decision.
That does not mean AI has no place in an audit. Our auditors at Dedaub use AI in their own pipelines, and it is improving their efficiency, coverage, and overall performance.
The limits of the study
These numbers have limits worth knowing. The sample is small: with eight audits and 61 serious bugs, a single bug shifts the percentages by more than a point and a half. We ran each agent only once, so we have no measure of how much results vary from run to run. We also removed anything that could give the answers away, such as Git history, but some of the reports are public, so the models may have seen those bugs during training. Part of the improvement could come from this, and we are still looking into it. Finally, invalid findings such as hallucinations were very rare. The bigger problem was overstated severity: findings that are real but depend on unlikely assumptions and deserve a lower rating.
What this means if you are choosing how to get audited
If you are weighing an AI smart contract audit against a full audit, keep in mind the difference between a bug bounty and an audit.
AI tools are an inexpensive first pass that catches many of the most obvious bugs. But they still miss most subtle, medium-severity issues in business logic and accounting, the very issues an audit is meant to rule out before you ship.
These numbers are a snapshot, and the last four months showed how quickly they can move. For now, AI belongs inside the audit, not in place of it.
Watch the talk
My full talk, including the Q&A, is on our YouTube channel: Can AI Audit Your Smart Contract? We Tested It on Real Audits.





