Agentic AI
Local AI Vulnerability Scanner Beats Cloud-Based Alternatives on Code Review Tasks
A new open-source agentic tool for finding security flaws in code shows that locally-run language models can outperform expensive commercial LLM services.
A team of researchers has developed AgenticVulHunter, a terminal-based security code review system that operates entirely on locally deployed open-weight language models, challenging the assumption that cloud-based commercial AI services are necessary for sophisticated vulnerability detection.
The Challenge of Early Detection#
Identifying security flaws before they reach production systems is critical for protecting software from attacks. The problem intensifies when vulnerable code logic is fragmented across multiple repository files, making comprehensive review difficult. Earlier approaches like AgenticSCR demonstrated that AI agents equipped with broad security knowledge could navigate repositories effectively—but they relied on expensive external commercial LLMs like Claude, raising questions about cost and accessibility.
A Local-First Alternative#
AgenticVulHunter operates with locally deployed open-weight models, enabling developers to run advanced vulnerability hunting directly on their machines without external API calls. The system uses targeted, focused security knowledge rather than attempting to provide agents with massive security datasets upfront, potentially making it more practical for real-world deployment.
Performance Results#
Testing on 144 real vulnerability cases from the SCRBench dataset revealed that open-weight models could deliver competitive results:
- Qwen3-Coder-30B: 18.4% accuracy
- DeepSeek V3.1 Terminus: 23.8% accuracy
For comparison, a reproduction of the AgenticSCR approach using Qwen3-Coder-30B achieved 11.8% accuracy, while Claude Sonnet 4 through AgenticSCR scored 17.5%.
The tool measures whether generated review comments correctly identify vulnerable code locations, classify vulnerability types, and provide actionable security guidance. The stronger performance of local open-weight models suggests that agentic approaches to code review may not require premium commercial services to be effective.

