mlsanityData to 7 Oct 2026

Prefill-level Jailbreak: A Black-Box Risk Analysis of Large Language Models

arXiv 2504.21038 ↗First posted 28 Apr 2025cs.CR cs.AIcited by 9

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

  1. 2025Jailbreaking is (Mostly) Simpler Than You Think7 Mar
  2. 2024Jailbreaking? One Step Is Enough!17 Dec
  3. 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct
  4. 2024RoleBreak: Character Hallucination as a Jailbreak Attack in Role-Playing Systems25 Sep
  5. 2024Emerging Vulnerabilities in Frontier Models: Multi-Turn Jailbreak Attacks29 Aug
  6. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
  7. 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Models26 Mar
  8. 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models26 Feb
  9. 2024GUARD: Role-playing to Generate Natural-language Jailbreakings to Test Guideline Adherence of Large Language Models5 Feb
  10. 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attacks19 Dec
  11. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
  12. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
6 more
  1. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  2. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  3. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  5. 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots16 Jul
  6. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 18

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2017Deep reinforcement learning from human preferencescited by 3,846
  4. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  5. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
  6. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  7. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
  8. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  9. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  10. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  11. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
  12. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 197
6 more
  1. 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 187
  2. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
  3. 2023ChatCounselor: A Large Language Models for Mental Health Supportcited by 44
  4. 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inferencecited by 16
  5. 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10
  6. 2019Autoregressive Text Generation Beyond Feedback Loopscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024No Free Lunch for Defending Against Prefilling Attack by In-Context Learning
  2. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
  3. 2026Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing
  4. 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
  5. 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
  6. 2026Babel: Jailbreaking Safety Attention via Obfuscation Distribution Optimized Sampling
  7. 2024JailPO: A Novel Black-box Jailbreak Framework via Preference Optimization against Aligned LLMs
  8. 2026Exploring and Developing a Pre-Model Safeguard with Draft Models