QRS: A Rule-Synthesizing Neuro-Symbolic Triad for Autonomous Vulnerability Discovery
George Tsigkourakos, Constantinos Patsakis

TL;DR
QRS is a neuro-symbolic framework that uses autonomous agents and large language models to generate and validate security queries, enabling the discovery of new vulnerabilities beyond predefined patterns with high accuracy.
Contribution
It introduces a novel neuro-symbolic approach that synthesizes CodeQL queries from structured schemas and examples, improving vulnerability detection beyond existing static analysis tools.
Findings
Achieved 90.6% detection accuracy on historical CVEs
Identified 39 new vulnerabilities in popular PyPI packages
Validated the approach with low overhead and high discoverability
Abstract
Static Application Security Testing (SAST) tools are integral to modern DevSecOps pipelines, yet tools like CodeQL, Semgrep, and SonarQube remain fundamentally constrained: they require expert-crafted queries, generate excessive false positives, and detect only predefined vulnerability patterns. Recent work has explored augmenting SAST with Large Language Models (LLMs), but these approaches typically use LLMs to triage existing tool outputs rather than to reason about vulnerability semantics directly. We introduce QRS (Query, Review, Sanitize), a neuro-symbolic framework that inverts this paradigm. Rather than filtering results from static rules, QRS employs three autonomous agents that generate CodeQL queries from a structured schema definition and few-shot examples, then validate findings through semantic reasoning and automated exploit synthesis. This architecture enables QRS to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Advanced Malware Detection Techniques · Software Testing and Debugging Techniques
