mlsanityData to 14 Oct 2026

VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation

arXiv 2510.05156 ↗First posted 3 Oct 2025cs.SE cs.AI cs.CRcited by 49

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

Abstract (arXiv)

The deployment of autonomous AI agents in sensitive domains, such as healthcare, introduces critical risks to safety, security, and privacy. These agents may deviate from user objectives, violate data handling policies, or be compromised by adversarial attacks. Mitigating these dangers necessitates a mechanism to formally guarantee that an agent's actions adhere to predefined safety constraints, a challenge that existing systems do not fully address. We introduce VeriGuard, a novel framework that provides formal safety guarantees for LLM-based agents through a dual-stage architecture designed for robust and verifiable correctness. The initial offline stage involves a comprehensive validation process. It begins by clarifying user intent to establish precise safety specifications. VeriGuard then synthesizes a behavioral policy and subjects it to both testing and formal verification to prove its compliance with these specifications. This iterative process refines the policy until it is deemed correct. Subsequently, the second stage provides online action monitoring, where VeriGuard operates as a runtime monitor to validate each proposed agent action against the pre-verified policy before execution. This separation of the exhaustive offline validation from the lightweight online monitoring allows formal guarantees to be practically applied, providing a robust safeguard that substantially improves the trustworthiness of LLM agents.

Key facts. Cited by 49 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 16 of its 27 references that are in the map. First posted on arXiv 3 Oct 2025.

Builds on

16 of 27 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning26 Mar
  2. 2025AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection17 Feb
  3. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  4. 2024AgentMonitor: A Plug-and-Play Framework for Predictive and Secure Multi-Agent Systems27 Aug
  5. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning13 Jun

Other references · 11

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  3. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  4. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  5. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  6. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  8. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
  9. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  10. 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 116
  11. 2025ReCode: Improving LLM-based Code Repair with Fine-Grained Retrieval-Augmented Generationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 48.

49 papers.

Sort:

By area:

  1. 2026Code as Agent Harnesscited by 47
  2. 2026Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agentscited by 19
  3. 2026SkillOps: Managing LLM Agent Skill Libraries as Self-Maintaining Software Ecosystemscited by 18
  4. 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attributioncited by 14
  5. 2025Systems Security Foundations for Agentic Computingcited by 13
  6. 2026SafePred: A Predictive Guardrail for Computer-Using Agents via World Modelscited by 12
  7. 2026Detecting Malicious Agent Skills in the Wild using Attentioncited by 8
  8. 2026From Risk Classification to Action Plan Remediation: A Guardrail Feedback Driven Framework for LLM Agentscited by 6
  9. 2026TrinityGuard: A Unified Framework for Safeguarding Multi-Agent Systemscited by 5
  10. 2026Agent Security is a Systems Problemcited by 5
  11. 2026Deontic Policies for Runtime Governance of Agentic AI Systemscited by 5
  12. 2026Evaluating Privilege Usage of Agents with Real-World Toolscited by 4
37 more
  1. 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agentscited by 4
  2. 2026GuardianAgentBench: Where Agents Fail and How to Guard Themcited by 4
  3. 2026What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agentscited by 4
  4. 2026Cross-Layer Semantic Flow Reconstruction for Attack Detection in Agentic Systemscited by 3
  5. 2026PolicyBank: Evolving Policy Understanding for LLM Agentscited by 3
  6. 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layercited by 3
  7. 2026Resume Means Resume: A Machine-Checked Conformance Contract for Checkpoint, Interrupt, and Resume Semantics in Workflow Persistence Layerscited by 3
  8. 2026RIVA: Leveraging LLM Agents for Reliable Configuration Drift Detectioncited by 2
  9. 2026CivicShield: A Cross-Domain Defense-in-Depth Framework for Securing Government-Facing AI Chatbots Against Multi-Turn Adversarial Attackscited by 2
  10. 2026Type-Checked Compliance: Deterministic Guardrails for Agentic Financial Systems Using Lean 4 Theorem Provingcited by 2
  11. 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 2
  12. 2026The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomycited by 2
  13. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
  14. 2026Accelerating Scientific Research with Gemini in the Real-Worldcited by 2
  15. 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agentscited by 1
  16. 2026Containment Verification: AI Safety Guarantees Independent of Alignmentcited by 1
  17. 2026Position: A Three-Layer Probabilistic Assume-Guarantee Architecture Is Structurally Required for Safe LLM Agent Deploymentcited by 1
  18. 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectorycited by 1
  19. 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
  20. 2026Securing Agentic AI: From Per-Action Checks to Trajectory Assurancecited by 1
  21. 2026SiLR: Structure-Preserving Admission and Process Reward for LLM Tool Agentscited by 1
  22. 2026ActGov: Governing LLM Agent Actions via Policy-Constrained Validationcited by 1
  23. 2026LLMs + Security = Troublecited by 0
  24. 2026Compatibility at a Cost: Systematic Discovery and Exploitation of MCP Clause-Compliance Vulnerabilitiescited by 0
  25. 2026Rebooting Microreboot: Architectural Support for Safe, Parallel Recovery in Microservice Systemscited by 0
  26. 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
  27. 2026Robotics-Inspired Guardrails for Foundation Models in Socially Sensitive Domainscited by 0
  28. 2026PolicyGuard: From Organizational Policies to Neuro-SymbolicCompliance Review Enginescited by 0
  29. 2026Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?cited by 0
  30. 2026Rethinking Agent Security as a Networking Problemcited by 0
  31. 2026Testing and Evaluation of Agentic AI Systems In Military Command and Controlcited by 0
  32. 2026Symbolic Temporal Supervision of LLM Agents Using Contractscited by 0
  33. 2026MAGS: Multi-agent Auto-formalization Guarantees Safety for Agentic Outputscited by 0
  34. 2026Making Duplicate Reimbursement Unrepresentable: A Verified Ethereum E-Invoice System for Humans and AI Agentscited by 0
  35. 2026DeReAct: Decomposed Reasoning and Acting for Reliable AI Agentscited by 0
  36. 2026NOMOS: Compiling Written Policies into Statically Verified Tool-Call Gates for LLM Agentscited by 0
  37. 2026VEPA: Verified Evolving Formal Policy for Lifelong LLM Agent Guardrailscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Verifiability-First Agents: Provable Observability and Lightweight Audit Agents for Controlling Autonomous LLM Systems
  2. 2024Safeguarding AI Agents: Developing and Analyzing Safety Architectures
  3. 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents
  4. 2026Agent Safety Should Be a Runtime Contract
  5. 2025ProbGuard: Proactive Runtime Monitoring for LLM Agent Safety via Probabilistic Prediction
  6. 2025Evaluating LLM Agent Adherence to Hierarchical Safety Principles: A Lightweight Benchmark for Probing Foundational Controllability Components
  7. 2026SafeCoEvo: Co-Evolving Safety Harnesses and Guards for LLM Agents at Test-Time
  8. 2026AgentWall: A Runtime Safety Layer for Local AI Agents