mlsanityData to 13 Oct 2026

Red-Teaming Auto Mode: Improving Blocking Classifiers Against Malign Coding Agents

arXiv 2609.19587 ↗First posted 17 Sep 2026cs.CR cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

To keep coding agents from going off the rails, production systems now review each proposed action with a blocking monitor that can reject it before it runs (Auto Mode in Claude Code, Guardian in OpenAI's Codex). Prior evaluations of such monitors largely measure robustness to accidental harm or prompt injections from untrusted sources looking to hijack the agent. Less understood is how they hold up when the agent they monitor is persistently misaligned. To understand this risk, we task an adversarial agent with evading production blocking monitors and causing catastrophic harm, e.g. by exfiltrating its own weights. We find that when instructed with high-level attack strategies, adversarial agents can succeed through several distinct mechanisms, such as agent-generated prompt injection against the monitor, multi-agent attacks, and malicious compaction. In particular we find that in 79% of trials, the agent can use an injection attack against Auto Mode and Guardian to run arbitrary bash commands. We also find that it is possible to greatly improve Auto Mode through design changes like enhancements to tool coverage, changes in transcript formatting, and the addition of an agentic monitor stage. Even with these improvements, preventing multi-context attacks at an acceptable cost remains an open problem. By detailing our red-teaming methodology and highlighting new attack vectors, we aim to help defenders evaluate their mitigations against the possibility of persistent malign coding agents. Code is available at https://github.com/safety-research/red-teaming-auto-mode.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 17 of its 26 references that are in the map. First posted on arXiv 17 Sep 2026.

Builds on

17 of 26 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026SLEIGHT-Bench: A Benchmark of Evasion Attacks Against Agent Monitors15 May
  2. 2026MonitoringBench: Semi-Automated Red-Teaming for Agent Monitoring10 May
  3. 2026LinuxArena: A Control Setting for AI Agents in Live Production Software Environments16 Apr
  4. 2025BashArena: A Control Setting for Highly Privileged AI Agents17 Dec
  5. 2025Async Control: Stress-testing Asynchronous Control Measures for LLM Agents15 Dec
  6. 2025SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agents17 Jun

Other references · 11

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,417
  2. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,404
  3. 2024Frontier Models are Capable of In-context Schemingcited by 270
  4. 2023AI Control: Improving Safety Despite Intentional Subversioncited by 218
  5. 2025Measuring AI Ability to Complete Long Software Taskscited by 149
  6. 2023Scheming AIs: Will AIs fake alignment during training in order to get power?cited by 93
  7. 2025Ctrl-Z: Controlling AI Agents via Resamplingcited by 43
  8. 2026SWE-chat: Coding Agent Interactions From Real Users in the Wildcited by 40
  9. 2024Breach By A Thousand Leaks: Unsafe Information Leakage in `Safe' AI Responsescited by 18
  10. 2025Practical challenges of control monitoring in frontier AI deploymentscited by 8
  11. 2026Multi-Agent AI Control: Distributed Attacks Hamper Per-Instance Monitorscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming
  2. 2026Measuring the Permission Gate: A Stress-Test Evaluation of Claude Code's Auto Mode
  3. 2026Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
  4. 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teaming
  5. 2026AgentTrust: Runtime Safety Evaluation and Interception for AI Agent Tool Use
  6. 2026SpecGuard: Proving a Task Is Broken Before the Agent Cheats
  7. 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections
  8. 2026REDAgentBench: Executable Red Teaming and Faithful Measurement of LLM Agent Systems