mlsanityData to 14 Oct 2026

ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection

arXiv 2604.11790 ↗First posted 13 Apr 2026cs.CR cs.AIcited by 27

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

also in 1 more
Abstract (arXiv)

Tool-augmented Large Language Model (LLM) agents have demonstrated impressive capabilities in automating complex, multi-step real-world tasks, yet remain vulnerable to indirect prompt injection. Adversaries exploit this weakness by embedding malicious instructions within tool-returned content, which agents directly incorporate into their conversation history as trusted observations. To address these vulnerabilities, we introduce textscClawGuard, a novel runtime security framework that enforces a user-confirmed rule set at every tool-call boundary, transforming unreliable alignment-dependent defense into a deterministic, auditable mechanism that intercepts adversarial tool calls before any real-world effect is produced. By automatically deriving task-specific access constraints from the user's stated objective prior to any external tool invocation, textscClawGuard blocks all three injection pathways without model modification or infrastructure change. Experiments across five state-of-the-art language models on six injection benchmarks covering web, local, MCP, and skill channels, as well as three utility benchmarks covering OS, web, and code tasks, demonstrate that textscClawGuard achieves robust protection against indirect prompt injection without compromising agent utility or introducing significant token overhead. This work establishes deterministic tool-call boundary enforcement as an effective defense mechanism for secure agentic AI systems. Code is publicly available at github.com/Claw-Guard/ClawGuard/.

Key facts. Cited by 27 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 41 of its 50 references that are in the map. First posted on arXiv 13 Apr 2026.

Builds on

41 of 50 references.

Closest ancestors · 14

Same direction, newest first

  1. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
  2. 2025MCP-SafetyBench: A Benchmark for Safety Evaluation of Large Language Models with Real-World MCP Servers17 Dec
  3. 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents14 Oct
  4. 2025ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents26 Sep
  5. 2025MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers19 Aug
  6. 2025MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits2 Apr
  7. 2025Defeating Prompt Injections by Design24 Mar
  8. 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents24 Mar
  9. 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
  10. 2024The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents21 Dec
  11. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
  12. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents19 Jun
2 more
  1. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  2. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep

Other references · 27

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  8. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  9. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  10. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  11. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  12. 2025OpenAI GPT-5 System Cardcited by 989
15 more
  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  2. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  3. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
  4. 2026Kimi K2.5: Visual Agentic Intelligencecited by 501
  5. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  6. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  7. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
  8. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  9. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  10. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  11. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
  12. 2025PromptLocate: Localizing Prompt Injection Attackscited by 28
  13. 2025When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Pluginscited by 9
  14. 2025MITRE ATT&CK Applications in Cybersecurity and The Way Forwardcited by 2
  15. 2024Command-line Obfuscation Detection using Small Language Modelscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 27.

27 papers.

Sort:

By area:

  1. 2026AIRGuard: Guarding Agent Actions with Runtime Authority Controlcited by 13
  2. 2026Benign in Isolation, Harmful in Composition: Security Risks in Agent Skill Ecosystemscited by 13
  3. 2026Auditing Provenance Sensitivity in LLM Agent Action Selectioncited by 12
  4. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
  5. 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
  6. 2026SHE: Trajectory-driven Safety Harness Evolution for LLM Agentscited by 6
  7. 2026ATM: CID-Brokered Pre-Write Admission for Multi-Agent Code Co-Synthesiscited by 3
  8. 2026CARE: Pre-Execution Command Verification for Shell-Executing LLM Agentscited by 2
  9. 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computerscited by 1
  10. 2026ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agentscited by 1
  11. 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
  12. 2026When Think-with-Image Meets Safety: What Determines Multimodal Jailbreak Robustness?cited by 1
15 more
  1. 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
  2. 2026ToolGuardian: Declarative Security for AI Agent-Tool Interactionscited by 1
  3. 2026ContainmentBench: Trace-Based Evaluation of Post-Exposure Containment in Tool-Using LLM Agentscited by 1
  4. 2026What Guides the Agent? Adjudicating Unauthorized Behavior via Localizing Behavior-Guiding Instructionscited by 1
  5. 2026CAITLYN: Can LLM Agents Autonomously Synthesize Defenses against Emerging Injection Attacks?cited by 1
  6. 2026Beyond Pattern Matching: Seven Cross-Domain Techniques for Prompt Injection Detectioncited by 0
  7. 2026A Lifecycle and Application-Stack Survey of Large Language Model Vulnerabilities: Attacks, Risks, Defenses, and Open Problemscited by 0
  8. 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agentscited by 0
  9. 2026A Policy Algebra for Trust-Preserving Agentic AI Executioncited by 0
  10. 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agentscited by 0
  11. 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systemscited by 0
  12. 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systemscited by 0
  13. 2026CoDeL: Co-Evolutionary Defense against Indirect Prompt Injection in LLM-based Agentscited by 0
  14. 2026PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agentscited by 0
  15. 2026APEX: Active Protection at Execution Boundaries for LLM Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks
  2. 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents
  3. 2025Attractive Metadata Attack: Inducing LLM Agents to Invoke Malicious Tools
  4. 2026PlanGuard: Defending Agents against Indirect Prompt Injection via Planning-based Consistency Verification
  5. 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration
  6. 2026SafeClawBench: Separating Semantic, Audit-Evidence, and Sandbox Harm in Tool-Using LLM Agents
  7. 2024From Allies to Adversaries: Manipulating LLM Tool-Calling through Adversarial Injection
  8. 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents