All cases and studies

CodeAnt AI benchmark

Benchmark · August 8, 2026

16 seeded patterns. 11 caught. The harder misses tell the story.

We scored a CodeAnt scan against a prewritten answer key, then compared the same FastAPI target with Dependabot, Bandit, Semgrep, and CodeQL. One sink-free refund stub was excluded from scoring. CodeAnt also found unplanted hardening and LLM cost-control issues.

Why it matters. CodeQL caught the path traversal and SSRF patterns that CodeAnt missed. Broken access control, LLM prompt injection, and mass-assignment remained missed across the applicable code analyzers. Different tools covered different parts of the problem.

Evidence records

The scored benchmark

Seeded tierScoredDetectedMissed
Signature / sink patterns11101
Semantic / logic / AI514
Total16115
The second-order SQL sink counts as detected, without claiming the scanner traced its full stored-data flow. The excluded refund stub contributes to neither detections nor misses.
August 8, 2026 · BENCHMARK-REPORT.md · Scoreboard; codeant-analysis-report.json

The misses, with a useful control

Seeded patternCodeAntCodeQL
Path traversalMissedDetected
SSRF via redirectMissedDetected
Broken access controlMissedMissed
LLM prompt injectionMissedMissed
Mass-assignmentMissedMissed
A bounded comparison on one deliberately seeded repository. Dependabot covers dependencies and is not scored as a code analyzer on these logic classes. These results do not rank general product quality.
August 2026 · PUBLIC-REPORT.md · Industry comparison; scans/codeql.txt; raw CodeAnt report

Know the limit

Static pattern-level evaluation at commit 63ad392, 323 lines analyzed. The target has no database schema and does not run. These results are historical coverage measurements, not live exploitation or vulnerabilities in CodeAnt.

How to prevent this

No guide controls reference this record yet.

All work here was performed independently, on personal time, equipment, and accounts, outside and unrelated to any employment. It uses no employer systems, data, or resources and does not represent any employer's views. Public records omit attack payloads and sensitive source material. Full reproduction is available to the affected vendor on request.