PromptShield: Deployable Detection for Prompt Injection Attacks
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Application designers have moved to integrate large language models (LLMs) into their products. However, many LLM-integrated applications are vulnerable to prompt injections. While attempts have been made to address this problem by building prompt injection detectors, many are not yet suitable for practical deployment. To support research in this area, we introduce PromptShield, a benchmark for training and evaluating deployable prompt injection detectors. Our benchmark is carefully curated and includes both conversational and application-structured data. In addition, we use insights from our curation process to fine-tune a new prompt injection detector that achieves significantly higher performance in the low false positive rate (FPR) evaluation regime compared to prior schemes. Our work suggests that careful curation of training data and larger models can contribute to strong detector performance.
Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. First posted on arXiv 25 Jan 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 16; 2026: 27.
43 papers.
Sort:
By area:
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 98
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 39
- 2025Red Teaming the Mind of the Machine: A Systematic Evaluation of Prompt Injection and Jailbreak Vulnerabilities in LLMscited by 34
- 2026Towards Verifiably Safe Tool Use for LLM Agentscited by 34
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
- 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2025Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworkscited by 14
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Promptcited by 14
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 13
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitizationcited by 12
31 more
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2025Preventing Prompt Injection with Type-Directed Privilege Separationcited by 8
- 2026When Benchmarks Lie: Evaluating Malicious Prompt Classifiers Under True Distribution Shiftcited by 8
- 2026Thought Virus: Viral Misalignment via Subliminal Prompting in Multi-Agent Systemscited by 7
- 2025Bypassing Prompt Guards in Production with Controlled-Release Promptingcited by 6
- 2025AttnTrace: Contextual Attribution of Prompt Injection and Knowledge Corruptioncited by 5
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domaincited by 5
- 2025CAPTURE: Context-Aware Prompt Injection Testing and Robustness Enhancementcited by 4
- 2026Prompt Injection Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Cachingcited by 4
- 2025Token-Efficient Prompt Injection Attack: Provoking Cessation in LLM Reasoning via Adaptive Token Compressioncited by 3
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attackscited by 3
- 2026Adversarial Attacks on Multimodal Large Language Models: A Comprehensive Surveycited by 3
- 2026From Prompt Injection to Persistent Control: Defending Agentic Harness Against Trojan Backdoorscited by 3
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systemscited by 3
- 2025Quantifying Conversation Drift in MCP via Latent Polytopecited by 2
- 2026Agent Privilege Separation in OpenClaw: A Structural Defense Against Prompt Injectioncited by 2
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectoriescited by 2
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
- 2026Hallucination Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Cachingcited by 1
- 2026PIDS-Bench: Evaluating Prompt-Injection Detectors Under Over-Defense, Obfuscation, and Distribution Shiftcited by 1
- 2026Light Alignment Improves LLM Safety via Model Self-Reflection with a Single Neuroncited by 0
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Frameworkcited by 0
- 2026Covert Visual Prompt Injection against Commercial Multimodal Large Language Modelscited by 0
- 2026Conversations Risk Detection LLMs in Financial Agents via Multi-Stage Generative Rolloutcited by 0
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agentscited by 0
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardeningcited by 0
- 2026Twin Agent: Context Residual Compression for Privilege Separated Agentscited by 0
- 2026No-Box Vulnerability Analysis: Description-only Detection of Indirect Prompt Injection Vulnerabilities in MCP Serverscited by 0
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agentscited by 0
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectivescited by 0
- 2026Prompt Injection Detection for Email Agents Through Attack Chain Modelingcited by 0
- 2026Prompt Injection Detection for Email Agents Through Attack Chain Modeling25 Sep 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026PIDS-Bench: Evaluating Prompt-Injection Detectors Under Over-Defense, Obfuscation, and Distribution Shift14 Sep 2026
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents9 Sep 2026
- 2026No-Box Vulnerability Analysis: Description-only Detection of Indirect Prompt Injection Vulnerabilities in MCP Servers9 Sep 2026
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories7 Sep 2026
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systems24 Aug 2026
- 2026Twin Agent: Context Residual Compression for Privilege Separated Agents21 Jul 2026
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardening21 Jul 2026
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agents21 Jul 2026
- 2026From Prompt Injection to Persistent Control: Defending Agentic Harness Against Trojan Backdoors29 May 2026
- 2026Hallucination Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Caching27 May 2026
31 more
- 2026Conversations Risk Detection LLMs in Financial Agents via Multi-Stage Generative Rollout10 Apr 2026
- 2026Covert Visual Prompt Injection against Commercial Multimodal Large Language Models31 Mar 2026
- 2026Adversarial Attacks on Multimodal Large Language Models: A Comprehensive Survey30 Mar 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Framework17 Mar 2026
- 2026Agent Privilege Separation in OpenClaw: A Structural Defense Against Prompt Injection13 Mar 2026
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses13 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
- 2026Thought Virus: Viral Misalignment via Subliminal Prompting in Multi-Agent Systems23 Feb 2026
- 2026When Benchmarks Lie: Evaluating Malicious Prompt Classifiers Under True Distribution Shift15 Feb 2026
- 2026MalTool: Malicious Tool Attacks on LLM Agents12 Feb 2026
- 2026Light Alignment Improves LLM Safety via Model Self-Reflection with a Single Neuron2 Feb 2026
- 2026Prompt Injection Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Caching19 Jan 2026
- 2026Towards Verifiably Safe Tool Use for LLM Agents12 Jan 2026
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systems20 Oct 2025
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Features15 Oct 2025
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization9 Oct 2025
- 2025Bypassing Prompt Guards in Production with Controlled-Release Prompting2 Oct 2025
- 2025Preventing Prompt Injection with Type-Directed Privilege Separation30 Sep 2025
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attacks25 Sep 2025
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domain4 Sep 2025
- 2025Quantifying Conversation Drift in MCP via Latent Polytope8 Aug 2025
- 2025AttnTrace: Contextual Attribution of Prompt Injection and Knowledge Corruption5 Aug 2025
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injection2 Aug 2025
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul 2025
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Prompt6 Jun 2025
- 2025CAPTURE: Context-Aware Prompt Injection Testing and Robustness Enhancement18 May 2025
- 2025Red Teaming the Mind of the Machine: A Systematic Evaluation of Prompt Injection and Jailbreak Vulnerabilities in LLMs7 May 2025
- 2025Token-Efficient Prompt Injection Attack: Provoking Cessation in LLM Reasoning via Adaptive Token Compression29 Apr 2025
- 2025Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworks14 Mar 2025
- 2025PromptArmor: Simple yet Effective Prompt Injection Defensescited by 98
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injectioncited by 39
- 2026Towards Verifiably Safe Tool Use for LLM Agentscited by 34
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
- 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2025To Protect the LLM Agent Against the Prompt Injection Attack with Polymorphic Promptcited by 14
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitizationcited by 12
- 2025Breaking and Fixing Defenses Against Control-Flow Hijacking in Multi-Agent Systemscited by 12
- 2025Preventing Prompt Injection with Type-Directed Privilege Separationcited by 8
- 2026When Benchmarks Lie: Evaluating Malicious Prompt Classifiers Under True Distribution Shiftcited by 8
- 2026Prompt Injection Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Cachingcited by 4
12 most cited of 23 All 23 (JSON)
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents9 Sep 2026
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories7 Sep 2026
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systems24 Aug 2026
- 2026Twin Agent: Context Residual Compression for Privilege Separated Agents21 Jul 2026
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardening21 Jul 2026
- 2026Cross-Agent Campaign Attribution: Linking Asynchronous Attacks Across LLM Agents21 Jul 2026
- 2026From Prompt Injection to Persistent Control: Defending Agentic Harness Against Trojan Backdoors29 May 2026
- 2026Conversations Risk Detection LLMs in Financial Agents via Multi-Stage Generative Rollout10 Apr 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026Agent Privilege Separation in OpenClaw: A Structural Defense Against Prompt Injection13 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
12 newest of 23 All 23 (JSON)
- 2025Red Teaming the Mind of the Machine: A Systematic Evaluation of Prompt Injection and Jailbreak Vulnerabilities in LLMscited by 34
- 2025Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworkscited by 14
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 13
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 13
- 2025CAPTURE: Context-Aware Prompt Injection Testing and Robustness Enhancementcited by 4
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
- 2026Light Alignment Improves LLM Safety via Model Self-Reflection with a Single Neuroncited by 0
- 2026No-Box Vulnerability Analysis: Description-only Detection of Indirect Prompt Injection Vulnerabilities in MCP Serverscited by 0
- 2026Prompt Injection Detection for Email Agents Through Attack Chain Modelingcited by 0
- 2026Prompt Injection Detection for Email Agents Through Attack Chain Modeling25 Sep 2026
- 2026No-Box Vulnerability Analysis: Description-only Detection of Indirect Prompt Injection Vulnerabilities in MCP Servers9 Sep 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses13 Mar 2026
- 2026Light Alignment Improves LLM Safety via Model Self-Reflection with a Single Neuron2 Feb 2026
- 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Features15 Oct 2025
- 2025CAPTURE: Context-Aware Prompt Injection Testing and Robustness Enhancement18 May 2025
- 2025Red Teaming the Mind of the Machine: A Systematic Evaluation of Prompt Injection and Jailbreak Vulnerabilities in LLMs7 May 2025
- 2025Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworks14 Mar 2025
- 2025Bypassing Prompt Guards in Production with Controlled-Release Promptingcited by 6
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attackscited by 3
- 2026Hallucination Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Cachingcited by 1
- 2026PIDS-Bench: Evaluating Prompt-Injection Detectors Under Over-Defense, Obfuscation, and Distribution Shiftcited by 1
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Frameworkcited by 0
- 2026PIDS-Bench: Evaluating Prompt-Injection Detectors Under Over-Defense, Obfuscation, and Distribution Shift14 Sep 2026
- 2026Hallucination Mitigation with Agentic AI, Nested Learning, and AI Sustainability via Semantic Caching27 May 2026
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Framework17 Mar 2026
- 2025Bypassing Prompt Guards in Production with Controlled-Release Prompting2 Oct 2025
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attacks25 Sep 2025