Antaeus detects 15 logic vulnerabilities across 28 repos, outperforming baselines
Antaeus can identify logic vulnerabilities more effectively than function-level and agentic LLM models
Security & privacy arXiv 1 Jul 2026 Method Prototype evidence
Published as “Antaeus: Hunting Repository-Level Logic Vulnerabilities via Context-Grounded LLM Reasoning”
Why it matters
The framework shows that repository-level context grounding can dramatically improve logic-vulnerability discovery per dollar spent, making LLM-based static analysis more practical for large C/C++ codebases.
Summary
ANTAEUS detects and explains 15 out of 28 confirmed logic vulnerabilities (Opus 4.7) and 12 out of 28 (GPT-5.4), far surpassing the 4-vulnerability best baseline. It does this by prioritizing security-relevant functions, grounding each in local and repository-wide evidence, and applying comparative validation to prune spurious findings. The approach stays in a comparable cost regime, using about 84 M input tokens and costing a few hundred dollars for all 28 repositories. The paper does not provide an abstract, so the summary is based on the introduction and evaluation sections.
What they found 3
- ANTAEUS detects 15/28 logic vulnerabilities with Opus 4.7
“With Opus 4.7, ANTAEUS detects and explains 15 out of 28 confirmed logic vulnerabilities, producing for each a structured finding that names the security-sensitive sink and the unsatisfied safety condition behind the detection.”
- No baseline exceeds 4/28 detections
“no baseline exceeds 4 of 28, while ANTAEUS reaches 12-15 of 28”
- ANTAEUS operates in the same cost regime as agentic baselines (few hundred dollars for 28 repos)
“ANTAEUS operates in the same cost regime as the agentic baseline, on the order of a few hundred dollars across all 28 repositories”
Caveats 3
- ANTAEUS reports 1,345 false positives for 15 true positives (TP/FP ratio 0.011), which is higher than the agentic baseline's ratio of 0.026 despite better recall.
- The unranked Opus 4.8 agentic baseline attains a higher precision (5/190) but detects only a third as many vulnerabilities.
- Memory-safety bugs and purely syntactic defects are out of scope.
What’s new here 4
- Introduces a staged pipeline that combines repository-wide prioritization with context-grounded LLM reasoning for C/C++ logic bugs.
- Adds a repository-level security summary that captures project-specific invariants beyond local code.
- Implements comparative validation across analogous sinks to distinguish true anomalies from project norms.
- Demonstrates that this combination yields higher recall than both function-level LLM analysis and autonomous agentic baselines while keeping token cost similar.