AI security-bug agents spend 60.4% of tokens on code understanding; AVRI cuts cost
Overview
A study of 200 runs across four AI agents hunting security bugs found that 60.4% of tokens went to understanding code and reasoning about how to trigger the bug, according to a post by Rohan Paul summarizing the work.
The authors built AVRI, a tool that returns related code together and saves the links between program input and the unsafe operation. On 20 new tasks, AVRI cut total cost 18.0% for Codex and 23.7% for OpenCode without lowering success or recall, per the same report.
The report also says that only 24.4% of comparisons against the plain agent kept success while lowering cost, which is why the authors built AVRI.
Written by AI from the articles below · updated Oct 19, 4:11 AM ET
Check the sources:
Article timeline
The articles in this story. Times are ET.
Rohan Paul@rohanpaul_aiXAI security agents spend most tokens on code understanding, and AVRI cuts costAIA study of 200 runs across 4 AI agents hunting security bugs found 60.4% of tokens went to understanding code and reasoning about how to trigger the bug. Only 24.4% of comparisons against the plain agent kept success while lowering cost, so the authors built AVRI, which returns related code together and saves links between program input and the unsafe operation. On 20 new tasks, AVRI cut total cost 18.0% for Codex and 23.7% for OpenCode without lowering success or recall.

Heat Trend
Not enough continuous observations to show a trend yet.