CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attribution
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
AI agents equipped with tool-calling capabilities are susceptible to Indirect Prompt Injection (IPI) attacks. In this attack scenario, malicious commands hidden within untrusted content trick the agent into performing unauthorized actions. Existing defenses can reduce attack success but often suffer from the over-defense dilemma: they deploy expensive, always-on sanitization regardless of actual threat, thereby degrading utility and latency even in benign scenarios. We revisit IPI through a causal ablation perspective: a successful injection manifests as a dominance shift where the user request no longer provides decisive support for the agent's privileged action, while a particular untrusted segment, such as a retrieved document or tool output, provides disproportionate attributable influence. Based on this signature, we propose CausalArmor, a selective defense framework that (i) computes lightweight, leave-one-out ablation-based attributions at privileged decision points, and (ii) triggers targeted sanitization only when an untrusted segment dominates the user intent. Additionally, CausalArmor employs retroactive Chain-of-Thought masking to prevent the agent from acting on ``poisoned'' reasoning traces. We present a theoretical analysis showing that sanitization based on attribution margins conditionally yields an exponentially small upper bound on the probability of selecting malicious actions. Experiments on AgentDojo and DoomArena demonstrate that CausalArmor matches the security of aggressive defenses while improving explainability and preserving utility and latency of AI agents.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 34 of its 39 references that are in the map. First posted on arXiv 8 Feb 2026.
Builds on
34 of 39 references.
Closest ancestors · 11
Same direction, newest first
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization9 Oct
- 2025VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation3 Oct
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
- 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
- 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
Other references · 23
- 2025Qwen3 Technical Reportcited by 8,195
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2025Gemma 3 Technical Reportcited by 1,686
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2024WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?cited by 348
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
- 2022Algorithms to estimate Shapley value feature attributionscited by 114
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 108
- 2024ContextCite: Attributing Model Generation to Contextcited by 93
11 more
- 2019Neural Network Attributions: A Causal Perspectivecited by 77
- 2022Faith-Shap: The Faithful Shapley Interaction Indexcited by 68
- 2025Measuring Chain of Thought Faithfulness by Unlearning Reasoning Stepscited by 43
- 2025Defending Against Prompt Injection with DataFiltercited by 30
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
- 2025Indirect Prompt Injections: Are Firewalls All You Need, or Stronger Benchmarks?cited by 16
- 2023LifeTox: Unveiling Implicit Toxicity in Life Advicecited by 14
- 2024LLMScan: Causal Scan for LLM Misbehavior Detectioncited by 13
- 2024AdvisorQA: Towards Helpful and Harmless Advice-seeking Question Answering with Collective Intelligencecited by 12
- 2025PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitizationcited by 10
- 2024Guaranteed Generation from Large Language Modelscited by 7
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026Auditing Provenance Sensitivity in LLM Agent Action Selectioncited by 9
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 5
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026Long-Horizon Agent Trajectory Attribution: A Unified Benchmark and Fine-Grained Annotation Frameworkcited by 4
- 2026An AI Agent Execution Environment to Safeguard User Datacited by 3
- 2026Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden Statescited by 3
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agentscited by 1
- 2026LiSA: Lifelong Safety Adaptation via Conservative Policy Inductioncited by 1
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injectionscited by 1
- 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 1
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agentscited by 0
- 2026Causal Attribution for Agentic Decisions: Estimators, Coupling, and a Traceability Specificationcited by 0
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents14 Sep 2026
- 2026Causal Attribution for Agentic Decisions: Estimators, Coupling, and a Traceability Specification6 Sep 2026
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agents30 Aug 2026
- 2026Long-Horizon Agent Trajectory Attribution: A Unified Benchmark and Fine-Grained Annotation Framework7 Aug 2026
- 2026Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden States1 Aug 2026
- 2026Auditing Provenance Sensitivity in LLM Agent Action Selection23 Jul 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections10 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026LiSA: Lifelong Safety Adaptation via Conservative Policy Induction14 May 2026
- 2026An AI Agent Execution Environment to Safeguard User Data21 Apr 2026
1 more
- 2026Auditing Provenance Sensitivity in LLM Agent Action Selectioncited by 9
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environmentscited by 5
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026Long-Horizon Agent Trajectory Attribution: A Unified Benchmark and Fine-Grained Annotation Frameworkcited by 4
- 2026Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden Statescited by 3
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agentscited by 1
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injectionscited by 1
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agentscited by 0
- 2026Causal Attribution for Agentic Decisions: Estimators, Coupling, and a Traceability Specificationcited by 0
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agentscited by 0
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents14 Sep 2026
- 2026Causal Attribution for Agentic Decisions: Estimators, Coupling, and a Traceability Specification6 Sep 2026
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agents30 Aug 2026
- 2026Long-Horizon Agent Trajectory Attribution: A Unified Benchmark and Fine-Grained Annotation Framework7 Aug 2026
- 2026Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden States1 Aug 2026
- 2026Auditing Provenance Sensitivity in LLM Agent Action Selection23 Jul 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections10 Jun 2026
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments9 Jun 2026
- 2026Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agents5 Apr 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026An AI Agent Execution Environment to Safeguard User Data21 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocations
- 2026CounterSteer: Suppressing Indirect Prompt Injection with Activation Steering
- 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents
- 2026Silent Failures in Agentic Security Evaluation: A Validated Harness for Tool-Call Mediation Under Indirect Prompt Injection
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
- 2025Mitigating Indirect Prompt Injection via Instruction-Following Intent Analysis
- 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
- 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks