Sentinel: SOTA model to protect against prompt injections
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Large Language Models (LLMs) are increasingly powerful but remain vulnerable to prompt injection attacks, where malicious inputs cause the model to deviate from its intended instructions. This paper introduces Sentinel, a novel detection model, qualifire/prompt-injection-sentinel, based on the answerdotai/ModernBERT-large architecture. By leveraging ModernBERT's advanced features and fine-tuning on an extensive and diverse dataset comprising a few open-source and private collections, Sentinel achieves state-of-the-art performance. This dataset amalgamates varied attack types, from role-playing and instruction hijacking to attempts to generate biased content, alongside a broad spectrum of benign instructions, with private datasets specifically targeting nuanced error correction and real-world misclassifications. On a comprehensive, unseen internal test set, Sentinel demonstrates an average accuracy of 0.987 and an F1-score of 0.980. Furthermore, when evaluated on public benchmarks, it consistently outperforms strong baselines like protectai/deberta-v3-base-prompt-injection-v2. This work details Sentinel's architecture, its meticulous dataset curation, its training methodology, and a thorough evaluation, highlighting its superior detection capabilities.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 9 of its 22 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
9 of 22 references.
Closest ancestors · 2
Same direction, newest first
- 2025From ASR to ASP: Evaluating Prompt Attack Vulnerabilities Against Open-Source LLMs20 May
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 7
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defensescited by 8
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitizationcited by 12
- 2025AprielGuardcited by 2
- 2026Security--Fidelity Tradeoffs: The Hidden Cost of Prompt Injection Defensecited by 2
- 2025CourtGuard: A Local, Multiagent Prompt Injection Classifiercited by 1
- 2025Black-Box Guardrail Reverse-engineering Attackcited by 0
- 2026Overflip: Repetition-Induced Label Flips in Guardrail Modelscited by 0
- 2026Overflip: Repetition-Induced Label Flips in Guardrail Models14 Sep 2026
- 2026Security--Fidelity Tradeoffs: The Hidden Cost of Prompt Injection Defense29 Jun 2026
- 2025AprielGuard23 Dec 2025
- 2025Black-Box Guardrail Reverse-engineering Attack6 Nov 2025
- 2025CourtGuard: A Local, Multiagent Prompt Injection Classifier20 Oct 2025
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization9 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2024Fine-tuned Large Language Models (LLMs): Improved Prompt Injection Attacks Detection
- 2024Palisade -- Prompt Injection Detection Framework
- 2024Systematically Analyzing Prompt Injection Vulnerabilities in Diverse LLM Architectures
- 2025Multimodal Prompt Injection Attacks: Risks and Defenses for Modern LLMs
- 2025PromptShield: Deployable Detection for Prompt Injection Attacks
- 2024Large Language Model Sentinel: LLM Agent for Adversarial Purification
- 2025Prompt Injection as an Emerging Threat: Evaluating the Resilience of Large Language Models
- 2026BASIS: Breach-Aware Selective Prompt Injection Shielding with Prefill Attention Probes