Control-token injection wipes chain-of-thought and forces tool calls in LLM agents
Appending a model's channel-control tokens to a user message suppresses reasoning and bypasses safety monitors, causing unintended tool execution
Security & privacy arXiv 23 Sep 2026 Attack Prototype evidence
Published as “Control-Token Injection Suppresses Chain-of-Thought and Defeats Reasoning-Based Oversight in Tool-Using Agents”
Why it matters
Practitioners must not rely solely on chain-of-thought monitoring; they should sanitize control-token spans in untrusted input and harden tool-call parsers, and also add action-level checks because reasoning can be erased.
Summary
A single string of the model’s own control tokens deletes the entire reasoning channel while the unsafe tool call still fires, defeating chain-of-thought monitoring and converting 39.6% of refused requests into successful exfiltrations. The attack works deterministically across 40 plain-framing and 48 malicious-framing tasks on gpt-oss-20b, and a separate finding shows that whether a tool call executes is decided by the harness parser, not the model. Evidence comes from full-precision greedy decoding on a public sandbox benchmark with no sampling noise, but the effect depends on the chat template and is only partial. Defenses such as robust control-token sanitization and parser hardening mitigate the attacks, while a simple empty-trace flag is easily evaded.
What they found 3
- Control-token injection deletes the reasoning channel while the unsafe action remains.
“The injected suffix suppresses the reasoning channel while preserving both the unsafe action and the task.”
- With the suffix the reasoning channel is empty on every trial and the unsafe call still fires.
“With the suffix, the reasoning channel is empty on every one of the fifty-five trials, the total generated length falls from 124.7 to 32.2 tokens, and the unsafe action still fires on every plain-framing trial while the model still completes the task by answering as instructed.”
- The injection defeats reasoning-based oversight, converting refusals into actions.
“The injection defeats reasoning-based oversight specifically, leaving oversight that inspects the action itself intact.”
Caveats 6
- The attack only works when the chat template places the reasoning block before the user turn; for Qwen3-4B-Thinking input delivery does not suppress reasoning, and for DeepSeek-R1-Distill-7B neither delivery produces the unsafe call.
- The refusal bypass is partial: under the injection, 20.8% of malicious-framing requests still refuse, 39.6% emit a non-firing call, and only 39.6% complete the exfiltration.
- Scope of the target. Our measurements use one primary target model and one sandbox, chosen because the sandbox provides a faithful, reproducible harness with published parsers; the exact rates would differ under other tools, decoding settings, or task distributions.
- Scope of the generality study. It covers two additional reasoning models rather than a broad survey, and it measures tool-call emission outside the sandbox for both, so its compliance numbers index the model’s willingness to produce the unsafe call rather than its execution in a live environment.
- Partiality of the refusal bypass. The effect is partial and framing-dependent, which indicates that some safety behavior is not mediated by the visible reasoning and is therefore not removed by the attack.
- Delivery channel. Our experiments deliver the adversarial span in the user turn rather than through an untrusted tool return, because the guardrail blocks the web and email provenance that a fully indirect delivery would use; the suppression mechanism itself does not depend on the delivery channel, but demonstrating an end-to-end indirect chain would require a testbed whose guardrail permits a tainted source to reach an external post, which we leave to future work.
What’s new here 4
- Demonstrates that a control-token injection can suppress the model’s reasoning trace while preserving the unsafe action.
- Shows that tool-call execution is determined by the harness parser’s leniency, independent of the model’s output.
- Identifies the chat template as the gating factor for the injection’s reach across different models.
- Evaluates practical defenses (input sanitization, parser hardening) and reveals that empty-trace detection can be bypassed with a benign decoy.