arXiv:2610.27383cs.CROct 2026

Manuscript Offprint

arXiv:2610.27383

AgenticVulHunter: Bringing Local Agentic Vulnerability Hunting to Your Terminal

Nishant Abhishek, Ping Charoenwet, Kla Tantithamthavorn

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Nishant Abhishek*, Ping Charoenwet†, Kla Tantithamthavorn*

*Monash University, Australia. †University of Melbourne, Australia

Abstract—Finding vulnerabilities early, before they can affect the production system, is important for reducing the risk of any software attacks. However, detecting vulnerabilities during secure code review is still difficult because the vulnerable code logic may depend on lines found across different repository files. Recent approaches such as AgenticSCR have shown that LLM agents can explore repository files and use security knowledge to improve secure code review.

However, these approaches mainly rely on external commercial LLMs and can provide a large amount of security knowledge to the agent at once. This creates an important question of whether agentic secure code review can also be performed effectively using locally deployed open-weight LLMs with more focused and relevant security knowledge. In this paper, we propose AgenticVulHunter, an agentic secure code review approach and tool that can run with a locally deployed open-weight LLM.

We evaluate AgenticVulHunter on 144 vulnerability cases from SCRBench using Qwen3-Coder-30B and DeepSeek V3.1 Terminus. We measure what percentage of generated review comments correctly identify the vulnerable location, match the vulnerability type, and provide a relevant security review comment together. AgenticVulHunter achieves an accuracy of 18.4% with Qwen3-Coder-30B and 23.8% with DeepSeek V3.1 Terminus, compared with 11.8% for our AgenticSCR-style reproduction using Qwen3-Coder-30B and 17.5% for AgenticSCR using Claude Sonnet 4.

Tool demo: (https://www.youtube.com/watch?v=UZw4NJ7YSoA)

I. INTRODUCTION

Software vulnerabilities are weaknesses in software systems that can be exploited by attackers and can affect the confidentiality, integrity, and availability of a system. Existing secure code review tools such as CodeQL, Semgrep, and Snyk can analyse source code and report possible vulnerabilities. More recently, AgenticSCR [1] showed that LLM agents can explore repository files and use CWE and SAST knowledge to reason about vulnerabilities. Although this improves secure code review capabilities, several challenges still remain.

First, providing a large amount of security knowledge can introduce noise, making it harder to focus on the most relevant vulnerability knowledge. AgenticSCR is designed to augment domain-specific security knowledge by incorporating a large amount of Common Weakness Enumeration (CWE) and Static Application Security Testing (SAST) knowledge into the agentic memory. However, not all of this knowledge is useful or relevant to every pull request. Recently, Yang et al. [2] found that useful program context can improve vulnerability detection, while excessive context can make it harder for the model to focus on relevant information.

Second, commercial LLMs may not be suitable for enterprise environments where source code cannot be shared externally. AgenticSCR is designed for commercial large language models (LLMs), such as Claude, which may limit the applicability of such tools in the enterprise context. In enterprise environments, source code is confidential and cannot be sent to an externally hosted commercial model. Thus, little is known about the performance of agentic secure code review on the open-weight language models.

Third, there is a lack of practical agentic secure code review tools that developers can use before creating a pull request. AgenticSCR shows the potential of using agents for secure code review, but it is mainly presented as a research approach rather than a tool that developers can install and use. Existing tools such as CodeQL, Semgrep, and Snyk Code can detect possible security issues [3]. However, these tools mainly rely on static analysis rather than allowing an agent to explore relevant repository files.