arXiv(opens in a new tab)cs.AIOct 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2610.12292

One Word Opens the Gate: The Option-Channel Attack on Typed Decision Models as Agent Guardrails

Seyedarmin Azizi, Erfan Baghaei Potraghloo, Massoud Pedram

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

A typed decision model reads a piece of text and returns a probability over caller-defined options, each with a short written definition, generating no text. Recent work places these models in agent systems as guardrails: the component that reads a proposed tool call or incoming message and decides whether to allow it. We evaluate seven open-weight models in that role and report the two error directions separately: a fail-open error allows a prohibited action and is a vulnerability; a fail-closed error blocks a permitted one and is only a cost. On prompt-injection, jailbreak and toxic-content screening, accuracy at the allow-or-block decision ranges from 36% to 72% against a chance level of 50%. A low error rate in one direction only reflects which answer a model defaults to: one allows nearly everything, another blocks nearly everything. On a synthetic suite of agent tool calls, six lines of server log text that say nothing about the policy raise a gate's fail-open rate from 0% to 63% on a policy it otherwise decides correctly. Giving the permissive option a misleading name, with its definition and the judged text untouched, raises that rate to between 93% and 100% on the four models that place the label in their input. Every defense we tested is defeated, either by an attacker who targets its mechanism or by attacker-controlled text. Escalating the least confident decisions does not help either: a decision an attack has reversed is no less confident than the one it replaced. Parsing each policy field into a typed value does eliminate one attack, but it also makes the model unnecessary: a deterministic rule over those values reaches 100% accuracy on all six policies. These models can reduce how many cases reach a reviewer, but on this evidence they should not be the component that decides. Code is available at github.com/ArminAzizi98/option-channel-attack.

1 INTRODUCTION

Agent systems place a small classifier between a proposed action and its execution. The classifier reads the proposed action and a written policy, and returns a decision to allow or to block. Typed decision models are an attractive choice for this role because they are small, between 151M and 421M parameters for the typed models studied here. They also return a probability rather than free text, which makes their output easy to use in a program. Several recent papers adopt them for exactly this purpose (Liu, 2026; Wang & Gao, 2026; dos Santos Barbosa, 2026).

A component that decides whether an action is permitted is a security control, and security controls are evaluated differently from classifiers, for two reasons. The first is that the two error types have different consequences. When the gate allows an action the policy prohibits, the system performs the prohibited action, and we call this a fail-open error. When the gate blocks a permitted action, a user is inconvenienced, and we call this a fail-closed error. A single accuracy number averages these together and hides which one is occurring. The second is that part of the gate's input is written by the party the gate is defending against. In an agent pipeline the output of a tool, the contents of a retrieved document, and the user's own message are all reachable by an attacker.

∗^{*}Corresponding author.

The existing security literature on these models does not evaluate them this way. Four papers report attacks (Hu et al., 2026; Xu, 2026; Wu & Lim, 2026; Sun et al., 2026), none proposes a defense, and none separates the two error directions, so none of them states whether the gates they attack become more permissive or more restrictive.

This paper evaluates typed decision models as guardrails under both requirements. We report fail-open and fail-closed separately throughout, and we measure attack success only on the items a gate originally decided correctly, since those are the decisions an attack can actually damage. We study seven open-weight models so that every number can be reproduced without access to a commercial API.

On three public screening datasets no model exceeds 72% accuracy, and a model's low error rate in one direction comes from the answer it defaults to rather than from reading the input. On a synthetic suite of agent tool calls, text that carries no information about the policy moves the gates toward allowing prohibited actions and almost never toward blocking permitted ones. An attacker who controls an option label, without touching the input being judged, can drive the fail-open rate to 100% on four of the six models evaluated on that suite. LAYA-TD's correct block decisions carry a median P(block)P(\text{block}) of 0.57 on these datasets. That explains why appended text succeeds, and it also means the returned probability cannot be used as a tunable risk threshold. Finally, we evaluate five defenses and defeat all of them. The only one that never loses against a baseline refusing as much legitimate traffic as it does is defeated by an attacker who targets its mechanism. Instructing the model to ignore the option names raises the attacker's query budget without closing the channel.

References (18)

  • On evaluating adversarial robustness, 2019
  • AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents
  • Not what you’ve signed up for: Compromising real-world LLM-integrated applications with indirect prompt injection, 2023
  • A benchmark and black-box attacks for reinforcement learning for calibrated decisions models, 2026
  • Llama guard: Llm-based input-output safeguard for human-ai conversations, 2023
  • Jev-as-a-judge: Accept when confident, escalate when unsure, 2026
  • Unveiling hidden challenges of toxicity detection in real-world user-ai conversation
  • Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity
  • NeMo guardrails: A toolkit for controllable and safe LLM applications with programmable rails
  • Type-safe is not error-free: A constrained decision head follows the option name, not the rubric bound to it, 2026
  • Typed decision models: An early evidence audit and evaluation checklist, 2026
  • On adaptive attacks to adversarial example defenses
  • Universal adversarial triggers for attacking and analyzing NLP. In EMNLP, 2019
  • Jev as a judge for agent trace security: An empirical comparison with generative llm judges, 2026
  • A modern bidirectional encoder
  • Decision hijacking: Prompt injection attacks on jev's typed probabilistic decisions, 2026
  • Calibrate before use: Improving few-shot performance of language models
  • Universal and transferable adversarial attacks on aligned language models, 2023