On the Hardness of Junking LLMs
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large language models (LLMs) are known to be vulnerable to jailbreak attacks, which typically rely on carefully designed prompts containing explicit semantic structure. These attacks generally operate by fixing an adversarial instruction and optimizing small adversarial components (e.g., suffixes or prefixes). In this setting, prompt structure is fundamental for performance, and recent results show that even simple random search can achieve strong performance when combined with sophisticated prompt design. Recently, it has been observed that harmful behaviors can be elicited even without the adversarial prompt, relying solely on optimized token sequences. This suggests the existence of natural backdoors, i.e., token sequences naturally emerged during LLMs training that trigger unsafe outputs without any meaningful instruction. However, despite these observations, this setting remains largely unexplored, and in particular the hardness of finding natural backdoors has not been assessed yet. In this work, we provide a first proof-of-concept study investigating the hardness of this task, which we refer to as the junking problem. We formalize it as the problem of finding token sequences that maximize the probability of generating a target prefix of harmful responses, propose a greedy random-search method to assess is such sequences can be discovered easily. Our results show that this problem is harder than standard jailbreak attacks, confirming the importance of semantic information in prompt design. At the same time, we find that our simple strategy is sufficient to solve it with a high success rate, suggesting that natural backdoors are present and easily recoverable. Finally, through perplexity analysis, we observe that the discovered token sequences lie in low-probability regions of the model distribution, supporting the hypothesis that they emerged implicitly from the training process.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 43 of its 53 references that are in the map. First posted on arXiv 6 May 2026.
Builds on
43 of 53 references.
Closest ancestors · 20
Same direction, newest first
- 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuning20 Jun
- 2025Adversarial Attack on Large Language Models using Exponentiated Gradient Descent14 May
- 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMs3 Oct
- 2024Investigating Adversarial Trigger Transfer in Large Language Models24 Apr
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
- 2024Coercing LLMs to do and reveal (almost) anything21 Feb
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models21 Feb
- 2024Query-Based Adversarial Prompt Generation19 Feb
- 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
8 more
- 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization15 Nov
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
- 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Models4 Sep
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 23
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2024A Survey on LLM-as-a-Judgecited by 1,423
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
11 more
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 191
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 66
- 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 45
- 2023User Interaction Patterns and Breakdowns in Conversing with LLM-Powered Voice Assistantscited by 15
- 2025Compositional Translation: A Novel LLM-based Approach for Low-resource Machine Translationcited by 14
- 2025STACK: Adversarial Attacks on LLM Safeguard Pipelinescited by 14
- 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggerscited by 14
- 2024Adversarial Attacks on Large Language Models Using Regularized Relaxationcited by 12
- 2025Exposing the Ghost in the Transformer: Abnormal Detection for Large Language Models via Hidden State Forensicscited by 6
- 2025AutoPrompt: Automated Red-Teaming of Text-to-Image Models via LLM-Driven Adversarial Promptscited by 6
- 2026Toward Universal and Transferable Jailbreak Attacks on Vision-Language Modelscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Paper Summary Attack: Jailbreaking LLMs through LLM Safety Papers
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2026Jailbreaking LLMs Without Gradients or Priors: Effective and Transferable Attacks
- 2024Jailbreaking Large Language Models Through Alignment Vulnerabilities in Out-of-Distribution Settings
- 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction
- 2025Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence
- 2025A Domain-Based Taxonomy of Jailbreak Vulnerabilities in Large Language Models
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks