mlsanityData to 14 Oct 2026

Verify Before You Fix: Agentic Execution Grounding for Trustworthy Cross-Language Code Analysis

arXiv 2604.10800 ↗First posted 12 Apr 2026cs.SE cs.AI cs.CRcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Learned classifiers deployed in agentic pipelines face a fundamental reliability problem: predictions are probabilistic inferences, not verified conclusions, and acting on them without grounding in observable evidence leads to compounding failures across downstream stages. Software vulnerability analysis makes this cost concrete and measurable. We address this through a unified cross-language vulnerability lifecycle framework built around three LLM-driven reasoning stages-hybrid structural-semantic detection, execution-grounded agentic validation, and validation-aware iterative repair-governed by a strict invariant: no repair action is taken without execution-based confirmation of exploitability. Cross-language generalization is achieved via a Universal Abstract Syntax Tree (uAST) normalizing Java, Python, and C++ into a shared structural schema, combined with a hybrid fusion of GraphSAGE and Qwen2.5-Coder-1.5B embeddings through learned two-way gating, whose per-sample weights provide intrinsic explainability at no additional cost. The framework achieves 89.84-92.02% intra-language detection accuracy and 74.43-80.12% zero-shot cross-language F1, resolving 69.74% of vulnerabilities end-to-end at a 12.27% total failure rate. Ablations establish necessity: removing uAST degrades cross-language F1 by 23.42%, while disabling validation increases unnecessary repairs by 131.7%. These results demonstrate that execution-grounded closed-loop reasoning is a principled and practically deployable mechanism for trustworthy LLM-driven agentic AI.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 41 of its 66 references that are in the map. First posted on arXiv 12 Apr 2026.

Builds on

41 of 66 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025SecureFixAgent: A Hybrid LLM Agent for Automated Python Static Vulnerability Repair18 Sep
  2. 2025VulAgent: Hypothesis-Validation based Multi-Agent Vulnerability Detection15 Sep
  3. 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEs1 Sep
  4. 2025AutoPatch: Multi-Agent Framework for Patching Real-World CVE Vulnerabilities7 May

Other references · 37

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2017Graph Attention Networkscited by 8,923
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  6. 2017Inductive Representation Learning on Large Graphscited by 6,320
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  10. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  11. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  12. 2024Qwen2.5-Coder Technical Reportcited by 1,203
25 more
  1. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  2. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  3. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  4. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  5. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  6. 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 382
  7. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  8. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  9. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  10. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 139
  11. 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 102
  12. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 102
  13. 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigationcited by 93
  14. 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 91
  15. 2024Large Language Model for Vulnerability Detection and Repair: Literature Review and the Road Aheadcited by 42
  16. 2024ReposVul: A Repository-Level High-Quality Vulnerability Datasetcited by 36
  17. 2024MegaVul: A C/C++ Vulnerability Dataset with Comprehensive Code Representationcited by 27
  18. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applicationscited by 25
  19. 2023A Survey on Automated Software Vulnerability Detection Using Machine Learning and Deep Learningcited by 7
  20. 2025MAVUL: Multi-Agent Vulnerability Detection via Contextual Reasoning and Interactive Refinementcited by 6
  21. 2023Exploring Security Commits in Pythoncited by 5
  22. 2025MalCodeAI: Autonomous Vulnerability Detection and Remediation via Language Agnostic Code Reasoningcited by 3
  23. 2025MLCPD: A Unified Multi-Language Code Parsing Dataset with Universal AST Schemacited by 2
  24. 2025Deep Learning Aided Software Vulnerability Detection: A Surveycited by 1
  25. 2025Bridging Semantics & Structure for Software Vulnerability Detection using Hybrid Network Modelscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositories
  2. 2026When Passing Tests Hides Vulnerabilities: An Empirical Study of Silent Failures in Agentic Systems
  3. 2026AgenticSCR: An Autonomous Agentic Secure Code Review for Immature Vulnerabilities Detection
  4. 2025SV-TrustEval-C: Evaluating Structure and Semantic Reasoning in Large Language Models for Source Code Vulnerability Analysis
  5. 2026From Laboratory to Real-World Applications: Benchmarking Agentic Code Reasoning at the Repository Level
  6. 2026Code-Augur: Agentic Vulnerability Detection via Specification Inference
  7. 2026MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolution
  8. 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binaries