DualBreach : Efficient Dual-Jailbreaking via Target-Driven Initialization and Multi-Target Optimization

Xinzhe Huang * , Kedong Xiu * , Tianhang Zheng 🖂 , Churui Zeng, Wangze Ni, Zhan Qin, Kui Ren, Chun Chen · 2025

Read DualBreach : Efficient Dual-Jailbreaking via Target-Driven Initialization and Multi-Target Optimization by Xinzhe Huang * , Kedong Xiu * , Tianhang Zheng 🖂 , Churui Zeng, Wangze Ni, Zhan Qin, Kui Ren, Chun Chen (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-18564.txt.

Introduction

Xinzhe Huang and co-authors present DualBreach, a 2025 method for breaking the safety layers around language models. Modern chatbots sit behind two walls, their own alignment training and an outside guardrail filter, and most attack research tests only one wall at a time.

DualBreach builds its first prompt from the target itself, then tunes the prompt against both walls at once using rough gradient signals. For closed guardrails it trains a stand-in copy to plan against. In tests it beat rival methods while asking far fewer questions, with top success against a guarded GPT-4 setup and under two queries per break on average. The team also proposes EGuard, a blended defense that stacks several guardrails.

Catalog record

CREATORXinzhe Huang * , Kedong Xiu * , Tianhang Zheng 🖂 , Churui Zeng, Wangze Ni, Zhan Qin, Kui Ren, Chun Chen
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE83 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-18564

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

DualBreach : Efficient Dual-Jailbreaking via Target-Driven Initialization and Multi-Target Optimization Thanks: * The first two authors contribute equally to this work, 🖂 Corresponding author: [email protected] Xinzhe Huang * , Kedong Xiu * , Tianhang Zheng 🖂 , Churui Zeng, Wangze Ni, Zhan Qin, Kui Ren, Chun Chen Abstract Recent research has focused on exploring the vulnerabilities of Large Language Models (LLMs), aiming to elicit harmful and/or sensitive content from LLMs. However, due to the insufficient research on dual-jailbreaking—attacks targeting both LLMs and Guardrails, the effectiveness of existing attacks is limited when attempting to bypass safety-aligned LLMs shielded by guardrails. Therefore, in this paper, we propose DualBreach , a target-driven framework for dual-jailbreaking. DualBreach employs a Target-driven Initialization (TDI) strategy to dynamically construct initial prompts, combined with a Multi-Target Optimization (MTO) method that utilizes approximate gradients to jointly adapt the prompts across guardrails and LLMs, which can simultaneously save the number of queries and achieve a high dual-jailbreaking success rate. For black-box guardrails, DualBreach either employs a powerful open-sourced guardrail or imitates the target black-box guardrail by training a proxy model, to incorporate guardrails into the MTO process. We demonstrate the effectiveness of DualBreach in dual-jailbreaking scenarios through extensive evaluation on several widely-used datasets. Experimental results indicate that DualBreach outperforms state-of-the-art methods with fewer queries, achieving significantly higher success rates across all settings. More specifically, DualBreach achieves an average dual-jailbreaking success rate of 93.67% against GPT-4 with Llama-Guard-3 protection, whereas the best success rate achieved by other methods is 88.33%. Moreover, DualBreach only uses an average of 1.77 queries per successful dual-jailbreak, outperforming other state-of-the-art methods. For defense, we propose an XGBoost-based ensemble defensive mechanism named EGuard , which integrates the strengths of multiple guardrails, demonstrating superior performance compared with Llama-Guard-3. PubID: pubid: Network and Distributed System Security (NDSS) Symposium 2026 24-28 February 2026, San Diego, CA, USA ISBN 979-8-9919276-8-0 https://dx.doi.org/10.14722/ndss.2026.230018 www.ndss-symposium.org Disclaimer: This paper studies jailbreak attacks against prevailing guardrails and LLMs. The proposed attack and defense have been responsibly reported to relevant stakeholders by email ( e .g., NVIDIA, Guardrails AI, etc.), adhering to ethical research practices. The results are intended for academic purposes only, aiming to strengthen defenses against dual-jailbreak attacks. Code: https://github.com/hxz-sec/DualBreach I Introduction Large Language Models (LLMs) [ 1 ] , endowed with their remarkable generative and comprehensive abilities, are reshaping the landscape of Artificial Intelligence (AI) based applications across a diverse range of challenging tasks, such as AI chatbots (e.g., GPT-4 [ 2 ] ), code completion (e.g., Microsoft Copilot [ 3 ] ), and text-to-video generation (e.g., Sora [ 4 ] ). This trend not only marks a significant advancement of AI but also showcases the impressive capabilities of LLMs in delivering daily assistance [ 5 ] . While LLMs are gaining increasing prevalence owing to their remarkable capabilities, they face growing security threats from malicious attacks [ 6 ] such as prompt jailbreaking [ 7 , 8 , 9 , 10 ] . This technique employs carefully crafted prompts to bypass safety mechanisms like reinforcement learning with human feedback (RLHF) [ 11 ] , potentially inducing LLMs to generate unethical or unlawful content, which poses significant risks to real-world applications [ 10 , 12 , 9 ] . Fig. 1: Examples of different jailbreaking scenarios. (a) Multiple harmful queries triggering LLM Denial-of-Service. (b) The guardrail directly identifies the harmful intent and rejects the harmful query. (c) The attacker paraphrases the harmful query with plausible scenarios, which appear more benign but may still be rejected by a safety-aligned LLM. (d) DualBreach carefully crafts the jailbreak prompt with limited queries that can bypass the guardrail and induce the target LLM to generate a harmful response. Modern LLM ecosystems have started to deploy a dual defense system combining security-aligned LLMs with external guardrails [ 13 ] . For example, Unity [ 14 ] integrates Azure AI Safety filters as guardrails to ensure that Muse Chat operates reliably for users while preventing the dissemination of unsafe or inappropriate content. While the adoption of application-level security guardrails represents a growing trend in LLM defense, current research on jailbreaking techniques predominantly focuses on the core LLM itself. Consequently, investigations into methods for simultaneously circumventing both external guardrails and the LLM’s internal safety alignment mechanisms remain insufficient. Existing attack methodologies are often rendered ineffective, typically being either intercepted by the security guardrails or rejected by the safety-aligned LLM. Therefore, achieving effective dual-jailbreak persists as a significant and unresolved open problem. Despite making significant progress, existing research on jailbreaking still has several limitations: First, most of the existing attacks iteratively query the target LLM using highly similar or even repetitive optimized jailbreak prompts derived from one harmful query. As shown in Fig. 1 (a), the frequent queries with the same harmful intent may raise the “Denial-of-service” (DOS) response from the service providers (e.g., OpenAI [ 15 ] ), limiting the effectiveness of these attack methods in jailbreaking LLMs. Second, while existing attack methods primarily focus on the target LLMs, insufficient research has addressed the security implications of the guardrails deployed to protect them from malicious attacks [ 16 , 17 , 18 ] . As shown in Fig. 1 (b), while most existing methods can induce the target LLMs to produce harmful responses, guardrails can identify these obvious patterns and label the crafted harmful prompts as unsafe in advance, preventing the target LLM from responding to these prompts. Therefore, as shown in Fig. 1 (b, c), existing attack methods are typically either detected by guardrails or refused by the safety-aligned LLMs. Besides these limitations of natural language-based attacks, some non-natural language-based attacks (e.g., [ 19 ] ) focus on attacking LLMs or OpenAI moderation using cipher characters (non-natural language). Despite their effectiveness, cipher characters are easily detectable by certain metrics like perplexity, which have been considered in existing guardrails such as NeMo Guardrail. See the experimental results in Table III (left side) for details. Besides, cipher characters are rarely used in common interactions with LLMs. Based on the aforementioned limitations, we identify two key technical challenges ( TCs ) that need to be solved to develop an efficient natural language-based attack: • TC1 : Minimizing the queries per attack prompt to prevent triggering “denial-of-service” responses, thereby enhancing the stealthiness and efficiency of the attack. • TC2 : Effectively leveraging feedback from guardrails and integrating it seamlessly with the target LLM to jointly optimize jailbreak prompts. In this work, we propose DualBreach , an efficient jailbreaking framework for concurrently jailbreaking prevailing guardrails and LLMs. To our knowledge, our work represents pioneering efforts in exploring natural-language-based attacks against LLMs protected by diverse input- and output-level guardrails (e.g., Guard3 [ 18 ] , Guardrails AI [ 13 ] , NeMo [ 16 ] ), beyond OpenAI’s moderation system. Specifically, to address TC1 for achieving high efficiency and stealthiness, DualBreach introduces Target-driven Initialization (TDI), an initialization strategy ( Stage 1 in Fig. 2 ) to paraphrase harmful queries to make them appear benign. Given a target harmful response (derived from an original harmful query), TDI prompts an LLM to infer the corresponding harmful prompts required to elicit the desired harmful response. Although TDI is effective at breaching guardrails, safety-aligned LLMs could still refuse the TDI-initiated

Read the complete text