QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilities
Not on the map. Why?
Abstract (arXiv)
Static analysis tools provide a powerful means to detect security vulnerabilities by specifying queries that encode vulnerable code patterns. However, writing such queries is challenging and requires diverse expertise in security and program analysis. To address this challenge, we present QLCoder - an agentic framework that automatically synthesizes queries in CodeQL, a powerful static analysis engine, directly from a given CVE metadata. QLCode embeds an LLM in a synthesis loop with execution feedback, while constraining its reasoning using a custom MCP interface that allows structured interaction with a Language Server Protocol (for syntax guidance) and a RAG database (for semantic retrieval of queries and documentation). This approach allows QLCoder to generate syntactically and semantically valid security queries. We evaluate QLCode on 176 existing CVEs across 111 Java projects. Building upon the Claude Code agent framework, QLCoder synthesizes correct queries that detect the CVE in the vulnerable but not in the patched versions for 53.4% of CVEs. In comparison, using only Claude Code synthesizes 10% correct queries. QLCoder code is available publicly at https://github.com/neuralprogram/QLCoder.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Nov 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026When Agents Do Not Stop: Uncovering Infinite Agentic Loops in LLM Agentscited by 6
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2026OmniCode: A Benchmark for Evaluating Software Engineering Agentscited by 3
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Basescited by 1
- 2026BODHI: Precise OS Kernel Specification Inferencecited by 0
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reusecited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-End4 Sep 2026
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Bases14 Jul 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026When Agents Do Not Stop: Uncovering Infinite Agentic Loops in LLM Agents2 Jul 2026
- 2026BODHI: Precise OS Kernel Specification Inference22 Apr 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2026OmniCode: A Benchmark for Evaluating Software Engineering Agents2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection
- 2026QASecClaw: A Multi-Agent LLM Approach for False Positive Reduction in Static Application Security Testing
- 2026An Empirical Analysis of CodeQL False Positives and Query Refinements for Java Vulnerabilities ↗
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEs
- 2025AutoPatch: Multi-Agent Framework for Patching Real-World CVE Vulnerabilities
- 2026CVE-Factory: Scaling Expert-Level Agentic Tasks for Code Security Vulnerability
- 2026A Multi-Agent Framework for Automated Exploit Generation with Constraint-Guided Comprehension and Reflection
- 2026Bridging Code Property Graphs and Language Models for Program Analysis ↗