RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Code auditing is the process of reviewing code with the aim of identifying bugs. Large Language Models (LLMs) have demonstrated promising capabilities for this task without requiring compilation, while also supporting user-friendly customization. However, auditing a code repository with LLMs poses significant challenges: limited context windows and hallucinations can degrade the quality of bug reports, and analyzing large-scale repositories incurs substantial time and token costs, hindering efficiency and scalability. This work introduces an LLM-based agent, RepoAudit, designed to perform autonomous repository-level code auditing. Equipped with agent memory, RepoAudit explores the codebase on demand by analyzing data-flow facts along feasible program paths within individual functions. It further incorporates a validator module to mitigate hallucinations by verifying data-flow facts and checking the satisfiability of path conditions associated with potential bugs, thereby reducing false positives. RepoAudit detects 40 true bugs across 15 real-world benchmark projects with a precision of 78.43%, requiring on average only 0.44 hours and 2.54 per project. Also, it detects 185 new bugs in high-profile projects, among which 174 have been confirmed or fixed. We have open-sourced RepoAudit at https://github.com/PurCL/RepoAudit.
Key facts. Cited by 47 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 50 references that are in the map. First posted on arXiv 30 Jan 2025.
Builds on
19 of 50 references.
Closest ancestors · 1
Same direction, newest first
Other references · 18
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
- 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 100
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
6 more
- 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 44
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 27
- 2024Generative Multi-Modal Knowledge Retrieval with Large Language Modelscited by 22
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
Built on by
Citing papers per year: 2025: 16; 2026: 31.
47 papers.
Sort:
By area:
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2026Detecting Safety Violations Across Many Agent Tracescited by 11
- 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretationcited by 7
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocolscited by 7
- 2025Agentic Services Computingcited by 6
- 2026Co-RedTeam: Orchestrated Security Discovery and Exploitation with LLM Agentscited by 6
- 2025Large Language Models for Validating Network Protocol Parserscited by 5
- 2026Reducing False Positives in Static Bug Detection with LLMs: An Empirical Study in Industrycited by 5
35 more
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Contextcited by 5
- 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMscited by 4
- 2025Automated Penetration Testing with LLM Agents and Classical Planningcited by 4
- 2026OpenSage: Self-programming Agent Generation Enginecited by 4
- 2026GBQA: A Game Benchmark for Evaluating LLMs as Quality Assurance Engineerscited by 4
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Modelscited by 3
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMscited by 2
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agentscited by 2
- 2026Agentic AI-Empowered Dynamic Survey Frameworkcited by 2
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agentcited by 2
- 2026Automated Lemma Discovery in Agentic Program Verificationcited by 2
- 2026Antares: Foundation Models for Agentic Vulnerability Localizationcited by 2
- 2025Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Auditscited by 1
- 2026To Defend Against Cyber Attacks, We Must Teach AI Agents to Hackcited by 1
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detectioncited by 1
- 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binariescited by 1
- 2026Detecting Privilege Escalation in Polyglot Microservices via Agentic Program Analysiscited by 1
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebasescited by 1
- 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescuecited by 1
- 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Explorationcited by 1
- 2026EA-Graph: Artifact-Anchored Verification Memory for Coding Agents under Upstream Driftcited by 1
- 2025Position: Intelligent Coding Systems Should Write Programs with Justificationscited by 0
- 2025On the Effectiveness of Instruction-Tuning Local LLMs for Identifying Software Vulnerabilitiescited by 0
- 2026SPECA: Specification-to-Checklist Agentic Auditing for Multi-Implementation Systems -- A Case Study on Ethereum Clientscited by 0
- 2026Refute-or-Promote: An Adversarial Stage-Gated Multi-Agent Review Methodology for High-Precision LLM-Assisted Defect Discoverycited by 0
- 2026Beyond Pixels: Introspective and Interactive Grounding for Visualization Agentscited by 0
- 2026Agentic Repository Mining: A Multi-Task Evaluationcited by 0
- 2026Transferable Self-Evolving Playbooks for Agentic Security Auditingcited by 0
- 2026Evaluating LLMs for Real-World Web Vulnerability Detectioncited by 0
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reusecited by 0
- 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Commentscited by 0
- 2026OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Reviewcited by 0
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Pluginscited by 0
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnessescited by 0
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Plugins15 Sep 2026
- 2026OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Review10 Aug 2026
- 2026EA-Graph: Artifact-Anchored Verification Memory for Coding Agents under Upstream Drift4 Aug 2026
- 2026Antares: Foundation Models for Agentic Vulnerability Localization3 Aug 2026
- 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Comments27 Jul 2026
- 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Exploration13 Jul 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue1 Jul 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Evaluating LLMs for Real-World Web Vulnerability Detection19 Jun 2026
- 2026Transferable Self-Evolving Playbooks for Agentic Security Auditing15 Jun 2026
35 more
- 2026Detecting Privilege Escalation in Polyglot Microservices via Agentic Program Analysis15 May 2026
- 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binaries14 May 2026
- 2026Agentic Repository Mining: A Multi-Task Evaluation6 May 2026
- 2026Beyond Pixels: Introspective and Interactive Grounding for Visualization Agents22 Apr 2026
- 2026Refute-or-Promote: An Adversarial Stage-Gated Multi-Agent Review Methodology for High-Precision LLM-Assisted Defect Discovery21 Apr 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2026Detecting Safety Violations Across Many Agent Traces13 Apr 2026
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection8 Apr 2026
- 2026GBQA: A Game Benchmark for Evaluating LLMs as Quality Assurance Engineers3 Apr 2026
- 2026Automated Lemma Discovery in Agentic Program Verification23 Mar 2026
- 2026OpenSage: Self-programming Agent Generation Engine18 Feb 2026
- 2026SPECA: Specification-to-Checklist Agentic Auditing for Multi-Implementation Systems -- A Case Study on Ethereum Clients7 Feb 2026
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agent6 Feb 2026
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applications5 Feb 2026
- 2026Agentic AI-Empowered Dynamic Survey Framework3 Feb 2026
- 2026Co-RedTeam: Orchestrated Security Discovery and Exploitation with LLM Agents2 Feb 2026
- 2026To Defend Against Cyber Attacks, We Must Teach AI Agents to Hack1 Feb 2026
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Context27 Jan 2026
- 2026Reducing False Positives in Static Bug Detection with LLMs: An Empirical Study in Industry26 Jan 2026
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agents24 Dec 2025
- 2025On the Effectiveness of Instruction-Tuning Local LLMs for Identifying Software Vulnerabilities23 Dec 2025
- 2025Automated Penetration Testing with LLM Agents and Classical Planning11 Dec 2025
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs1 Nov 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
- 2025Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Audits29 Sep 2025
- 2025Agentic Services Computing29 Sep 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025Position: Intelligent Coding Systems Should Write Programs with Justifications8 Aug 2025
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Models11 Jun 2025
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocols31 May 2025
- 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretation25 Apr 2025
- 2025Large Language Models for Validating Network Protocol Parsers18 Apr 2025
- 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMs16 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocolscited by 7
- 2025Agentic Services Computingcited by 6
- 2026Co-RedTeam: Orchestrated Security Discovery and Exploitation with LLM Agentscited by 6
- 2025Automated Penetration Testing with LLM Agents and Classical Planningcited by 4
- 2026OpenSage: Self-programming Agent Generation Enginecited by 4
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agentscited by 2
- 2026Agentic AI-Empowered Dynamic Survey Frameworkcited by 2
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agentcited by 2
12 most cited of 28 All 28 (JSON)
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Plugins15 Sep 2026
- 2026OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Review10 Aug 2026
- 2026EA-Graph: Artifact-Anchored Verification Memory for Coding Agents under Upstream Drift4 Aug 2026
- 2026Antares: Foundation Models for Agentic Vulnerability Localization3 Aug 2026
- 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Comments27 Jul 2026
- 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Exploration13 Jul 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue1 Jul 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Transferable Self-Evolving Playbooks for Agentic Security Auditing15 Jun 2026
- 2026Detecting Privilege Escalation in Polyglot Microservices via Agentic Program Analysis15 May 2026
12 newest of 28 All 28 (JSON)
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Modelscited by 3
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMscited by 2
- 2025Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Auditscited by 1
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detectioncited by 1
- 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binariescited by 1
- 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binaries14 May 2026
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection8 Apr 2026
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs1 Nov 2025
- 2025Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Audits29 Sep 2025
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Models11 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2026Detecting Safety Violations Across Many Agent Tracescited by 11
- 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretationcited by 7
- 2025Large Language Models for Validating Network Protocol Parserscited by 5
- 2026Reducing False Positives in Static Bug Detection with LLMs: An Empirical Study in Industrycited by 5
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Contextcited by 5
- 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMscited by 4
- 2026GBQA: A Game Benchmark for Evaluating LLMs as Quality Assurance Engineerscited by 4
- 2025Position: Intelligent Coding Systems Should Write Programs with Justificationscited by 0
- 2025On the Effectiveness of Instruction-Tuning Local LLMs for Identifying Software Vulnerabilitiescited by 0
- 2026Evaluating LLMs for Real-World Web Vulnerability Detectioncited by 0
- 2026Evaluating LLMs for Real-World Web Vulnerability Detection19 Jun 2026
- 2026Detecting Safety Violations Across Many Agent Traces13 Apr 2026
- 2026GBQA: A Game Benchmark for Evaluating LLMs as Quality Assurance Engineers3 Apr 2026
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Context27 Jan 2026
- 2026Reducing False Positives in Static Bug Detection with LLMs: An Empirical Study in Industry26 Jan 2026
- 2025On the Effectiveness of Instruction-Tuning Local LLMs for Identifying Software Vulnerabilities23 Dec 2025
- 2025Position: Intelligent Coding Systems Should Write Programs with Justifications8 Aug 2025
- 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretation25 Apr 2025
- 2025Large Language Models for Validating Network Protocol Parsers18 Apr 2025
- 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMs16 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
- 2026AgentSZZ: Teaching the LLM Agent to Play Detective with Bug-Inducing Commits
- 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositories