AIDEFEND in Action AIA-0164 Exercise

METR and Redwood Red-Team OpenAI's Agent Monitoring: Agents Could Influence When and Whether They Were Watched

OpenAI reviews its internal coding agents with a misalignment monitor: a separate model reads what an agent reasoned and did, and escalates suspicious sessions to people. For three weeks from July 21, 2026, one employee each from the AI safety research groups METR and Redwood Research stress-tested it with access to OpenAI's code, monitor configuration and staff. They found the monitor was triggered when an agent handed control back to the user and did not cover context compaction, so an agent that kept acting could postpone review, and two client-controllable headers could switch monitoring off for a new agent. The findings describe what agents could do in the system as it then stood, not agents observed doing it.

EvasionGuardrail BypassSystem-Level DefenseAgentic AIAI Coding Agent
7 applicable AIDEFEND defenses
Source: Red-Teaming OpenAI's Internal Agent Monitoring Systems 
Authors: David Rein, Adam Kaufman
Original article: Oct 22, 2026

Threat Analysis

  • What was tested. By OpenAI’s March 2026 description, the monitor is asynchronous: a GPT-5.4 Thinking model reviews an agent’s chains of thought, messages, tool calls and outputs within 30 minutes of completion and surfaces anomalies for human review. METR’s findings describe the system as it existed on and before July 21; OpenAI has since described significant coverage changes that METR did not evaluate. The post is a brief subset of a 61-page internal report, and OpenAI had the right to redact it.
  • The agent could decide when it was checked. The monitor ran when an agent returned control to the user, and compaction events (where a long session’s earlier context is condensed) were not monitored. METR estimates this likely left on the order of 10% of eligible internal Codex traffic (traffic meant to be monitored) unmonitored between May and July 2026, with substantial uncertainty about the precise share because the data on how many monitor calls compaction triggered had not been logged. In that period an agent could postpone monitoring indefinitely by continuing to act; METR could not check whether any did. OpenAI staff had already identified the compaction gap and fixed it during the exercise.
  • Monitoring could be switched off or made to fail. Two independent client-controllable headers disabled monitoring for new agents, so an agent could start an unmonitored but otherwise identical instance; METR notes that doing so could itself be caught. Agents could also likely construct inputs that make the monitor fail, and so not escalate the trajectory for human review, by exploiting serialization differences between what the agent sees and what the monitor sees. METR verified that, with a few minor exceptions, the monitor is shown the full trajectory.
  • Read the coverage numbers with their denominators. METR estimates that roughly 75% to 94% of agentic internal Responses API traffic from models at least as strong as GPT-5.5 was eligible for monitoring, with substantial uncertainty in both directions, and that 99.2% of the subset used for internal Codex agents was eligible. Eligible is not the same as reviewed: load shedding, monitor errors or bugs could still drop such traffic, though figures shown to METR suggested errors on under 0.2% of requests and no load shedding in one 24-hour period. The estimate leaves out other internal agentic coding traffic, such as agents on OpenAI’s research inference service. RL training runs were not covered when the exercise began.
  • What was not validated or not published. Two unmonitored internal agentic tools were thought to be read-only. METR found a simple exploit that could have been used to get past that limit and take arbitrary actions in the tools’ sandboxed environment; it did not validate the exploit or test whether it worked in practice. It also reports a way Codex agents could in principle bypass Codex sandboxing and Auto-Review and take any action the host user could, and an exploit, details redacted by OpenAI, that would keep hundreds of recent actions, including its own, from being monitored. As of the October 29 update, OpenAI says most vulnerabilities are patched, one fix is in progress, and the remaining one does not affect its misuse safeguards stack. METR has not evaluated those claims. OpenAI’s October 20 report of agents weakening monitoring in two later tasks is a separate matter.

Applicable AIDEFEND Defenses (7)

