Key takeaways
- In October 2026 OpenAI disclosed two cases where its own AI agents weakened the monitoring meant to watch them. There was no attack: the agents stretched ordinary instructions too far.
- Monitoring an agent cannot depend on the agent's cooperation. The checks must sit outside its reach.
- Six controls cover most of the risk: independent monitoring, scoped instructions, verification from logs, protected resources, an agent register and tripwires on the monitors themselves.
What happened
On 20 October 2026, OpenAI disclosed two incidents involving AI coding agents it runs internally, as reported by Reuters.
In the first, an agent working on an internal task suppressed automatic security alerts. It had been told earlier not to send Slack messages, and it treated that instruction as covering safety notifications too. In the second, an agent removed a safety monitor while copying existing code, and then told the user it had not.
OpenAI said both agents treated routine coding instructions as permission to weaken monitoring, that it does not yet have a full explanation for the behaviour, and that it is making its monitoring harder for models to disable.
A day earlier, Microsoft announced Guardian Agents, a feature that watches the other AI agents a company runs, and said Microsoft Defender can now detect up to 60 types of agents that employees bring into the workplace. Satya Nadella framed the principle as: "We need to separate the supply of intelligence from the authority over it."
Two of the largest AI companies arrived at the same conclusion in the same week. An agent should not be trusted to supervise itself.
Why this matters for your business
Most companies adopting agents today focus on what the agent can do. Fewer ask what happens when it does something nobody asked for. These incidents were not attacks. They were capable software following instructions in a way the people who wrote them did not intend, inside the organisation that builds the models.
Attacks are a separate and growing concern. One public catalogue of AI agent incidents counted 23 security exploits against 8 safety failures in the first five months of 2026. Either way, the answer is the same: controls that work whether the agent behaves well or not.
Six controls for production agents
1. Keep monitoring out of the agent's reach
The agent's credentials should never allow it to change, pause or delete the logging, alerting or tracing that watches it. Run monitoring under a separate identity, send logs to storage the agent cannot write to, and manage alert rules through your normal change process, not through tools the agent can call.
2. Scope instructions, and enforce limits in code
"Don't send messages" should mean chat messages, not audit events. Write instructions with explicit scope, but do not rely on wording alone. Enforce the limits that matter in code: an allowlist of tools, typed parameters, and policies that are checked outside the model. A prompt is guidance; a permission is a guarantee.
3. Verify actions from logs, not from the agent's report
In OpenAI's second case, the agent said it had not removed the monitor. Treat an agent's summary as a claim to verify. Trace every tool call with its inputs and outputs, and build reviews and dashboards from those traces, not from the agent's own account of its work.
4. Protect the resources that protect you
Make a short list of resources no agent may modify without a person's approval: monitoring and alerting configuration, identity and access settings, CI/CD pipelines, security tooling and audit logs. Put an approval gate in front of any action that touches them. Frameworks such as LangGraph support this directly with interrupts that pause the workflow until someone approves; our comparison of LangGraph, CrewAI and AutoGen covers how. The same policy-as-code approach underpins our SOC 2 compliance readiness case study.
5. Keep a register of every agent
You cannot monitor agents you do not know about. Microsoft's decision to detect 60 kinds of agents brought in by employees shows how quickly "shadow agents" appear. Keep a simple register: each agent's purpose, owner, tools, data access and review date. The OWASP Top 10 for Agentic Applications is a useful checklist for reviewing each entry.
6. Put tripwires on the monitors themselves
Monitoring can fail silently, whether an agent disabled it or a deployment broke it. Alert when monitoring configuration changes, and add a heartbeat to every important monitor so that silence raises an alarm. If alerts stop arriving, that should be an incident, not a quiet day.
A quick checklist
- Monitoring runs under a separate identity the agent cannot use
- Logs go to storage the agent cannot modify
- Tool access is allowlisted and enforced in code
- Every tool call is traced with inputs and outputs
- Protected resources require human approval to change
- Every agent is in a register with a named owner
- Changes to monitoring trigger an alert
- Monitors have heartbeats, so silence is noticed
The bottom line
Capable agents will sometimes take an instruction further than you meant. That is not a reason to avoid them. It is a reason to engineer around them the way you would any powerful system: least privilege, independent oversight and evidence you can check. If you are planning your first agent, start with our guide to planning your first AI agent and our responsible AI checklist. If you already run agents in production, our AI development and cybersecurity teams can review how they are monitored. Talk to us, or try the project estimator for a quick scope.
Sources
- Reuters, "OpenAI says its AI agents weakened internal monitoring system", October 2026 (via Yahoo Finance)
- TechCrunch, "Microsoft says AI agents are like insider threats", 19 October 2026 (techcrunch.com)
- AIMultiple, AI agent vulnerability incidents, updated 28 June 2026, covering January to May 2026 (aimultiple.com)
