Prefill-level Jailbreak: A Black-Box Risk Analysis of Large Language Models
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large Language Models face security threats from jailbreak attacks. Existing research has predominantly focused on prompt-level attacks while largely ignoring the underexplored attack surface of user-controlled response prefilling. This functionality allows an attacker to dictate the beginning of a model's output, thereby shifting the attack paradigm from persuasion to direct state manipulation.In this paper, we present a systematic black-box security analysis of prefill-level jailbreak attacks. We categorize these new attacks and evaluate their effectiveness across fourteen language models. Our experiments show that prefill-level attacks achieve high success rates, with adaptive methods exceeding 99% on several models. Token-level probability analysis reveals that these attacks work through initial-state manipulation by changing the first-token probability from refusal to compliance.Furthermore, we show that prefill-level jailbreak can act as effective enhancers, increasing the success of existing prompt-level attacks by 10 to 15 percentage points. Our evaluation of several defense strategies indicates that conventional content filters offer limited protection. We find that a detection method focusing on the manipulative relationship between the prompt and the prefill is more effective. Our findings reveal a gap in current LLM safety alignment and highlight the need to address the prefill attack surface in future safety training.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 36 of its 47 references that are in the map. First posted on arXiv 28 Apr 2025.
Builds on
36 of 47 references.
Closest ancestors · 18
Same direction, newest first
- 2025Jailbreaking is (Mostly) Simpler Than You Think7 Mar
- 2024Jailbreaking? One Step Is Enough!17 Dec
- 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct
- 2024RoleBreak: Character Hallucination as a Jailbreak Attack in Role-Playing Systems25 Sep
- 2024Emerging Vulnerabilities in Frontier Models: Multi-Turn Jailbreak Attacks29 Aug
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
- 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Models26 Mar
- 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models26 Feb
- 2024GUARD: Role-playing to Generate Natural-language Jailbreakings to Test Guideline Adherence of Large Language Models5 Feb
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attacks19 Dec
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
6 more
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots16 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 18
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
- 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 197
6 more
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 187
- 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
- 2023ChatCounselor: A Large Language Models for Mental Health Supportcited by 44
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inferencecited by 16
- 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10
- 2019Autoregressive Text Generation Beyond Feedback Loopscited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 7.
9 papers.
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMscited by 18
- 2025Steering Awareness: Detecting Activation Steering from Withincited by 7
- 2025Beyond Jailbreaks: Revealing Stealthier and Broader LLM Security Risks Stemming from Alignment Failurescited by 3
- 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attackscited by 1
- 2026Overthinking: Amplifying Reasoning Weights to Extract Learned Secretscited by 1
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimizationcited by 0
- 2026MJ: Multi-turn LLM Jailbreaking via Decomposed Credit Assignmentcited by 0
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreakcited by 0
- 2026Harmful Content Is Not Enough: Continuation Framing Moderates In-Context Emergent Misalignmentcited by 0
- 2026Harmful Content Is Not Enough: Continuation Framing Moderates In-Context Emergent Misalignment8 Aug 2026
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreak14 Jul 2026
- 2026MJ: Multi-turn LLM Jailbreaking via Decomposed Credit Assignment13 Jul 2026
- 2026Overthinking: Amplifying Reasoning Weights to Extract Learned Secrets9 Jul 2026
- 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks26 May 2026
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimization19 Jan 2026
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs4 Jan 2026
- 2025Steering Awareness: Detecting Activation Steering from Within26 Nov 2025
- 2025Beyond Jailbreaks: Revealing Stealthier and Broader LLM Security Risks Stemming from Alignment Failures9 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2024No Free Lunch for Defending Against Prefilling Attack by In-Context Learning
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2026Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing
- 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
- 2026Babel: Jailbreaking Safety Attention via Obfuscation Distribution Optimized Sampling
- 2024JailPO: A Novel Black-box Jailbreak Framework via Preference Optimization against Aligned LLMs
- 2026Exploring and Developing a Pre-Model Safeguard with Draft Models