Jailbreaking with Universal Multi-Prompts

Yu-Ling Hsu, Hsuan Su, Shang-Tse Chen · DOI

Abstract

As Large Language Models (LLMs) are increasingly integrated into critical infrastructure, their susceptibility to "jailbreaking"—the use of adversarial prompts to bypass safety guardrails—remains a significant security concern. This paper introduces JUMP (Jailbreaking with Universal Multi-Prompts), a framework designed to generate universal adversarial prompts capable of triggering harmful outputs across diverse, unseen tasks. By combining automated beam search with perplexity constraints and handcrafted templates, JUMP achieves high Attack Success Rates (ASR) while maintaining the stealth necessary to bypass common defensive filters. Our results demonstrate that JUMP++ (the hybrid iteration of the framework) achieves near-perfect success rates on open-source models and maintains an 82.7% success rate against state-of-the-art proprietary models like GPT-4o.

1. Introduction

Safety alignment, primarily through Reinforcement Learning from Human Feedback (RLHF), serves as the primary defense against LLMs generating harmful, biased, or illegal content. However, the emergence of adversarial jailbreaking has created a persistent "cat-and-mouse" game between developers and attackers.

Current jailbreaking research faces two primary limitations. First is the issue of efficiency and generality: many automated attacks, such as GCG, optimize a specific suffix for a specific harmful request, which is computationally expensive and fails to scale. Second is the tension between stealth and success: while automated methods often produce effective "gibberish" suffixes, these are easily flagged by perplexity filters that detect unnatural text structures. Conversely, human-written prompts are natural but difficult to scale across diverse domains. JUMP addresses these gaps by seeking a "universal" attacker—a set of prompts that can be applied to any malicious request while appearing as natural human language.

2. Methodology

The JUMP framework evolves through three distinct iterations to balance effectiveness with naturalness:

  • JUMP*: This version extends the BEAST algorithm. Instead of optimizing for a single prompt, it utilizes beam search to identify a set of adversarial suffixes that minimize "refusal loss" across a broad batch of diverse harmful instructions.
  • JUMP (with Constraints): To enhance stealth, the authors introduce a Perplexity Constraint. During the beam search process, candidates are sampled based on their perplexity scores, prioritizing suffixes that mimic natural language patterns to evade automated detection systems.
  • JUMP++: Recognizing the limitations of pure automation, JUMP++ initializes the search using a set of handcrafted templates (e.g., "Act as a character from a fictional setting..."). This "warm start" provides a creative direction that the algorithm then fine-tunes for maximum impact.

Additionally, the authors propose DUMP (Defensing with Universal Multi-Prompts). DUMP applies the same logic in reverse, finding universal defense prompts that can be prepended to user inputs to neutralize potential attacks, functioning similarly to adversarial training for safety.

3. Experimental Setup and Results

The framework was evaluated using AdvBench, a standard benchmark for harmful goals. The researchers split the dataset into training and test sets to measure how well universal prompts transfer to previously unseen instructions.

3.1 Performance on Open-Source Models

JUMP++ demonstrated superior performance on several open-source architectures. It achieved a 100% ASR@10 on Vicuna-7b and Mistral-7b. On the more robust Llama-3-8b, JUMP++ reached an ASR of 82.7%, significantly outperforming previous state-of-the-art automated methods while maintaining lower perplexity than the baseline JUMP*.

3.2 Black-Box Transferability

A critical finding of the study is the high transferability of these attacks. Prompts developed on open-source models successfully bypassed the guardrails of OpenAI’s GPT-4o. When initialized with AutoDAN templates, JUMP++ achieved an 82.7% ASR against GPT-4o, highlighting a shared vulnerability across different model architectures and the limitations of current proprietary safety layers.

3.3 Defensive Efficacy

The defensive counterpart, DUMP, proved effective in mitigating potent attacks. On Vicuna-7b, DUMP reduced the ASR of the AutoDAN attack from 90% to 66%, outperforming existing non-training defenses such as SmoothLLM.

4. Key Insights

  • The Power of Universality: JUMP identifies "master keys"—optimized multi-prompt sets that trigger jailbreaks across a wide variety of harmful topics without requiring re-optimization for each new request.
  • The Perplexity Trade-off: There is an inherent tension between an attack's success and its naturalness. While raw automated search is effective, it is often detectable. JUMP++ mitigates this by using human intuition to guide the algorithm toward more natural-looking, yet highly effective, tokens.
  • Hybrid Intelligence: The success of JUMP++ suggests that the most potent adversarial strategies currently rely on a combination of human creativity and algorithmic optimization.

5. Limitations and Conclusion

Despite its success, JUMP++ still relies on an initial set of handcrafted templates, meaning a fully autonomous, low-perplexity universal attacker remains an open challenge. Furthermore, while the prompts are more efficient at inference time, the initial training phase remains resource-intensive.

In conclusion, JUMP exposes a significant vulnerability in current LLM safety alignment. The ability to generate universal, stealthy prompts that transfer to black-box models suggests that safety guardrails must evolve beyond simple refusal training. Future work may explore using LLMs to generate the initial templates, potentially moving toward a fully automated universal jailbreaking framework.

Summary updated

BibTeX
@inproceedings{hsu2025jailbreaking,
  author = {Yu-Ling Hsu and Hsuan Su and Shang-Tse Chen},
  title = {{Jailbreaking with Universal Multi-Prompts}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.274},
}
Figure