Self-Evolving Static Analysis via LLM Pseudo-Labeling
On the map: Synthetic data and self-improvement for LLMs → Safety of self-evolving systems
Abstract (arXiv)
Security bugs often slip past static analysis not because they are impossible to detect, but because detection rules have not yet been written for the code in front of us. New frameworks, APIs, and coding idioms continually create such gaps, leaving developers to discover failures and manually encode new rules. We present SESAA, a framework in which an Large Language Model (LLM) agent starts from no rules and iteratively evolves a set of readable and auditable joern queries. The agent receives feedback only from a second LLM critic, which inspects flagged and unflagged code to identify likely false alarms and suspected misses, without access to ground-truth labels. The agent then uses this feedback to revise its queries. On the OWASP Benchmark for Python, SESAA reaches a mean F1 of 0.742 across 8 independent runs, well above the default configurations of five widely used tools and comparable to the strongest of them once it is tuned with access to ground-truth labels that SESAA never sees. In a pilot on real-world Python projects, queries induced from code available before a vulnerability was introduced detect 10 of 19 subsequent CVEs, including 9 detected by rules written for the same repository. The resulting detector is a set of executable, human-readable queries that engineers can inspect, modify, and run independently. These results suggest that LLM agents can turn static-analysis rule maintenance from a manually authored process into an iterative process of automated discovery and repair.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Safety of self-evolving systems, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 31 of its 66 references that are in the map. Submitted 20 Oct 2026.
Builds on
31 of 66 references.
References · 31
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023Large Language Models as Optimizerscited by 985
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 827
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 622
- 2024Agent Workflow Memorycited by 482
19 more
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
- 2024AutoCodeRover: Autonomous Program Improvementcited by 303
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 287
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 207
- 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 162
- 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 152
- 2024LLM Agents can Autonomously Exploit One-day Vulnerabilitiescited by 146
- 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 95
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundrycited by 68
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 64
- 2020Neuroevolution in Deep Neural Networks: Current Trends and Future Challengescited by 34
- 2023How Far Have We Gone in Vulnerability Detection Using Large Language Modelscited by 31
- 2024A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedbackcited by 25
- 2025QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilitiescited by 10
- 2025Neuro-symbolic Static Analysis with LLM-generated Vulnerability Patternscited by 3
- 2026vEcho: A Paradigm Shift from Vulnerability Verification to Proactive Discovery with Large Language Modelscited by 2
- 2023Neuroevolution of Recurrent Architectures on Control Taskscited by 1
- 2026Bridging Code Property Graphs and Language Models for Program Analysiscited by 1
- 2026Towards Scalable and Cost-Efficient Vulnerability Detection: A Study on Automatic Query Generationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Static Guarantees: Measuring the Static-Pass Dynamic-Fail Gap in Security-Sensitive and LLM-Generated Python Code
- 2025SecureFixAgent: A Hybrid LLM Agent for Automated Python Static Vulnerability Repair
- 2025Trust Me, I Know This Function: Hijacking LLM Static Analysis using Bias
- 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositories
- 2026Using LLMs to Adjudicate Static-Analysis Alerts with Error Reduction Techniques
- 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detection
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark
- 2026An Empirical Evaluation of LLM-Based Approaches for Code Vulnerability Detection: RAG, SFT, and Dual-Agent Systems