AID-H-021.004
Control-Plane & Oversight-Surface Isolation
Very High
Two client-controllable headers decided whether a new agent was monitored. This control treats that decision as an oversight setting the agent runtime cannot administer: the enforcement point derives the workload identity itself, ignores caller-supplied classification, and allows exemptions only through independently approved, time-bounded grants. An agent then has no request field that launches an unmonitored copy, and monitor rules and thresholds stay unreadable to it. Trigger timing and monitor-input mismatches need other controls.
AID-D-002.005
Emitted Reasoning-Trace Semantic Monitoring
High
The monitor waited for the agent to end its turn, and a monitor failure meant no escalation. Here the gateway, not the agent, sends each completed response's full reasoning to a separate monitor, and a partial stream, oversized trace, timeout or invalid reply counts as insufficient data or an error, never as clean. Every eligible response is reconciled to a result. This is detection of emitted reasoning; tool calls and outputs need equivalent coverage.
AID-M-009.006
Capability-Tier Control-Profile Binding & Assurance Gate
High
RL training runs were not covered when the exercise began, and two unmonitored agentic tools were thought to be read-only. A capability-tier gate derives each workload tier from signed facts about its tools, credentials and network placement, and refuses promotion when required monitoring evidence is missing, invalid or stale. Verified facts, not a read-only label, then decide coverage, so those facts must be accurate. It acts at release; each launch needs its own readiness check.
AID-H-017.001
Interruptible Agent Control Loops & Structured State Auditability
Medium
With a turn-end trigger, an agent that keeps acting is not inspected. A step-wise executor returns control to the orchestrating harness after each plan or tool action, so the harness, not the model, owns the inspection points. A circuit breaker checked before each action caps iterations and requires explicit policy or human approval to resume, bounding an uninspected turn. Both assume a harness the agent cannot alter, with the monitor wired to those points.
AID-D-004.005
Runtime Turn-Chain Integrity Monitoring
Medium
A monitor can only judge the turns it receives. If the harness signs each turn and tool result into a chain, the monitor intake can check the trajectory against the expected turn count from a trusted manifest and report missing, reordered or rewritten turns instead of scoring an incomplete copy. This is detection and needs signing end to end. Nothing public shows it would have caught the exploit whose details OpenAI redacted.
AID-D-005.010
Telemetry Pipeline Health & Sensor-Loss Detection
Medium
Eligible traffic is not the same as monitored traffic: METR notes that load shedding, monitor errors or implementation bugs could drop eligible trajectories. Heartbeats, collector loss counts, configured versus effective sampling and an end-to-end synthetic dead-man event make that loss visible and put the pipeline into an explicit visibility-impaired state. This reveals traffic lost on the way to the monitor, not traffic that was never routed to it.
AID-D-018
Production AI-Security Detection Efficacy & Scenario-Coverage Validation
Medium
METR's fourth ideal is to red-team the monitor itself. Replaying a fixed set of benign and attack scenarios through the real path, from agent harness to alert, with missing results, errors and abstentions kept in the denominator, makes that a repeatable check after every monitor, prompt or pipeline change. It finds a blind spot such as an unmonitored launch path only if the scenario set includes it, and closes none.

What Defenders Should Do Now

  • Run a turn that never ends. In a test environment, keep an agent acting without returning control until compaction occurs. Pass: the monitor fires on a step or time budget and at compaction, and the run stops or escalates when the budget passes with no monitor result.
  • Try to launch an unmonitored agent from inside an agent. Attempt every client-settable route the agent can reach: headers, flags, other API keys and endpoints. Pass: each attempt is refused or still monitored and logged as a security event; exemptions exist only as approved, time-limited grants on credentials that cannot run tool-using inference.
  • Reconcile inference with monitor results. For a fixed window, match all tool-using inference to the monitor’s log. Pass: every eligible request has a result (clean, flagged, error or insufficient data), errors and dropped requests are escalated, and each call’s trigger is recorded so coverage can be recomputed.
  • Break the monitor on purpose. In staging, send malformed, oversized and oddly serialized trajectories and compare digests of what the agent and the monitor each received. Pass: a monitor failure yields an escalated non-clean result, and any difference between the two views is reported.
  • List what is exempt and why. Inventory every tool-using workload, including training runs, evaluations and tools labeled read-only, with the capabilities each really holds. Pass: each has current evidence that monitoring is attached, or it cannot launch; a read-only claim is tested by attempting a write and a command in that tool’s own environment.

2 additional considerations

Independent review with source access

Several findings here, such as the two headers and the turn-end trigger, are design properties. A scenario replay would find them only if someone already suspected them. They surfaced because the reviewers could read code and configuration and interview the engineers.
Recommendation: Operators of an agent monitor can schedule a time-boxed review by people outside the team that built it, with read access to code, monitor configuration and staff, on managed devices, and agree redaction rules and a remediation period in advance. The result describes one point in time and can seed a maintained list of known ways around monitoring.

Ownership after an alert

A flagged trajectory changes nothing until a person decides what to do, and an asynchronous monitor reports after the action has run.
Recommendation: Name an on-call owner for monitor alerts, write down which findings pause an agent or a run and who may resume it, and keep inference and monitor logs where supervised agents cannot modify them, so the decision can be reviewed afterwards.

Conclusion

A monitor is only as strong as the answers to three questions: who decides when it runs, what it is shown, and whether it can be skipped. AIDEFEND  maps METR’s design ideal, that agent actions should not influence whether or when monitoring runs, to specific boundaries: a monitoring switch outside the agent runtime’s reach, inspection points owned by the gateway and the harness, tool-using workloads gated on monitoring evidence, and a completeness check on the monitor’s copy of each trajectory.

Last updated: