Skip to content

The paper proposes an option channel attack: changing one option label can make an agent guardrail allow a prohibited operationOne Word Opens the Gate: The Option-Channel Attack on Typed Decision Models as Agent Guardrails

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.12292· Seyedarmin Azizi, Erfan Baghaei Potraghloo, Massoud Pedram·Indexed by this site · 2026-10-09· Originally publishedSelected AttacksSelectedAttention43

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors evaluated 7 open-source models as agent guardrails and found that irrelevant logs and option renaming attacks can raise the false acceptance rate to 63% to 100% across multiple policies.

Threat modelThe attacker's goal is to induce a fail-open error for a specific action. Under indirect prompt injection, they control tool output spans in trace records; in configuration-driven deployments, they control option labels. Attacks are black-box with limited queries, not modifying safety policies or option definitions.

Questions
Examine the effectiveness of typed decision models as agent safety guardrails. Safety controls require separate evaluation of two error types: allowing violations and blocking compliant actions, and some inputs are attacker-controlled; existing research does not distinguish error direction and lacks systematic defense evaluation.
Methods
Build GuardBench, a balanced synthetic tool-call benchmark with ground truth; design policy-irrelevant log distraction attacks and option-channel attacks that only modify option names; evaluate 5 defense strategies, adaptive attacks, and deterministic rules.
Experiments and results
On public tasks, model accuracy is only 36% to 72%. Unrelated logs and option renaming attacks can raise allowance error rates to 63% to 100% on multiple models. Low-confidence reporting cannot detect flipped decisions, and structured-field defenses are broken by adaptive attacks.
Limitations and future work
GuardBench's template-based synthesis sacrifices real-world complexity; experiments only test 7 open-source models, not directly measuring commercial models; black-box attacks with a fixed vocabulary are a lower bound; D5 structured defense causes up to 68.7% compliant-action misblocking on some policies.
Experimental setupLAYA-TD、LAYA-EN et al. · GuardBench、prompt-injection screening et al. · accuracy、fail-open et al.
Evaluated models
LAYA-TDLAYA-ENLAYA-MLVONRLCDQwen2.5-1.5BQwen2.5-7B
Benchmarks
GuardBenchprompt-injection screeningjailbreak screeningtoxic-content screening
Metrics
accuracyfail-openfail-closedasr_openmargin
AI summaryand selection rationaleThe researchers evaluate seven open-weight models as agent guardrails and propose the option channel attack: without modifying the judged text or option definitions, merely renaming the allowed options can raise the allowance rate of four models that feed labels into the model input to 93% to 100%. On three public screening datasets, these models' allow or block accuracy ranges from 36% to 72%, with a random level of 50%; a low error rate in one direction only reflects the model's default answer, for example laya-td almost never blocks, while Qwen2.5-1.5B blocks almost everything. On the synthetic agent tool-call suite GuardBench, six lines of policy-unrelated server log text can raise the allowance rate of a policy from 0% to 63%, and three unverified assertions raise it to 70%. All five defenses the authors test can be defeated by adaptive attacks targeting their mechanisms; parsing policy fields into typed values completely eliminates field injection attacks, but the same parsing also lets deterministic rules achieve 100% accuracy on six policies, making the models redundant.

The researchers evaluate seven open-weight models as agent guardrails and propose the option channel attack: without modifying the judged text or option definitions, merely renaming the allowed options can raise the allowance rate of four models that feed labels into the model input to 93% to 100%. On three public screening datasets, these models' allow or block accuracy ranges from 36% to 72%, with a random level of 50%; a low error rate in one direction only reflects the model's default answer, for example laya-td almost never blocks, while Qwen2.5-1.5B blocks almost everything. On the synthetic agent tool-call suite GuardBench, six lines of policy-unrelated server log text can raise the allowance rate of a policy from 0% to 63%, and three unverified assertions raise it to 70%. All five defenses the authors test can be defeated by adaptive attacks targeting their mechanisms; parsing policy fields into typed values completely eliminates field injection attacks, but the same parsing also lets deterministic rules achieve 100% accuracy on six policies, making the models redundant.

Why it was selectedThe paper separates guardrail allowance and false blocking statistics, and identifies option labels as a neglected attack surface; teams deploying agent gateways can use this to check whether the calling library passes labels to the model.

Related events and news

1 events · 2 news mentions

News that mentions this paper

改一个选项标签,Agent 护栏误放行率最高达 100%

  • 公众号 模安局cites the paper's id or link
    一个单词就能打开安全大门:Agent 护栏中的选项通道攻击
    2026 年 10 月 8 日,南加州大学的研究人员发表论文《One Word Opens the Gate: The Option-Channel Attack on Typed Decision Models as Agent Guardrails》,系统评估了 7 个开放权重模型作为 Agent 安全护栏时的可靠性。
  • 公众号 大模型安全研究cites the paper's id or link
    大模型安全周报:决策性模型护栏也能被攻击者绕过
    3. 一个单词打开护栏大门,类型化决策模型的选项通道攻击:One Word Opens the Gate: The Option-Channel Attack on Typed Decision Models as Agent Guardrails(https://arxiv.org/abs/2610.12292)

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    When typed decision models are used as agent guardrails, safety evaluation must distinguish two types of errors: allowing violations and incorrectly blocking compliant actions, and faces two types of attack channels.

    Performance of typed decision models as agent safety guardrails under real attacks and the distribution of two types of decision errors.

    • Application scenario and importance: agent systems deploy lightweight classifiers between proposed actions and execution; typed decision models (151M to 421M parameters) do not generate text but directly output option probability distributions, often used as low-cost safety guardrails (§1, §2).
    • Deficiencies in existing evaluations: the authors argue that safety controls differ from ordinary classifiers; allowing violations (fail-open) is a security vulnerability, while blocking compliant actions (fail-closed) only incurs usability costs; a single accuracy metric masks error direction, and existing attack research does not distinguish the two error types nor propose defenses (§1, §2).
    • Core observation and hypothesis: attacker-controllable parts exist in inputs (e.g., tool return values or retrieved text), and when typed models correctly block, predicted probabilities often lie close to the 0.5 decision boundary, so small perturbations can flip the allow decision (§1, §2, §6.4).
    • Threat model:
      • Attacker objective: induce a fail-open error for a specific violation, causing a policy-prohibited action to be allowed by the system (§4).
      • Attacker knowledge: black-box setting with small query budget, cannot modify safety policy text, option definitions, or calling framework code (§4).
      • Attacker capability: controls specific spans in state text (indirect prompt injection setting); controls option labels in configuration-driven or dynamically generated deployments (label) (§4).
      • Victim system: a pre-execution interception gateway (gate) implemented by a typed decision model, returning allow or block based on input state and written policy (§1, §4).
  2. What related research exists?

    Related work covers guardrail models, typed model attacks, and prompt sensitivity; the authors state that previous work has not distinguished the two error directions and lacks defenses.

    Agent safety guardrail models

    • Inan et al. (2023) fine-tune a language model (Llama Guard) to judge prompts and responses according to a written safety taxonomy; Rebedea et al. (2023) provide the NeMo Guardrails toolkit, placing safety policies in a configuration language external to the model (§3).
    • Liu (2026), Wang & Gao (2026), and dos Santos Barbosa (2026) deploy typed decision models as agent safety components, replacing generative LLM judges at lower inference cost (§1, §3).

    Attack research on typed decision models

    • Hu et al. (2026) append unverified opinions to inputs to flip decisions; Xu (2026) uses naturally phrased context to flip decisions; Wu & Lim (2026) study prompt injection attacks against typed models (§3).
    • Sun et al. (2026) rename option sets and report changes in output answers, attributing the effect to constrained decision heads; the authors note that none of these four works distinguish fail-open from fail-closed errors, and none propose mitigations (§3).

    Input sensitivity and decision auditing research

    • Zhao et al. (2021) report prior biases toward specific answers when language models are used as classifiers; Lu et al. (2022) document the influence of prompt format and option order on model decisions (§6.1, §6.3).
    • Wallace et al. (2019) propose input-independent universal adversarial triggers to flip NLP classifiers; Zou et al. (2023) study universal adversarial suffixes for aligned language models and their transferability (§6.2, §6.3).
    • Tang & Zheng (2026) conduct an evidence review of the first 28 papers in this area, noting that only 1 tests whether decisions are invariant to option names, and only 5 include label-probability baselines from ordinary language models (§3).

    Comparison baselines and benchmarks

    • Comparison baselines include Qwen2.5-Instruct models with 1.5B and 7B parameters, scored using a readout rule based on log-probabilities of option names (§2); additionally, a low-confidence reporting mechanism (Li et al., 2026) is evaluated as a pre-filter (§3, §6.5). Benchmarks used include the synthetic GuardBench and 3 public filtering datasets (deepset, 2023 for prompt-injection, Hao, 2023 for jailbreak, Lin et al., 2023 for toxic-content) (§5).

    The authors state that this paper fills two gaps in the literature: the lack of ordinary language model comparison baselines and the lack of testing option-name invariance, and evaluates typed guardrail models and defense methods under a safety control framework that strictly distinguishes the two error directions (§2, §3).

  3. How does the paper address this problem?

    The paper formalizes two-way error rates, proposes log interference and option channel attacks, and designs five defenses including label normalization and field filtering.

    By formalizing bidirectional error rates and attack success rates, the system reveals the fragility of typed decision models under text distraction and option-channel attacks, and proposes 5 structured and semantic defenses as well as adaptive attacks.

    Formalization of error types and evaluation metrics

    • Distinguish fail-open (FO) and fail-closed (FC) errors: define dataset X, policy requires y(x) ∈ {allow, block}, model returns decision d(x), fail-open rate defined as: FO = (|{x : y(x) = block, d(x) = allow}|)/(|{x : y(x) = block}|) This formula measures the proportion of policy-blocked but guardrail-allowed violations among all violations (Equation 1).
    • Attack success rate asr_open is computed only on the set B of samples correctly blocked on clean input: asr_open = (|{x ∈ B : d(x′) = allow}|)/(|B|) where B = {x : y(x) = block, d(x) = block}, measuring the proportion of attacks that flip a correct block to allow (Equation 2).
    • Define decision boundary margin m(x) = |P(block | x) - 0.5|, quantifying how far the model's output probability deviates from the 0.5 decision boundary (§5).

    Text distraction attacks with irrelevant policy

    • Regular log distraction: append server logs unrelated to policy attributes (e.g., HTTP status codes, latency, cache status, with line count k set to 1, 3, or 6) to attacker-controlled tool output spans in the state text, without altering any real fields needed for policy judgment (§6.2).
    • Unverified affirmative assertions (persuasion): append brief false security claims (e.g., claiming the action is pre-approved by the security team, with line count k set to 1 or 3), directly providing false compliance cues to the model (§6.2).

    Option-channel attack mechanism

    • Exploiting label-definition decoupling: typed model inputs include option short names (labels) and textual definitions; in models where the calling library assembles labels into the input sequence, keep definitions and the audited text completely unchanged, only replacing the label of the allow option with another name (§2, §6.3).
    • Candidate label space: build a vocabulary of 198 candidate labels, covering safe action names, allow synonyms, block synonyms, severity words, neutral markers (e.g., option_2), and unrelated nouns (e.g., obsidian); assess attack cost via random attempts with k words or exhaustive search (§6.3).

    Five defense mechanisms

    • D1 canonical labels: force rewrite option labels to neutral markers A and B at the calling layer, preserving original definitions, to block the option channel (§7).
    • D3 neutral label ensemble (ensemble of 3): run the model under 3 sets of neutral labels and average the output probability distributions (§7).
    • D4+D6 disagreement escalation and dual rendering (disagree, failclosed): run decisions under two different label naming schemes, and block if the two judgments disagree (§7).
    • D5 field-structured truncation (field-structured): discard raw trace text and tool outputs, passing only structured field key-value pairs that the policy explicitly references (§7).
    • D8 instruction rewrite: modify the prompt's instructions to explicitly tell the model to judge solely based on written definitionsaging that option names carry no information (§7).
  4. What experiments did the paper conduct?

    On public tasks, model accuracy is only 36% to 72%, and unrelated logs and option renaming attacks drive allowance rates to 63% to 100% on multiple models.

    Experimental Setup

    • Models under test: Includes 5 typed decision models: LAYA-TD (ModernBERT-large, 421M), LAYA-EN (ModernBERT-large, 421M), LAYA-ML (multilingual variant, 322M), VON (ModernBERT, 395M), RLCD (GLiClass, 151M); and baseline controls Qwen2.5-1.5B and Qwen2.5-7B (scored by log-probabilities of option names) (§2).
    • Datasets and scale: GuardBench synthetic benchmark (includes 6 policies: exfil, secret, escape, exfil_secret, unauth_irrev, escape_or_exfil, classes exactly balanced via rejection sampling); 3 public user filtering tasks: prompt-injection filtering (n=406 or n=300), jailbreak filtering (n=1034 or n=300), toxic-content filtering (n=768 or n=300) (Table 2, Table 3, §5).
    • Evaluation metrics and protocol: Report accuracy, fail-open rate (FO), fail-closed rate (FC), attack success rate asr_open, and decision margin m(x); intervals computed via percentile bootstrap with 4000 sample resamples (§5).
    • Decision method: The comparison of the model's returned allow and block probabilities at a 0.5 threshold is used as the decision basis; RLCD supports an insufficient-evidence option (§2, §5).

    Main Results

    Swipe horizontally to read the table

    ModelTaskSample size nAccuracy (%)fail-open (%)fail-closed (%)
    LAYA-TDjailbreak103468.060.73.3
    LAYA-MLjailbreak103436.491.735.6
    VONjailbreak103458.820.961.5
    RLCDjailbreak103470.557.81.2
    Qwen2.5-1.5Bjailbreak30039.322.099.3
    Qwen2.5-7Bjailbreak30063.372.70.7

    (Based on the jailbreak filtering task in Table 2; the paper tests 3 public tasks, here showing the jailbreak task with the largest sample size, omitting the injection and toxic tasks; across all tasks in the full table, the model with the lowest accuracy is LAYA-ML on jailbreak at 36.4%)

    • One-sided error bias: The authors state that a single accuracy metric masks error direction; LAYA-TD tends to rarely block (fail-closed only 3.3%), leading to a high fail-open of 60.7%; while Qwen2.5-1.5B blocks almost all inputs (fail-closed 99.3%), and its 22.0% fail-open has no practical safety value (Table 2, §6.1).
    • No input-response clustering: The scatter plot in Figure 2 shows that the operating points of all tested models cluster near the diagonal that ignores input, rather than in the ideal origin region (§6.1).
    • Public task accuracy distribution: On the 3 public filtering tasks, all models' accuracies range from 36% to 72%, not reaching a stable safety protection level (Table 2, §6.1).

    Option Channel Attack and Cross-Model Transfer

    • What was tested: Modifying the allow option label while keeping the text and definitions unchanged, evaluating fail-open rates on GuardBench (Table 4, 5) and public tasks (Table 7), and testing cross-model transferability (Table 6).
    • Results: The 4 models with labels in the input (LAYA-EN, LAYA-ML, LAYA-TD, Qwen2.5-7B) have fail-open rates rising to 93% to 100% under the worst label (Table 4); testing only 10 random labels, LAYA-TD averages 89.5% fail-open on GuardBench, and Qwen2.5-7B 89.1% (Table 5); the 5 best labels found by LAYA-EN can increase LAYA-TD's fail-open rate by 38.2 percentage points, comparable to LAYA-TD's own search (Table 6); for VON and RLCD, because the underlying calling library only passes labels when no definition is present, the gain from this channel attack is 0.0 (Table 6).
    • Authors' interpretation: The authors state that this attack is not a weakness specific to lightweight encoders; it is more harmful on Qwen2.5-7B, which has the best baseline defense; and the attack transfers across models of the same architecture (§6.3).

    Decision Margin and Confidence Reporting Analysis

    • What was tested: Analyzing the margin distribution of correct blocking decisions from the 0.5 boundary (Figure 4), and evaluating a pre-filter defense that escalates low-margin samples to human/strong models (Table 8, Figure 6).
    • Results: Among the 338 public task samples correctly blocked by LAYA-TD, the median P(block) is only 0.57, and 97.0% of decisions are below 0.70 (§6.4); among the 1410 decisions flipped by attack, the average margin before attack is 0.149 and after attack 0.151, and 53% of samples have a larger margin after attack (Figure 6a); under a 10% review budget, the fail-open rate under attack only drops from 60.1% to 53.8%, far worse than the ideal oracle's 40.9% (Table 8).
    • Authors' interpretation: The authors state that the attack does not push probabilities near the boundary but directly pushes them across it with considerable confidence; defenders cannot obtain a clean margin signal at inference time, and confidence reporting cannot effectively defend against the attack (§6.4, §6.5).

    Defense Evaluation and Adaptive Attacks

    • What was tested: Evaluating D1, D3, D4+D6, D5 under 72 matched comparisons (Table 9), evaluating instruction-rewriting defense D8 (Table 10), value normalization (Table 11), and adaptive attacks against defense mechanisms (Table 12, 13).
    • Results: In matched benchmark comparisons, defenses win 45, tie 21, lose 6; D5 structured-field defense achieves 16 wins, 2 ties, 0 losses, but on unauth_irrev it raises clean fail-closed to 68.7% (Table 9, §7); when the adaptive attacker injects obfuscated values into retained fields, D5 reaches 100.0% fail-open on 4 of 5 models (Table 12); D8 instruction defense is largely ineffective on LAYA-TD, and on Qwen2.5-7B only adds query cost, with the worst label still achieving 100.0% fail-open (Table 10); fully parsing fields into deterministic rules yields 100% accuracy and 0.0% fail-open under both attacks (Table 11).
    • Authors' interpretation: The authors state that as long as inputs can be sufficiently parsed to protect the model, deterministic code can directly replace model decisions; but on unstructured tasks that cannot be parsed, defenses are difficult to apply (§7.1, §8).

    Other Ablations and Analyses

    • Policy phrasing ablation: Negative phrasing causes LAYA-TD to reach 100% clean fail-open on two synthetic policies (§6.1).
    • Text interference length ablation: Under the unauth_irrev policy, increasing routine logs from 1 to 6 lines raises LAYA-TD's fail-open rate from 33% to 63%, and increasing forged assertions from 1 to 3 lines raises it to 70% (Figure 3, Table 3).
    • Label category ablation: Safety-action labels cause an average 57% fail-open on LAYA-TD, neutral markers 37%, unrelated nouns 27%, and blocking synonyms only 1% (Figure 5a).
    • Threshold sensitivity analysis: On the unauth_irrev policy, adjusting the decision threshold from 0.50 to 0.40 raises the clean fail-closed rate from 26.0% to 70.7%, and lowers the attacked fail-open rate from 68.7% to 10.0% (§6.4).
    • D4+D6 adaptive dual rendering: After optimizing for dual-label consistent allowance, LAYA-ML's fail-open rate on the secret policy rises from 12.0% to 83.1% (§8).
    • Negative results and exceptions: RLCD and Qwen2.5-7B have 0.0% asr_open for text interference on most policies (Table 3); LAYA-ML shows negative transfer gains ( -8.8 percentage points on LAYA-TD, Table 6).
  5. What are some points that can be further explored?

    The authors noted limitations such as the representativeness of synthetic benchmarks, the lack of measurements on closed-source commercial models, and the absence of optimization in black-box attacks; the experiments covered 7 open-source models and 5 defenses.

    Limitations and future directions noted by the authors

    • Synthetic benchmark realism trade-off: GuardBench is template-based, providing exact ground truth and balanced categories but at the cost of real-world complexity (from §10).
    • Commercial closed-source models not directly tested: experiments only test open-source models, not directly measuring the commercial model Jev that introduces the interface; mechanistic conclusions rely on inspectable code implementations (from §10).
    • Black-box attacks not yet optimized: text attacks draw from a fixed pool, option-channel attacks only search a fixed vocabulary; stronger attackers may produce higher failure rates, making current data only a lower bound (from §10).
    • Structured field defense incurs high misblocking cost: D5 field defense, though not losing to baselines, causes 68.7% of compliant actions to be wrongly blocked on the unauth_irrev policy (from §7, §9).
    • Instruction defense cannot fully eliminate the option channel: prompting the model to judge solely based on definitions only increases attacker query costs, not eliminating attacks via meaningless names (from §7, §9).

    Experimental coverage

    • 7 open-source models tested (5 typed decision models and 2 Qwen2.5-Instruct models of different sizes) (§2).
    • Synthetic evaluations cover 6 tool-calling safety policies, and real-text evaluations cover 3 public filtered datasets (§5).
    • Option-channel attack candidate vocabulary covers 198 English words/phrases, divided into 6 semantic categories (§6.3).
    • Defense evaluations cover 5 specific mechanisms (D1, D3, D4+D6, D5, D8) (§7).
    • The paper does not report direct measurements from commercial model APIs, nor tests white-box gradient optimization attacks (§10).
  6. Summarize the main content of the paper

    The authors' evaluation indicates that typed models should not serve as final safety arbiters; they are susceptible to off-policy text and option name manipulation, and confidence filtering cannot resist attacks.
    • Research positioning: evaluate the performance and failure characteristics of open-source typed decision models as safety guardrails in agent systems.
    • Core problem: existing research neglects the consequential difference between allowing violations (fail-open) and blocking compliant actions (fail-closed), and has not audited the security of attacker-controllable text inputs and option naming interfaces.
    • Method design: built GuardBench, a benchmark without label noise, proposed policy-irrelevant text distraction attacks and option-channel attacks that only rename the allow option, and evaluated 5 structured and semantic defense schemes.
    • Key experimental findings: model accuracy on public screening tasks is only 36% to 72% (Table 2); 6 lines of irrelevant logs can increase LAYA-TD's fail-open rate on the unauth_irrev policy from 0% to 63% (Table 3); option-channel attacks achieve 93% to 100% fail-open rates on 4 models (Table 4); the median P(block) for correct blocks is only 0.57, and low-confidence reporting cannot detect flipped decisions (§6.4, §6.5).
    • Defenses and alternatives: although field parsing and deterministic rules can achieve 100% accuracy and 0% failure, they obviate the need for a model; text-based defenses and confidence filtering are all broken under adaptive attacks (Table 11, Table 12).
    • Implications for developers: the authors advise developers not to use typed decision models as final security arbiters, to isolate untrusted strings from option labels, and to prioritize deterministic code logic on parsable fields (§9, §11).
Read originalarxiv.org