Papers
arxiv:2612.01110

Codit-Bench - Can Large Language Models Find Bugs in Code Auditing?

Published on Dec 1
Authors:
,
,
,

Abstract

Large language models (LLMs) are increasingly used in code auditing, yet their ability to find unknown bugs remains insufficiently evaluated. Existing benchmarks emphasize fixing known bugs, reviewing code changes, or exposing bugs through execution and repair. We introduce Codit-Bench to evaluate models' ability to find bugs in code auditing. An automated pipeline converts real GitHub issues and linked pull requests into tasks with bounded call graphs, behavioral specifications, and hidden ground truth. Models inspect the repository through read-only tools without execution feedback. Evaluation checks predicted faulty functions and uses LLM judges to match root-cause explanations against ground truth. Codit-Bench contains 516 tasks from 39 repositories. Evaluating 11 LLMs yields pass rates of 12.02--48.06%. In a paired comparison, bug-fixing pass rates exceed bug-finding pass rates by 48--50 percentage points, indicating that finding unknown bugs is more difficult than fixing known ones. Further analyses reveal where models struggle from code inspection to bug reporting, how stronger models outperform weaker ones, and why models fail on difficult tasks. These results highlight the need to directly evaluate LLMs' ability to find bugs in code auditing.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.01110
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2612.01110 in a model README.md to link it from this page.

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.01110 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.