Evaluating Cybersecurity AI Agents: What to Look for Beyond Recall
Recall alone doesn't tell the full story when benchmarking cybersecurity AI agents. This article explains why test design, run counts, exploration budgets, network restrictions, precision, and operational costs all matter when interpreting benchmark results, and offers a practical framework for evaluating agents before adopting one in real security workflows.
From Single Rankings to Evaluation Methodology
Whether an AI agent can uncover security issues in an application cannot be judged from demos or a single run. A metric like “how many issues were found” looks intuitive, but it depends on test scope, number of runs, exploration budget, network conditions, and how results are validated. When these factors aren’t fully disclosed, even a published ranking makes it hard to tell whether it reflects model capability or differences in experimental setup.
One type of public benchmark uses a multi-model, multi-case, repeated-run design: participating models span several families and different sizes or versions, with 32 cases included in total. Each model runs each case 3 times, with up to 30 exploration turns per run, and models are blocked from internet access. Under this design, counting each participating entry individually, the total number of runs equals “number of entries × 32 × 3.” Note that if a single model family includes multiple versions or checkpoints, whether they count as separate entries affects the final total. So when citing benchmark results, verify how participating entries are defined rather than inferring run counts from summary numbers alone.
The value of experiments like this isn’t just in comparing models—it also demonstrates how to break down a security agent’s performance into observable, verifiable metrics.
Why Recall Matters
In vulnerability detection, recall typically measures: of the known issues that should be found, what proportion the system actually identifies. If a test set contains \(N\) confirmed issues and the system finds \(T\) of them, recall is:
\[
\text{Recall} = \frac{T}{N}
\]
High recall means relatively few issues are missed, which is especially valuable for initial screening and risk triage. In security work, a missed detection can leave a real vulnerability out of the remediation pipeline, so recall is often treated as a core metric.
But it cannot represent overall quality on its own. A system that flags large amounts of normal behavior as risky may cover more real issues, but it also increases the manual review burden. That’s why recall must be paired with precision: of all reported issues, how many are actually valid. In practice, you should also consider whether reports provide sufficient evidence, whether issues reproduce consistently, whether severity ratings are reasonable, and whether remediation suggestions are actionable.
So “ranked first on recall” only means the system captured a higher proportion of known issues on a specific test set under specific judging rules. It does not directly imply that the system is safer or more accurate across all codebases, application types, or production environments.
What Multiple Runs Reveal
Security exploration by AI agents is inherently somewhat stochastic. The same model facing the same case may reach different outcomes depending on exploration paths, context organization, or intermediate judgments. Running each case multiple times helps reveal this variance instead of treating one lucky success as a stable capability.
That said, when the number of repetitions is limited, statistical conclusions still require caution. Three runs can give an initial sense of consistency, but they aren’t enough to fully characterize long-tail behavior. If a case succeeds only once out of three runs, the report should show success counts or variance alongside averages. And if results are identical every time, that alone doesn’t guarantee stability on larger-scale tasks.
More rigorous reporting includes:
- Reporting overall recall and explaining how the denominator is defined;
- Breaking results down by case category to identify which tasks the model tends to miss;
- Showing the distribution of results across runs, not just averages;
- Counting false positives, false negatives, and inconclusive results separately;
- Stating whether results were judged by automated rules or confirmed by human review.
This information helps readers distinguish between “good on average” and “reliable in most scenarios”—two very different conclusions.
The Impact of Exploration Turns and Network Restrictions
A cap of 30 exploration turns per run sets a budget boundary on the agent’s analysis process. The exploration budget affects results: with fewer turns, an agent may not have time to cover complex paths; more turns can surface additional findings but consume more time and compute. When comparing systems, budgets must be defined consistently, and what counts as a “turn” should be specified—otherwise the same turn count doesn’t necessarily mean the same amount of exploration.
Restricting internet access also changes the nature of the task. It reduces the influence of external materials, remote services, or online retrieval on results, keeping the test focused on the model’s ability to analyze based on the given inputs and environment. But it also means the results can’t be taken to represent performance when external documentation, dependency repositories, or other online resources are accessible. Test conditions are not trivial footnotes—they are part of the scope of any conclusion.
In addition, it should be clear whether cases include complete context, whether runtime environments are consistent, whether the model can read all relevant files, and how task termination conditions are defined. If these details are opaque, differences between models may be conflated with environmental differences.
From Benchmark Results to Real-World Selection
Enterprises and development teams evaluating security agents shouldn’t chase a single composite ranking. Start by clarifying the intended use. If the tool is for early-stage risk screening, higher recall may matter more—but the team needs to budget review capacity for a larger volume of candidate alerts. If the tool gates releases directly, false-positive cost, result stability, and evidence quality are usually just as critical.
A recommended tiered evaluation process:
- Define task boundaries. Specify whether you’re testing static code analysis, runtime behavior exploration, or other security checks, and list the risk types included and excluded.
- Build a representative case set. Cases should span different tech stacks, complexity levels, and issue types—avoid relying only on easily spotted examples. Annotations of known issues should be reviewed, with the rationale retained.
- Standardize the experiment budget. Fix the turns, time, and input information available per run, and log cases that couldn’t complete or terminated early.
- Repeat runs and observe variance. Beyond aggregate metrics, record case-level results and analyze whether the model depends heavily on a few cases.
- Manually verify key findings. Review potentially high-severity findings to confirm the issues are real and the evidence is reproducible, avoiding counts of similar-sounding but invalid alerts as hits.
- Assess operational cost. Track time spent on manual confirmation, duplicate alerts, usability of remediation suggestions, and compute consumption—pair detection effectiveness with real workload.
- Run continuous regression testing. As code, rules, and agent configurations change, retest regularly against a stable benchmark set and add cases for newly discovered issue types.
How to Interpret “High Recall”
High recall is a signal worth attention, but its meaning depends on the quality and coverage of the test set. With a limited number of cases, a single case’s result can significantly shift the overall ratio. If the test set covers only a few vulnerability types, the ranking says nothing beyond those types. Tasks differ widely in difficulty and risk, so category-level reporting is usually more informative than a single overall score.
Also distinguish the model itself from the complete system. Real-world detection performance is shaped by prompts, tool permissions, environment state, execution policies, and result filtering mechanisms. Benchmarks that don’t control for these factors may show differences that don’t stem from the model’s reasoning ability. Conversely, an evaluation comparing models in isolation cannot substitute for validating an end-to-end workflow.
Conclusion
Multiple cases, repeated runs, and controlled exploration budgets make the evaluation of cybersecurity AI agents far more meaningful than a single demo, and recall provides a clear starting point for measuring missed detections. But it is not the whole picture of security capability. Turning benchmark conclusions into solid engineering decisions also requires checking precision, case coverage, run-to-run stability, report evidence, human review costs, and reproducibility. The most useful evaluation isn’t a ranking divorced from conditions—it’s a clear statement of what tasks, budgets, and environments a system works well in, and where it may still fail.
