mlsanityData to 7 Oct 2026

CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attribution

arXiv 2602.07918 ↗First posted 8 Feb 2026cs.CR cs.LG stat.MEcited by 13

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

  1. 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization9 Oct
  2. 2025VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation3 Oct
  3. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  4. 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
  5. 2025DoomArena: A framework for Testing AI Agents Against Evolving Security Threats18 Apr
  6. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  7. 2025Defeating Prompt Injections by Design24 Mar
  8. 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
  9. 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
  10. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  11. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar

Other references · 23

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  3. 2025Gemma 3 Technical Reportcited by 1,686
  4. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  5. 2018Sanity Checks for Saliency Mapscited by 1,149
  6. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  7. 2024WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?cited by 348
  8. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
  9. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
  10. 2022Algorithms to estimate Shapley value feature attributionscited by 114
  11. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 108
  12. 2024ContextCite: Attributing Model Generation to Contextcited by 93
11 more
  1. 2019Neural Network Attributions: A Causal Perspectivecited by 77
  2. 2022Faith-Shap: The Faithful Shapley Interaction Indexcited by 68
  3. 2025Measuring Chain of Thought Faithfulness by Unlearning Reasoning Stepscited by 43
  4. 2025Defending Against Prompt Injection with DataFiltercited by 30
  5. 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
  6. 2025Indirect Prompt Injections: Are Firewalls All You Need, or Stronger Benchmarks?cited by 16
  7. 2023LifeTox: Unveiling Implicit Toxicity in Life Advicecited by 14
  8. 2024LLMScan: Causal Scan for LLM Misbehavior Detectioncited by 13
  9. 2024AdvisorQA: Towards Helpful and Harmless Advice-seeking Question Answering with Collective Intelligencecited by 12
  10. 2025PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitizationcited by 10
  11. 2024Guaranteed Generation from Large Language Modelscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 13.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool Invocations
  2. 2026CounterSteer: Suppressing Indirect Prompt Injection with Activation Steering
  3. 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents
  4. 2026Silent Failures in Agentic Security Evaluation: A Validated Harness for Tool-Call Mediation Under Indirect Prompt Injection
  5. 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
  6. 2025Mitigating Indirect Prompt Injection via Instruction-Following Intent Analysis
  7. 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
  8. 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks