High Recall Doesn't Mean High Reliability: What a LLM Security Benchmark Really Tells Us
A recent public benchmark evaluated how well large language models detect security vulnerabilities in code samples. This article examines what the results actually mean, why recall alone is insufficient, how run-to-run stability and cost should factor into model selection, and how enterprises can design their own evaluation frameworks for AI-assisted security review.
What Was the Benchmark Measuring?
A recently published evaluation of intelligent models’ cybersecurity capabilities has drawn attention. The evaluators used large-scale inference to review a set of code and technical samples containing known security issues, focusing on whether the models could identify vulnerabilities, risky logic, and potential attack surfaces.
According to the results, one domestic model identified 28 out of 32 target risks across three merged test runs, achieving an overall recall rate of 87.5% — higher than other frontier models in the test. Meanwhile, another model’s official release identified 25 risk points, only one fewer than the leading model, at a significantly lower overall cost.
These results are noteworthy, but they should not be simplified into “one model has comprehensively surpassed all others.” Security model evaluation typically involves multiple dimensions:
- Can the model find real risks?
- Does it produce excessive false positives?
- Are results stable across multiple runs?
- Can it explain the root cause of a risk?
- Does it provide actionable remediation suggestions?
- How much compute and inference cost does the task consume?
Judging production readiness based solely on “how many issues were found” is therefore insufficient.
Why Recall Matters in Security Review
In cybersecurity contexts, recall measures how many of all real risks a model successfully identifies. It can be simply expressed as:
Recall = correctly identified risks ÷ total actual risks
For example, if a test set contains 32 confirmed security issues and a model finds 28, the recall rate is 28 ÷ 32, or 87.5%.
Security review prioritizes recall because missed findings can have serious consequences. An undetected privilege escalation flaw, authentication defect, or sensitive data exposure path could be exploited after deployment, leading to data breaches, service disruption, or compliance failures.
However, high recall cannot be discussed in isolation from the false positive rate. If a model flags large amounts of normal code as risky to catch as many issues as possible, manual review costs will rise. Engineering teams ultimately face a combined problem:
- Is recall high enough?
- Are false positives within an acceptable range?
- Is risk severity classification accurate?
- Is the output understandable to developers?
- Does it reduce — rather than increase — the security team’s workload?
A mature evaluation should report precision, recall, false positive rate, false negative rate, risk-grading accuracy, and remediation effectiveness together.
Interpreting “Highest Merged Result Across Three Runs”
In this benchmark, the leading model identified 28 risks after merging three runs — but found only 17 in its first single run, and only 10 risks were consistently detected across all three runs.
This suggests the model has strong “potential discovery capability,” but its output carries a degree of randomness. A three-run merge means running the same task multiple times and combining findings from different rounds. This reduces accidental misses, but introduces two problems.
First, production environments may not allow repeated high-cost inference runs on the same project. Running every review three or more times significantly increases total time and resource consumption.
Second, merging multi-run results can amplify false positives. Different runs may produce contradictory conclusions or duplicate the same finding. Without deduplication, evidence validation, and risk aggregation mechanisms, the final report becomes bloated and adds to the manual analysis burden.
When evaluating models, you should therefore distinguish at least three metrics:
1. Single-Run Recall
How many issues the model finds in one run — closest to the real production experience.
2. Multi-Run Merged Recall
The theoretical risk coverage achievable through repeated inference — a measure of the model’s ceiling capability.
3. Stable Recall
The proportion of issues found consistently across all runs — the best indicator of output consistency.
A model with both high single-run recall and high stable recall is better suited to automated security pipelines. Conversely, if a model only reaches high recall through multiple runs, you must weigh task criticality, latency requirements, and budget.
Large-Scale Inference Doesn’t Guarantee Reliable Results
The benchmark’s title mentions roughly 11.7 billion tokens consumed. This indicates a large-scale test involving substantial code, context, analysis processes, and multi-round results — but token consumption itself is not direct proof of security capability.
Longer inference chains can bring benefits:
- Better understanding of complex call chains;
- Ability to trace cross-file data flows;
- Analysis of complex permission relationships;
- Secondary validation of preliminary conclusions;
- More complete risk explanations.
But they can also cause side effects:
- Higher cost;
- Longer response times;
- Unproductive reasoning expansion;
- Repetitive descriptions of the same issue;
- Increased false positives from over-analysis;
- Large context inputs that bury critical code.
In practice, token budgets should match problem complexity, not chase bigger numbers. For simple rule-based defects, use static analysis and deterministic detection; reserve intelligent models for deep analysis of complex business logic and cross-module permission issues. This layered architecture is typically far more economical than “sending all code to an LLM for extended reasoning.”
Why Cost Efficiency Deserves Attention
The benchmark also showed that another model’s official release found 25 of 32 risk samples — only 3 fewer than the top result — at roughly 69.8% lower cost.
This matters for enterprise procurement and technology selection. When models differ in capability, don’t fixate on the highest recall alone; calculate the security value per unit of cost:
Cost per finding = total inference cost ÷ number of correctly identified risks
If a model costs more per run but only marginally outperforms a much cheaper alternative, enterprises must assess whether the extra findings are high-severity vulnerabilities and whether the additional resource consumption is justified.
More meaningful comparisons include:
- Average cost per valid risk identified;
- Review cost per thousand lines of code;
- Average response time per task;
- Detection rate for high-severity issues;
- Time required for manual review;
- Effectiveness of remediation suggestions once adopted.
Large organizations should also consider daily submission volume, concurrent task counts, and peak traffic. The best-performing model in a lab setting offers little real value if it can’t meet the latency and budget requirements of continuous integration pipelines.
Test Set Size Defines the Boundary of Conclusions
This benchmark used 32 risk samples — enough to observe trends, but not enough to cover the full cybersecurity landscape. With small samples, changes in one or two results can noticeably shift the final ranking.
The distribution of risk types matters too. If the test set concentrates on injection, access control, or input validation, the conclusions may not apply to:
- Authentication and session management;
- Cryptographic misuse;
- Cloud resource access control;
- Sensitive data exposure;
- Concurrency and race conditions;
- Business logic bypass;
- Supply chain and dependency risks;
- Configuration file security;
- Logging and audit deficiencies.
An ideal benchmark should disclose sample composition, risk severity, programming languages, project scale, context length, and grading criteria. It should also clarify whether models had exposure to test answers, risk labels, or fix patches, to prevent data contamination from skewing conclusions.
How Enterprises Should Design Their Own Evaluations
When adopting AI-assisted security review, enterprises should not simply copy public rankings. Instead, build an internal benchmark set composed of historical defects, patched vulnerabilities, manually crafted cases, and real business code, stratified by risk type.
A recommended process:
Step 1: Build Sanitized Samples
Remove secrets, credentials, customer information, and internal domain names to ensure test data introduces no new leakage risks.
Step 2: Group by Risk Category
Classify samples into input validation, access control, data protection, configuration security, dependency management, and business logic — avoiding conclusions dominated by a single category.
Step 3: Establish a Human Gold Standard
Have security engineers confirm each issue’s trigger conditions, impact scope, risk severity, and remediation approach, forming a verifiable set of ground-truth answers.
Step 4: Run Multi-Round Tests
Record at minimum the single-run results, repeated-run results, and merged results; compute single-run recall, stable recall, and merged recall separately.
Step 5: Evaluate False Positives and Explanation Quality
After the model identifies an issue, require it to provide the vulnerability location, trigger path, impact description, and remediation suggestion. Human reviewers should verify whether the evidence is sufficient, not just whether the title looks correct.
Step 6: Calculate Overall Value
Factor in model fees, runtime, manual review time, and fix effectiveness to compute the comprehensive cost per valid risk identified.
The Most Takeaway Conclusions
Overall, three cautious conclusions can be drawn from these results.
First, intelligent models now have strong code security analysis capabilities, particularly in complex contexts and multi-round inference tasks, finding issues that traditional rule-based approaches struggle to cover.
Second, the highest merged recall doesn’t equal the best production performance. Single-run results, cross-run consistency, and false positive control matter equally. Enterprises should not base technology decisions on a single ranking number.
Third, cost and effectiveness are becoming equally important evaluation criteria. A near-frontier model with markedly lower resource consumption may be the better choice as the workhorse for daily code review, while the high-cost model can be reserved for high-risk projects, critical releases, or second-pass review of difficult issues.
Closing: Treat Models as Security Engineering Components
Intelligent models can significantly improve vulnerability discovery efficiency, but they should not be treated as black-box systems that independently make security decisions. A more reliable approach is to embed models into existing security workflows, combining them with static analysis, dependency checking, dynamic testing, human review, and continuous integration.
When selecting a model, focus on these questions:
- How many risks does the model find in a single run?
- Are results stable across multiple runs?
- Are high-severity issues easily missed?
- Do false positives burden manual teams?
- Does the output include verifiable evidence?
- Can remediation suggestions actually be implemented?
- Is the cost per risk identified reasonable?
- Does it support secure isolation of enterprise data?
Only by placing recall, stability, cost, explanation quality, and engineering integration into a single evaluation framework can you judge whether an AI security model is truly useful. Public benchmarks provide direction, but what ultimately determines a model’s value is its sustained performance on your enterprise’s real code, real workflows, and real threat environment.
