Bypassing production prompt guardrails with controlled-release promptsBypassing Prompt Guards in Production with Controlled-Release Prompting
The authors propose the controlled-release prompting attack, with ASR 92–100% on four platforms — Gemini, DeepSeek, Grok, and Mistral — and evaluate 14 open-source prompt guard models.
An external attacker has black-box access to the deployed LLM system through the standard user interface (web chat or API), cannot access model weights, system prompts, or internal filtering mechanisms, and can construct arbitrary inputs and observe responses. The victim system uses an input filter architecture: a lightweight guard model screens prompts before the main LLM. The attack goal is to induce the main LLM to produce content that violates the safety policy.
- Ball et al. theoretically prove that an input filter much faster than the protected model cannot universally distinguish adversarial from benign prompts. The authors ask whether this impossibility manifests as a real vulnerability in deployed systems.
- Propose controlled-release prompting: first use an encoding such as a substitution cipher to inject the jailbreak prompt into the main model's context (the guard cannot decode it), then in a second turn reference the decoded content to activate execution; there are two variants, timed-release and spaced-release.
- ASR was 100% on Gemini 2.5 Flash, DeepSeek-R1, and Grok 3, and 92% on Magistral; among 14 open-source guard models, only DeepSeek-R1 detected all attacks but with 3–70× higher latency; they also implemented copyrighted-content extraction (89–94% similarity) and reasoning-token leakage.
- The authors note that the attack is not guaranteed to succeed on all prompts and may fail due to training alignment or output filters; ChatGPT, Claude, and Meta AI showed resistance. The production platform experiments were manually evaluated, with only 12 malicious intents per platform.
- Evaluated models
- Gemini 2.5 FlashDeepSeek-R1Grok 3MagistralGemini 2.5 ProLlama Prompt Guard 1Llama Prompt Guard 2 (86M)Llama Prompt Guard 2 (22M)ProtectAIPIGuardShieldGemmaYuFeng-XGuard 0.6B (Instant)YuFeng-XGuard 8B (Instant)YuFeng-XGuard 0.6B (Thinking)YuFeng-XGuard 8B (Thinking)Qwen3-32B (Instant)Qwen3-32B (Thinking)DeepSeek-V3 (Instant)
- Benchmarks
- AdvBenchHarmBenchGuardrails AI detect-jailbreak
- Metrics
- ASRROC-AUCF1detection scoresentence containmentTF-IDF similaritysentence transformer similarity
A paper published at USENIX Security 2026 proposes the Controlled-Release Prompting attack, which exploits the compute asymmetry between guardrail models and the main model to bypass input filtering, achieving near-perfect attack success rates on four production platforms: Google Gemini, DeepSeek Chat, xAI Grok, and Mistral Le Chat. The attack operationalizes Ball et al.'s impossibility result on input filtering: the timed-release variant uses a substitution cipher to force the main model to decode step by step, and the spaced-release variant uses lengthy text to exceed the guardrail's context window. The timed-release attack succeeded 12/12 on three platforms and 11/12 on Mistral Le Chat, while baseline methods all failed; evaluation of 14 open-source guardrail models with 4000 prompts per attack type showed that although DeepSeek-R1 can detect all attacks, it requires 3 to 70 times the latency overhead.
Why it was selectedThrough tests on four production platforms and evaluation of 14 guardrail models, the paper quantified the failure boundary and defense cost of input filtering under compute-asymmetry attacks.
Paper analysis
What problem does this paper attempt to solve?
The authors answer affirmatively as to whether Ball et al.'s input filter impossibility theorem manifests as a real vulnerability in deployed LLM systems.
Core question: whether the input filtering impossibility proven by Ball et al. [5] (a filter faster than the protected model cannot universally distinguish adversarial from benign prompts) forms a real exploitable vulnerability in unmodified production LLM systems.
- Problem setting: platforms such as Google Gemini, Microsoft Azure AI, and Anthropic use lightweight guard models to intercept malicious prompts before the main model. The guard must be much faster than the main model (otherwise the guard could simply be used as the main model), which the authors state creates an inherent resource asymmetry.
- Existing theoretical gap: Ball et al.'s impossibility is an existence proof that relies on constructing an (artificial) model M′ with an explicit cryptographic decoding subroutine and hiding the malicious message with a time-lock puzzle (TLP). Whether this construction applies to real systems was previously unknown.
- Core observation: the authors state that modern LLMs already have the ability to solve simple "pseudo-TLPs" (such as character-by-character substitution ciphers) through multi-step reasoning, while the reasoning budget of lightweight guards is insufficient to decode them, so the resource asymmetry can be exploited without modifying the model.
- Paper contributions: proposes the controlled-release prompting attack framework (two variants, timed-release and spaced-release); validates it on four production chat platforms; systematically evaluates 14 open-source prompt guard models; and presents two extended findings, copyright data extraction and reasoning token leakage.
- Threat model (Section 3.1):
- Attacker: an external adversary with black-box access to the deployed system through the standard user interface (web chat or API).
- Knowledge: no access to model weights, system prompts, or internal filtering mechanisms; no specialized expertise or expensive computation required.
- Capabilities: can construct arbitrary input prompts and observe responses, but cannot modify the model or its safety infrastructure; the attack is entirely contained in user input and requires only two turns of dialogue.
- Victim system and goal: systems employing an input filter architecture (lightweight guard screening before the main LLM); the goal is to induce the main LLM to produce content violating safety policy (harmful content or copyrighted material).
What related research exists?
Related work is divided into four categories: theoretical basis, encoding-based attacks, multi-turn and long-context attacks, and automated jailbreaking; the authors emphasize that this paper exploits resource asymmetry rather than capability asymmetry.
Theoretical basis
- Ball et al. [5]—proved that under standard cryptographic assumptions, a prompt filter running significantly faster than the protected model cannot universally distinguish adversarial from benign prompts (based on time-lock puzzles [40]). The authors of this paper say their work is a practical instantiation of this theoretical result in a deployed system.
Encoding-based attacks
- Huang et al. [17], Yuan et al. [51]—use cipher encoding to bypass safety filters, requiring the model within a single turn to understand and reply in the encoded language. The authors note that these exploit capability asymmetry (the guard simply "cannot speak" the encoded language), whereas this paper exploits resource asymmetry (the guard has the capability but not the budget to decode); the authors say this paper is the first practical instantiation of the theoretical impossibility of Ball et al., and avoids the response-quality degradation of the "jailbreak tax" [35].
- Attacks exploiting representation gaps (low-resource languages, ASCII art, code, etc.) [19, 27, 45, 46, 50]—the authors say such methods are relatively fragile and may fail as model comprehension improves; this paper can be instantiated with various encodings.
Multi-turn, long-context, and indirect attacks
- Many-shot jailbreaking by Anil et al. [2]—uses many fabricated harmful question-answer pairs to induce compliance, with effectiveness growing as a power law in the number of demonstrations. The authors note the mechanism differs: MSJ relies on semantic accumulation, whereas this paper relies on resource exhaustion, and the timed-release variant needs only about 800 tokens.
- Multi-turn jailbreaks such as Crescendo [41] [22] and prompt injection [1, 38]—escalate gradually or exploit instruction-data confusion. The authors say this paper injects the full encoded payload in a single turn and activates it in the second turn, differing from gradual escalation.
Broader jailbreaking and alignment
- Automated jailbreak discovery (discrete optimization [11, 16, 49, 55, 57], LLM-assisted [6, 9, 26, 29]) and manually crafted social-engineering prompts [23, 43, 53]; under white-box access, alignment can be fully stripped [20, 48, 54]. The authors say this paper's method is general, computationally cheap, and self-contained, targeting the common black-box setting.
- Training-time alignment methods (RLHF [7], Constitutional AI [4], adversarial training [56]) each have limitations when used alone [10, 12, 37]; the authors say this paper focuses on input filters and finds their limitations as the sole line of defense.
Baselines and benchmarks: the production-validated ablation baselines are raw malicious intent, raw jailbreak prompt, and encoding-only attacks (adapted from [17, 51]); malicious intents are taken from AdvBench [6] and HarmBench [28], and jailbreak templates from Guardrails AI [14]. The authors position this paper as a bridge between theory and practice: it both validates the real-world applicability of the impossibility theorem and distinguishes itself from existing encoding attacks that rely on capability gaps.
How does the paper address this problem?
Encoding is used to disguise the jailbreak prompt as a decoding task and inject it into the main model's context; the second turn references it to activate it, so that the guard sees no identifiable malicious content at either stage.
Overall approach: propose controlled-release prompting, using simple encoding to construct a "pseudo time-lock puzzle" — the guard model's reasoning budget is insufficient to decode it, while the main LLM can decode it through multi-step reasoning — completing injection and activation in two turns, without cryptographic TLPs or model modification.
Pseudo time-lock puzzle (Section 3.2)
- The theoretical construction uses cryptographic TLPs (such as RSW repeated squaring), requiring Θ(t) sequential operations to solve; the authors state that the practical attack only needs an encoding satisfying two conditions: the number of sequential reasoning steps required exceeds the guard's capability, and the main LLM's current capability can solve it.
- An example is a substitution cipher: for a prompt of length n, decoding requires about O(n) reasoning steps (each step involving pattern matching and character substitution), exceeding the computational budget of a lightweight guard.
- The authors explicitly state that the pseudo-TLP has no provable lower bound like a cryptographic TLP, and that a sufficiently complex guard could in principle break a particular encoding, but that this is only a capability-based defense against a single scheme, and the resource gap remains; moreover, it has no formal connection to the cryptographic construction of Ball et al.
Attack procedure (Section 3.3, Figure 1)
- Step 0 offline preparation: select a known jailbreak template (such as DAN [43]), concatenate the malicious intent, and encode it with the controlled-release scheme.
- Step 1 injection: submit the encoded text and ask the main model to decode it step by step with a given key. The guard sees only a legitimate decoding request; after the main model decodes it, the decoded jailbreak prompt enters its context.
- Step 2 activation: reference the decoded content and ask for execution. The authors state that this exploits the known weakness in prompt injection that models do not distinguish data from instructions.
- The authors give two factors for defense failure at the activation stage: context contamination (the decoded text exists as the model's own output, and input filters usually check only new user messages) and instruction-data confusion.
- The authors argue that cipher-like prompts cannot be universally blocked: the encoding space is unbounded, encoding tasks are common benign operations, and encoding requires no explicit labeling; they cite Anthropic Constitutional Classifiers [42], which after more than 3,000 hours of adversarial testing was still defeated by encoding-based attacks [8], as an example.
Two variants (Section 3.4)
- Timed-release: substitution-encode each character, with computational cost growing linearly with prompt length, creating a pseudo-TLP that exceeds the guard's reasoning budget.
- Spaced-release: replace each character with verbose descriptive text, greatly inflating prompt length and exploiting the guard's context-window truncation or chunking limits.
- Appendices B.4 and B.5 give the full conversation transcripts for the two attacks.
Success determination (Section 4.1)
- A manually developed response taxonomy (Table 2): success classes include Y (complete undistorted reply), YP (poor quality), YD (with disclaimer), and YDT/NRT/NT leaked through reasoning tokens; failure classes include NI (immediate refusal), NR (redirect), NC (comprehension failure), ND (decryption failure), and N.
- The automated threshold experiment (Section 4.4) uses Gemini 2.5 Flash itself as the judge, determining whether R1 enters the role and whether R2 complies with the malicious request.
What experiments did the paper conduct?
Timed-release ASR was 92–100% on four production platforms; among 14 open-source guards, only DeepSeek-R1 detected all attacks but with 3486 ms latency; there are also copyright-extraction and reasoning-token leakage experiments.
Experimental Setup
- Platforms tested: the web chat products of Google Gemini (Gemini 2.5 Flash), DeepSeek Chat (DeepThink, recorded as DeepSeek-R1 in the table), xAI Grok (Grok 3), and Mistral Le Chat (Magistral); copyright extraction additionally tested Gemini 2.5 Pro, with GPT-5-mini as a control for non-targeted extraction.
- Malicious intents: 12 manually selected from AdvBench and HarmBench, covering disinformation, violence, self-harm, cybercrime, illegal synthesis, and privacy violation (Table 1); the authors state the selection criterion was category coverage rather than quantity.
- Ablation baselines: Ablation 1, original malicious intent; Ablation 2, original jailbreak template (taken from public corpus [14]); Ablation 3, encoding-only attack (adapted from [17, 51], requiring the model to reply in encoded form).
- Guard evaluation: 14 open-source prompt guard models, with a benchmark of 3,930 balanced prompts from Guardrails AI [14]; attack evaluation used 4,000 prompts per attack type (100 malicious intents × 40 jailbreak variants, with 50 intents each taken from Chao et al. [6] and Mazeika et al. [28]).
- Metrics: production experiments used manually classified ASR; guard evaluation used ROC-AUC, F1, and mean detection score; threshold experiments used Gemini 2.5 Flash as automatic judge.
- Threshold experiment scale: 720 combinations (12 intents × 60 jailbreak templates), filtered to the subset where the baseline failed and decoding succeeded; production experiments were manually evaluated, and the paper does not report the number of repetitions.
Main Results
According to Table 3 (12 intents per platform, manually classified):
Swipe horizontally to read the table
Platform Raw Intent Jailbreak Encoding Timed-Release Gemini 2.5 Flash 0% 0% 67%† 100% DeepSeek-R1 17% 0% 0% 100% Grok 3 17% 92%‡ 0% 100% Magistral 50%‡ 92% 0% 92% † denotes success with quality degradation (YP); ‡ includes partial successes via reasoning token leakage (NT, NRT).
- The authors state the ablations demonstrate each component is necessary: raw intents were almost entirely blocked, the original jailbreak template achieved 0% ASR on Gemini and DeepSeek (indicating the template has been patched), and the encoding-only attack partially succeeded on Gemini (67%, with quality degradation) but was 0% on the remaining platforms.
- Of Magistral's 92%, one instance was a decryption failure (intent 4 is ND in Table 7).
- Negative results/exceptions: OpenAI ChatGPT, Anthropic Claude, and Meta AI showed resistance—the authors observed that these systems often generate malicious content first and then remove it in post-processing, and consider that they employ multi-layer defenses including output filtering.
Resource Threshold Validation (Section 4.4, Figure 2)
- What was tested: attacks were launched on the Gemini 2.5 Flash API in three modes (raw, timed-release, spaced-release), examining success rate by prompt/reply token count.
- Results: the authors report that timed-release succeeded more often than it failed above roughly 800 prompt tokens, and mostly failed below 600 tokens; spaced-release required roughly 10,000+ prompt tokens or roughly 12,500+ reply tokens. For reference, the paper cites Llama Prompt Guard 2's context window as 512 tokens.
- Authors' interpretation: the thresholds align with guard model resource limits, providing quantitative evidence for the resource asymmetry mechanism.
Guard Model Evaluation (Section 5, Table 5)
- What was tested: mean detection scores of 14 open-source guard models on five input categories (raw malicious, jailbreak+intent, encoding, PTLP i.e. timed-release, PSLP i.e. spaced-release), as well as latency and output token count.
- Results: specialized classifiers had benchmark ROC-AUC of 0.831–0.925 but were nearly ineffective against controlled-release attacks—YuFeng-XGuard 0.6B/8B (Instant) had detection scores of 0.00/0.14 for PTLP and 0.05/0.05 for PSLP; PromptGuard 2 (86M) had 0.02 for encoding attacks and 0.21 for PTLP, a regression compared with PromptGuard 1 (encoding 1.00, PTLP 0.99). Among LLM-based models, only DeepSeek-R1 (Thinking) detected all attacks (PTLP 0.95, PSLP 0.96), with latency of 3486ms and an average of 2396 output tokens; the authors state this is roughly 70 times the latency of the fastest classifier (5ms), and that reasoning-type models overall have 10–70 times the latency.
- Authors' interpretation: benchmark scores cannot predict deployment safety; effective defense requires computational resources comparable to the protected model, and tiered-inference cannot overcome resource asymmetry.
Copyright Data Extraction (Section 6.1)
- What was tested: targeted extraction against Gemini 2.5 Flash/2.5 Pro using 10 children's books (776–7,578 characters, Table 6), comparing roleplay jailbreak, timed-release, and spaced-release, with metrics of sentence containment, TF-IDF, and sentence transformer similarity, for a total of 60 extraction attempts.
- Results: Gemini 2.5 Pro had the highest means (containment 93.8%, TF-IDF 96.5%, transformer 91.6%); timed-release was overall most effective (89.4%/92.8%/91.3%); however, the basic roleplay jailbreak also averaged 89.4% across the three metrics, only 1.8 percentage points below the controlled-release schemes.
- Authors' interpretation: the gap between the original jailbreak and controlled-release attacks is small, which the authors state exposes a blind spot in current safety training regarding intellectual property protection.
Other Ablations and Analyses
- Non-targeted training data extraction (Section 6.2): using the repetition-divergence protocol of Nasr et al. [34], Gemini 2.5 Flash exhibited divergence patterns, while GPT-5-mini remained repetitive without divergence; the authors did not attempt actual training data extraction, and cite [34] as stating the attack is too costly.
- Reasoning token leakage (Section 6.3): on the three platforms that expose thinking tokens—DeepSeek Chat, Mistral Le Chat, and xAI Grok—direct malicious prompts (without attack) all leaked the complete requested information via reasoning tokens while refusing in the final reply; the authors state output protection needs to cover intermediate tokens.
- Judging of the threshold experiments: Gemini 2.5 Flash itself was used as judge, on the grounds that its long-context capability can evaluate the full conversation trajectory.
What are some points that can be further explored?
The authors state that the attack is not guaranteed to succeed on all prompts, that bypassing output filters could be explored in the future, and that the production experiments are human evaluations with only 12 intents per platform.
Limitations and future directions noted by the authors
- The attack is not guaranteed to succeed universally (Section 8 Limitations and future work): it may fail because the model's own training alignment does not respond to a particular prompt, or because an output filter detects the malicious response.
- Future direction: bypassing defenses beyond the input filter (same section): the authors state that there are theoretical reasons to believe this is feasible — Ball et al. [5] prove that a universally applicable output filter does not exist, and training alignment has known fundamental limitations [56], which might be combined and exploited.
- The pseudo-TLP has no formal hardness guarantee (Section 3.2): a substitution cipher has no cryptographic lower bound, and a sufficiently complex guard could in principle break a particular encoding; the authors state that this is only a capability-based defense against a single scheme, and that its construction has no formal connection to the cryptographic construction of Ball et al.
- The steering problem of layered/adaptive filters (Section 8): the authors state that a triage mechanism that escalates suspicious inputs is itself resource-constrained, and that without consuming resources comparable to the main model it cannot identify controlled-release prompts.
- Output filters deserve more attention (Section 8): the authors believe that the decoding step produces the malicious instruction as an intermediate model output, which can be detected by an output filter, and call for investment from the research and open-source communities.
Scope of experimental coverage
- Production validation covers the web chat products of 4 platforms, with 12 manually selected malicious intents per platform, classified manually; the paper does not report the number of repetitions or inter-rater agreement.
- Guard evaluation covers 14 open-source models (22M–671B parameters), with 4,000 prompts per attack type; the threshold experiment is a subset after filtering 720 combinations, and the judge model is Gemini 2.5 Flash itself.
- Copyright extraction covers 10 children's books and 60 extraction attempts, targeting Gemini 2.5 Flash/2.5 Pro; non-targeted extraction divergence is demonstrated only on Gemini 2.5 Flash, with GPT-5-mini as a control.
- The resistance cases (ChatGPT, Claude, Meta AI) are only observational descriptions; the paper does not report systematic evaluation numbers for these platforms.
- The paper does not report the specific implementation of the guards used by the production platforms (closed-source and not visible), and the authors position the open-source guard evaluation as a proxy study for production filtering systems.
Summarize the main content of the paper
The authors instantiate the input filter impossibility theorem as a controlled-release prompting attack, with ASR 92–100% on four production platforms and near-total failure of 14 open-source guards.
An attack paper: it turns Ball et al. [5]'s theoretical impossibility result on input filtering (a filter faster than the protected model cannot universally detect adversarial prompts) into a practical attack on production LLM systems.
- Problem: platforms commonly use lightweight guard models to intercept malicious prompts before the main LLM; the guard must be far faster than the main model, and the authors say this resource asymmetry is an exploitable gap inherent to the architecture.
- Method: controlled-release prompting—offline, a jailbreak template is concatenated with a malicious intent and then encoded with a substitution cipher, etc.; in the first turn the main model is asked to decode step by step (the guard sees only a legitimate decoding request), and in the second turn the decoded content is referenced to activate execution. The timed-release variant consumes reasoning steps, and the spaced-release variant inflates context length.
- Production validation: ASR 100% on Gemini 2.5 Flash, DeepSeek-R1, and Grok 3, and 92% on Magistral (Table 3, 12 intents per platform); raw intents and raw jailbreak templates are mostly intercepted, and only the encoding attack is 0% on platforms other than Gemini; the authors say the ablation proves the two-stage structure is necessary. ChatGPT, Claude, and Meta AI showed resistance, and the authors observed that they appear to use output filtering.
- Guard evaluation: 14 open-source guard models, 4,000 prompts per attack type; specialized classifiers with baseline ROC-AUC 0.83–0.93 score near 0 in detecting controlled-release attacks; only DeepSeek-R1 detected all attacks, but with 3486ms latency (about 70 times the fastest classifier); the authors say effective defense requires resources comparable to the protected model.
- Further findings: for copyrighted book extraction against Gemini 2.5 Pro, the mean of three metrics was 93.8%/96.5%/91.6%, but a basic roleplay jailbreak also averaged 89.4%; three platforms that expose thinking tokens leaked malicious content through reasoning tokens while refusing.
- Authors' conclusion: input filters can improve efficiency but cannot serve as the sole line of defense; the authors argue for shifting to output-side alignment and guardrails, and for covering intermediate reasoning tokens.
Related papers
Show 3 more papers
- Do LLMs Know Their Vulnerable Scenarios?AttacksarXiv