Blog

Secure AI agents as a runtime system: detection, external containment and rehearsed emergency stops

AI agents turn one request into chains of actions. Regulators and researchers show why detection, external containment and rehearsed emergency stops are needed.

· By

A red physical emergency-stop button in the foreground of a desk, behind it stacked logbooks with sealed pages and an isolated cable patch panel.
Secure AI agents as a runtime system with external containment, rehearsed emergency stops and logging kept out of the agent's reach.Image: IamVera.ai — original editorial illustration

Do not secure AI agents with a single detection model that flags dangerous output, but as a runtime system: observe prompts, tool calls, API use, identity and permission changes and network traffic, link every signal to enforceable containment outside the agent, and keep rehearsed, human-authorised stop and recovery procedures ready.

An analysis by MIT Technology Review Insights described on 1 December 2026 why enterprise security of AI agents is shifting from model-centred detection towards runtime visibility, control and accountability. The core of that problem: an agent can turn one ordinary request into a chain of actions across internal files, CRM systems, email, productivity tools, identities and permissions. That publication is sponsored and not an independent technical evaluation, but the same conclusion is supported in the same period by regulators and researchers.

The practical consequence for whoever decides: anyone who checks only the final output of an agent misses most of the risk. Our analysis: the risk can arise in intermediate steps, so checking only the closing sentence is insufficient.

Why is detecting only the final output not enough for AI agents?

Because the harmful action usually takes place before the visible output. A peer-reviewed case study in the Computers journal (MDPI) on the 2026 OpenAI–Hugging Face incident concluded that the shortcomings lay across several layers at once: egress containment (shielding outgoing traffic), separation of execution runs, access control and monitoring. The researchers call continuous behavioural monitoring of agent trajectories, tool calls and inter-process communication a first-class control, precisely in systems where model restrictions have been reduced.

That fits a broader insight we described earlier: why the workflow around the model is the attack surface, not the model on its own. Our reading: a defective security layer does not rule out other attack paths. The lesson of the case study, in our reading: detection must look at the whole chain, not the final step, because several independent control layers are needed.

Which signals and controls belong to runtime detection and external containment?

Detection here means correlating several behavioural signals, and linking each signal to a response that is enforced outside the agent. The Canadian AI Safety Institute guidelines, drawn up with researchers from the University of Toronto and the Vector Institute, stress that alignment and sandboxing individually do not provide complete security guarantees. They recommend a layered architecture.

  • Signals to correlate: prompt patterns, output anomalies, tool calls, API use, changes to identities and permissions, outgoing network traffic and deviations from normal working behaviour.
  • Architecture requirements according to CAISI: least privilege, default deny, network isolation, defence in depth, verifiable policies, observable actions and tamper-evident logging.
  • External intervention: a human supervisor who can pause or stop the agent from the outside, plus periodic integrity checks, intrusion detection and pre-tested stop and recovery procedures.

The CISA guidance on malicious use of agentic offensive frameworks of 30 November 2026 fills this in operationally: store logs centrally and out of reach of an attacking agent, improve detection of large automated activity spikes, monitor anomalous outgoing traffic, designate containment actions in advance and test them, and preserve forensic evidence quickly. The Bank of England, PRA and FCA advised financial firms on 19 November 2026 to correlate logs from LLM APIs, tool executions and chats and to keep AI-specific incident response playbooks ready with recorded escalation thresholds and isolation powers.

What does this mean right now for directors, lawyers and CISOs?

Our analysis: because an agent turns one request into actions across files, identities and permissions, responsibility shifts from model choice to runtime oversight, and that directly affects the CISO and the risk owner. In our analysis, directors should therefore, before production, record per agent which powers and egress are permitted and who may stop the agent. Because CISA advises keeping logs centrally and out of reach of an attacking agent, our analysis is that the CISO should place critical logging outside the agent's effective control, make it tamper-evident and include that requirement in procurement and architecture decisions. Our reading: an emergency stop without a named owner and without a rehearsed procedure is operationally ineffective and may leave important accountability questions unresolved. In our analysis, the lawyer should consider embedding escalation thresholds, authorisation, liability and evidence-preservation rights in service and vendor contracts. Because the case study shows that one defective layer can leave other attack paths open, our analysis is that a single control should not be treated as sufficient; organisations should measure and retain the time between anomaly, detection, isolation and recovery as auditable evidence. Our assessment is that these sources do not prove that every agent is autonomously dangerous, nor that one detection technique catches everything; the reasonable conclusion is that AI security must be assessed as runtime detection-and-response with independent enforcement.

How do I set up external containment and human intervention without making the agent unusable?

By placing containment outside the agent and linking it to risk levels, not to every action. The sources leave open how to do this without smothering functionality; in our assessment the answer is gradation: low-risk actions run on, high-risk actions require authorisation. Also read what an effective emergency stop for AI agents must arrange technically and legally and, for the attack side, Also read the CISA guidance on malicious use of agentic offensive frameworks.

  1. Map per agent which tools, systems and identities it can affect, and apply least privilege and default deny.
  2. Define which actions may run automatically and which require human approval, based on impact on data, identities and egress.
  3. Place logging, detection and the stop button outside the agent, so that a compromised agent cannot erase its own traces.
  4. Test the stop and recovery procedure periodically and measure the time from anomaly to isolation; include that exercise in the incident playbook.
  5. Retain the containment decisions, exceptions and human approvals as tamper-evident evidence, so that recovery and accountability are demonstrable.

More context and related pieces can be found in the topic hub on agentic AI and AI agents. The final judgement on which actions an agent may carry out autonomously remains with the responsible person within the organisation.

Sources and references

  1. Securing the enterprise with AI detection and responseMIT Technology Review Insights · 2026-12-01
  2. Defending Against Malicious Use of Agentic Offensive FrameworksCybersecurity and Infrastructure Security Agency (CISA) · 2026-11-30
  3. Effective practices: Cyber risk and resilience management relating to artificial intelligence (AI)Bank of England, Prudential Regulation Authority and Financial Conduct Authority · 2026-11-19
  4. Technical Guidelines for AI Agent ContainmentCanadian Artificial Intelligence Safety Institute · 2026-11-30
  5. Autonomous Agent Escape and Cross-Organisational Compromise: A Technical Case Study and Governance Analysis of the 2026 OpenAI–Hugging Face IncidentComputers journal, MDPI · 2026-11-20

Sources: The article draws on MIT Technology Review Insights, CISA, the Bank of England/PRA/FCA, the Canadian AI Safety Institute guidelines and a peer-reviewed case study in the Computers journal (MDPI).

← All articles in this topic ← All articles

Review the answer before you rely on it.

Start with a sample question. See what Vera checks, what it changes and what still needs your judgement.