Defenses Against Prompt Attacks Learn Surface Heuristics
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly deployed in security-sensitive applications, where they must follow system- or developer-specified instructions that define the intended task behavior, while completing benign user requests. When adversarial instructions appear in user queries or externally retrieved content, models may override intended logic. Recent defenses rely on supervised fine-tuning with benign and malicious labels. Although these methods achieve high attack rejection rates, we find that they rely on narrow correlations in defense data rather than harmful intent, leading to systematic rejection of safe inputs. We analyze three recurring shortcut behaviors induced by defense fine-tuning. Position bias arises when benign content placed later in a prompt is rejected at much higher rates; across reasoning benchmarks, suffix-task rejection rises from below 10% to as high as 90%. Token trigger bias occurs when strings common in attack data raise rejection probability even in benign contexts; inserting a single trigger token increases false refusals by up to 50%. Topic generalization bias reflects poor generalization beyond the defense data distribution, with defended models suffering test-time accuracy drops of up to 40%. These findings suggest that current prompt-injection defenses frequently respond to attack-like surface patterns rather than the underlying intent. We introduce controlled diagnostic datasets and a systematic evaluation across two base models and multiple defense pipelines, highlighting limitations of supervised fine-tuning for reliable LLM security.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 21 of its 41 references that are in the map. First posted on arXiv 12 Jan 2026.
Builds on
21 of 41 references.
References · 21
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 179
- 2023VPGTrans: Transfer Visual Prompt Generator across LLMscited by 79
- 2024Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchycited by 62
- 2023Panoptic Scene Graph Generation with Semantics-Prototype Learningcited by 42
9 more
- 2024InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Modelscited by 36
- 2025Treble Counterfactual VLMs: A Causal Approach to Hallucinationcited by 33
- 2022On the Importance of Building High-quality Training Datasets for Neural Code Searchcited by 30
- 2025Secure On-Device Video OOD Detection Without Backpropagationcited by 19
- 2025VeriMoA: A Mixture-of-Agents Framework for Spec-to-HDL Generationcited by 15
- 2025Maestro: Learning to Collaborate via Conditional Listwise Policy Optimization for Multi-Agent LLMscited by 14
- 2025Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker Modelcited by 13
- 2025StealthRank: LLM Ranking Manipulation via Stealthy Prompt Optimizationcited by 10
- 2024Backpropagation-Free Multi-modal On-Device Model Adaptation via Cloud-Device Collaborationcited by 5
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026FORTIS: Benchmarking Over-Privilege in Agent Skillscited by 11
- 2026Counterfactual Trace Auditing of LLM Agent Skillscited by 8
- 2026RaMem: Contextual Reinstatement for Long-term Agentic Memorycited by 5
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agentscited by 4
- 2026Beyond the Embedding Bottleneck: Adaptive Retrieval-Augmented 3D CT Report Generationcited by 3
- 2026Geometry over Density: Few-Shot Cross-Domain OOD Detectioncited by 2
- 2026JigShape: Evaluating Visual-Geometric Reasoning in VLMs through Jigsaw Puzzlescited by 1
- 2026Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Controlcited by 0
- 2026IBBench-Light: A Paired Evaluation of Task-Conditioned Responses to External Directivescited by 0
- 2026Controlled Decoding Attacks on Black-Box LLMscited by 0
- 2026Controlled Decoding Attacks on Black-Box LLMs29 Sep 2026
- 2026IBBench-Light: A Paired Evaluation of Task-Conditioned Responses to External Directives12 Sep 2026
- 2026Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Control28 Aug 2026
- 2026JigShape: Evaluating Visual-Geometric Reasoning in VLMs through Jigsaw Puzzles30 Jul 2026
- 2026RaMem: Contextual Reinstatement for Long-term Agentic Memory22 Jun 2026
- 2026AutoDojo: Adaptive Black-Box Attacks Reveal the Limits of IPI Defenses and Task-Specification Effects in LLM Agents13 Jun 2026
- 2026Counterfactual Trace Auditing of LLM Agent Skills12 May 2026
- 2026FORTIS: Benchmarking Over-Privilege in Agent Skills9 May 2026
- 2026Geometry over Density: Few-Shot Cross-Domain OOD Detection5 May 2026
- 2026Beyond the Embedding Bottleneck: Adaptive Retrieval-Augmented 3D CT Report Generation16 Mar 2026