Overview

Prompt injection defense aims to stop untrusted text, images, or other inputs from overriding a user’s instructions, especially in agents that browse, retrieve documents, or use tools. Approaches include detecting and sanitizing suspicious content, training models to respect instruction hierarchies, and enforcing permissions at runtime through provenance tracking, privilege separation, or tool-call authorization. Evaluation increasingly uses adaptive attacks and realistic, multi-step settings such as web agents, retrieval-augmented generation, and tool workflows, rather than relying only on fixed prompts. The main tension is reducing harmful actions without blocking legitimate information or useful tasks; defenses that work on known attacks may fail on new surfaces, longer contexts, or adaptive adversaries.

Latest papers

CardsList

127 papers20 papers in the last four weeks, up 11% on the four weeks before. 0.2% of all new papers.

  1. AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification

    Feb 26, 2026Tian Zhang, Yiwei Xu, Juan Wang +8Prompt Injection DefensePrompt Injection Attacks on AI Agents

  2. Analysis of LLMs Against Prompt Injection and Jailbreak Attacks

    Feb 24, 2026Piyush Jaiswal, Aaditya Pratap, Shreyansh Saraswati +2Prompt Injection Attacks on LLMsLanguage Model Safety Evaluation

  3. ICON: Indirect Prompt Injection Defense for Agents based on Inference-Time Correction

    Feb 24, 2026Che Wang, Fuyao Zhang, Jiaming Zhang +6Prompt Injection DefenseAI Agent Security

  4. Semantics as a Shield: Label Disguise Defense (LDD) against Prompt Injection in LLM Sentiment Classification

    Nov 23, 2025Yanxi Li, Ruocheng ShanPrompt Injection DefensePrompt Injection Attacks on LLMs

  5. Meta-SecAlign: Training LLMs against Prompt Injection for Robust Agents

    Jul 3, 2025Sizhe Chen, Arman Zharmagambetov, David Wagner +1LLM Agent SecurityAI Agent Security Benchmarks