Adversarial Suffix Filtering: a Defense Pipeline for LLMs
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large Language Models (LLMs) are increasingly embedded in autonomous systems and public-facing environments, yet they remain susceptible to jailbreak vulnerabilities that may undermine their security and trustworthiness. Adversarial suffixes are considered to be the current state-of-the-art jailbreak, consistently outperforming simpler methods and frequently succeeding even in black-box settings. Existing defenses rely on access to the internal architecture of models limiting diverse deployment, increase memory and computation footprints dramatically, or can be bypassed with simple prompt engineering methods. We introduce Adversarial Suffix Filtering (ASF), a lightweight novel model-agnostic defensive pipeline designed to protect LLMs against adversarial suffix attacks. ASF functions as an input preprocessor and sanitizer that detects and filters adversarially crafted suffixes in prompts, effectively neutralizing malicious injections. We demonstrate that ASF provides comprehensive defense capabilities across both black-box and white-box attack settings, reducing the attack efficacy of state-of-the-art adversarial suffix generation methods to below 4%, while only minimally affecting the target model's capabilities in non-adversarial scenarios.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 21 of its 27 references that are in the map. First posted on arXiv 14 May 2025.
Builds on
21 of 27 references.
Closest ancestors · 10
Same direction, newest first
- 2024AmpleGCG-Plus: A Strong Generative Model of Adversarial Suffixes to Jailbreak LLMs with Higher Success Rates in Fewer Attempts29 Oct
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs11 Apr
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models21 Feb
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
Other references · 11
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 67
- 2024Robust LLM safeguarding via refusal feature adversarial trainingcited by 64
- 2024Segment Any Text: A Universal Approach for Robust, Efficient and Adaptable Sentence Segmentationcited by 41
- 2023Bergeron: Combating Adversarial Attacks through a Conscience-Based Alignment Frameworkcited by 30
- 2023Fine-tuning Language Models with Generative Adversarial Reward Modellingcited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agentscited by 10
- 2026Monotonicity as an Architectural Bias for Robust Language Modelscited by 0
- 2026When Efficiency Backfires: Cascading LLMs Trigger Cascade Failure under Adversarial Attackcited by 0
- 2026Words Speak Louder Than Code: Investigating Cognitive Heuristics in LLM-Based Code Vulnerability Detectioncited by 0
- 2026Robust Critics: Defending LLMs Against Multi-Turn Attackscited by 0
- 2026Words Speak Louder Than Code: Investigating Cognitive Heuristics in LLM-Based Code Vulnerability Detection29 Jun 2026
- 2026Robust Critics: Defending LLMs Against Multi-Turn Attacks24 May 2026
- 2026When Efficiency Backfires: Cascading LLMs Trigger Cascade Failure under Adversarial Attack17 May 2026
- 2026Monotonicity as an Architectural Bias for Robust Language Models2 Feb 2026
- 2025It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agents29 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings
- 2026GAS-Leak-LLM: Genetic Algorithm-Based Suffix Optimization for Black-Box LLM Jailbreaking
- 2026TrapSuffix: Proactive Defense Against Adversarial Suffixes in Jailbreaking
- 2024Towards Universal and Black-Box Query-Response Only Attack on LLMs with QROA
- 2024GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMs
- 2024Unleashing the Unseen: Harnessing Benign Datasets for Jailbreaking Large Language Models
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models