arXiv:2610.10742cs.CROct 2026

Manuscript Offprint

arXiv:2610.10742

BRANCH: Bypassing Multi-Scanner AI Guardrails

William Hackett, Peter Garraghan

Abstract

AI systems increasingly rely on Large Language Models (LLMs) as core reasoning engines, making them targets for prompt injection and jailbreaks. Guardrails monitor and validate model inputs and outputs, yet their isolated, task-focused detection leaves gaps in their classification making them susceptible to bypasses. In response, guardrail systems formed by multiple scanners have emerged that collaboratively detect different types of malicious instructions, whereby shared latent representations across classification boundaries render established bypassing techniques ineffective. We propose BRANCH, a bypassing methodology designed for multi-scanner guardrail systems. Our method leverages a branching tree search approach that dynamically applies adversarial perturbation against individual scanners, with subsequent perturbation optimization and technique selection based on overall improvement across all guardrail system scanners, effectively decoupling bypass evaluation from attack signal optimization. Our findings demonstrate that BRANCH achieves 100% attack success rate across 6 guardrail systems in 120 scenarios with 72% fewer queries and 4.5x reduced wall-clock time compared to established techniques, while preserving semantic meaning within the bypass. We also show how bypasses generated by BRANCH transfer to 29 unseen guardrails, including 8 commercial black-box guardrails, improving attack success in some cases up to 100% with no additional optimization.

1 Introduction

The adoption of Generative Artificial Intelligence (GenAI) has led to the rapid proliferation of AI systems that use these models to perform complex tasks (Nastoska et al., 2025; Shethiya, 2023). Subsequently, AI systems have become targets for adversarial prompting techniques such as prompt injection and jailbreaking that attackers use to exfiltrate sensitive data, manipulate model behavior, or escape trained safety alignment (Wu et al., 2024).

To mitigate these attacks, guardrails were created to monitor and validate inputs and outputs to GenAI models within an AI system. Guardrails typically use a range of detection techniques such as text-classification models, regular expression, and pattern analysis designed to detect specific content categories including toxicity, prompt injection, and jailbreaks (Ayyamperumal and Ge, 2024; Dong et al., 2024). An individual single-purpose guardrail, which we refer to as a scanner provides narrow, single-category classification that is susceptible to the evasion techniques established against text classifiers such as character injection and word substitution (Bassani et al., 2025; Hackett et al., 2025). In response, guardrail systems have emerged as the more sophisticated solution, whereby an ensemble of scanners are combined to detect malicious content across categories, covering blindspots in detection capabilities. This forces the attacker to bypass every scanner within the system simultaneously in order to succeed (Protect AI, 2025; Vijil AI, 2024; Chennabasappa et al., 2025).

Although guardrail systems have become commonplace within production AI systems, no research has evaluated the effectiveness of current attacks against multiple scanners simultaneously. We hypothesize that the presence of multiple scanners creates a multi-objective optimization problem for attackers, whereby the shared latent representations across scanners constrain established bypassing techniques in overlapping decision boundaries (Miettinen, 1999; Demontis et al., 2019). As a result, current techniques either fail to generate a bypass that evades all guardrails at once, or succeed only at substantial computational cost.

In this paper, we propose BRANCH, a bypassing methodology designed for bypassing guardrail systems. BRANCH leverages a branching tree search that chains multiple perturbation techniques together, isolating bypassing to individual scanners, while selecting branches which gradually bypass all scanners within a guardrail system simultaneously. Our approach is applicable to any malicious instruction while being perturbation agnostic, enabling the generation of bypasses against guardrail systems comprising of multiple scanners. Furthermore, we demonstrate that bypasses generated by BRANCH also transfer to a large set of guardrails unseen during generation. To our knowledge, our work is the first approach to reliably bypass more sophisticated guardrail systems as a whole, instead of individual guardrail scanners.

We make the following contributions:

  1. We investigate the effectiveness of current single-objective evasion techniques against multi-scanner guardrail systems, demonstrating their challenges and limitations when operating within multi-objective bypass scenarios, achieving lower success at substantive computational cost (Section 3).

  2. We propose a novel multi-objective guardrail bypassing methodology called BRANCH to address the challenges of established single-objective evasion techniques, and demonstrate its ability to achieve a 100% bypass success rate across 6 target guardrail systems using 72% fewer queries and 4.5x less wall-clock time compared to the State-of-the-Art, while preserving semantic content comparable to established techniques (Section 6.1, Section 6.2).

  3. We demonstrate that bypasses generated by BRANCH successfully transfer and increased Attack Success Rate by an average of 32.9 percentage points across 29 unseen production guardrails without any adversarial perturbation, including 8 commercially offered black-box guardrail systems. (Section 6.3).

References (20)