Skip to content

Who it is for

Written for the CTO signing off agent access to production.

An agent is a process that reads untrusted content, holds credentials and takes actions. Every control you would apply to a privileged service account applies here, and almost none of them are applied by default.

The question this engagement answers is not whether the agent can be tricked. Assume it can. The question is what it reaches when that happens, how fast you can stop it, and whether you can prove afterwards what it did.

This is the defensive counterpart to the AI Offensive Security Review. Testing tells you where it breaks. This builds the environment where breaking it does not matter as much.

Defence

Hardening the AI workload and the platform under it.

Detection and response for systems whose failure mode is a confident, plausible, wrong action rather than a crash.

Guardrails and filtering

Input and output classifiers sized to your risk, with the residual rate stated honestly. Guardrails reduce the rate of a bad outcome. They are not a boundary, and we do not sell them as one.

Monitoring and detection for AI workloads

Prompt, retrieval, tool call and output treated as privileged activity and surfaced where your detection can see it. Detections for agent identities behaving outside their baseline.

Secrets and key handling

Credentials kept out of prompts, context and logs. Short-lived tokens brokered at call time rather than long-lived keys embedded in agent configuration.

AI incident response playbooks

What to do when an agent acts on an injected instruction: how to stop it, what to preserve, how to determine reach, and who decides. Written before you need it, and exercised.

Hardening the platform underneath

The identity, network, logging and endpoint controls the AI runs on. Most AI incidents are ordinary platform failures with an AI component attached.

Model and artefact provenance

Weights pinned by revision, safe serialisation formats, an allowlist for agent skills and MCP servers, and an inventory that includes what your build pipeline cannot see.

Containment

The environment an agent runs inside.

Containment is engineering work we design and stand up inside your environment, on your infrastructure, using components you already run. It is not a product and there is nothing to licence from us.

Where each containment control sits on the path an agent action takes

An ordered path of four stages with four controls interrupting it, followed by two controls that apply across every stage.

  1. Stage

    Untrusted content reaches the agent

    A document, an email, a ticket or a web page enters the context the agent reads.

  2. Control

    Isolated execution environment

    The agent runs inside a container or microVM sized to the blast radius you are willing to accept, not on a laptop with ambient access to everything that laptop can reach.

  3. Stage

    The agent decides an action

    It holds credentials and it has tools. Assume the instruction it just read was hostile.

  4. Control

    Scoped credentials per agent

    A distinct identity, least privilege, short lifetime. An agent that inherits an engineer's personal token has that engineer's blast radius.

  5. Stage

    The action leaves the agent

    A network call, a tool invocation, a write to something real.

  6. Control

    Default-deny network egress

    The agent reaches the endpoints it needs and nothing else, which turns most exfiltration and callback payloads into a blocked connection and an alert.

  7. Control

    Human approval for irreversible actions

    Payments, deletions, production changes, external communications and access grants stay with a person. This is the control that survives a guardrail failure.

  8. Stage

    The production system

    Where the consequence lands, and the only place any of this was ever going to matter.

Across every stage above

Tamper-evident action logs

An append-only record of every step above, written somewhere the agent cannot reach. If the agent can edit its own audit trail, you do not have one.

Kill switches

A tested way to stop the agent and revoke its credentials in seconds, at any step above, owned by someone who is on call.

Six controls, each drawn where it acts. The four on the rail interrupt the path at a point; the two at the foot apply across all of it. They are the same six described in full below.

Isolated execution environments

Agents run inside containers or microVMs sized to the blast radius you are willing to accept, not on a developer laptop with ambient access to everything that laptop can reach.

Default-deny network egress

An agent reaches the endpoints it needs and nothing else. This single control turns most exfiltration and callback payloads into a blocked connection and an alert.

Scoped credentials per agent

A distinct identity per agent, least privilege, short lifetime. An agent that inherits an engineer's personal token has that engineer's blast radius.

Tamper-evident action logs

An append-only record of what the agent did, written somewhere the agent cannot reach. If the agent can edit its own audit trail, you do not have one.

Kill switches

A tested way to stop an agent and revoke its credentials in seconds, owned by someone who is on call. Untested kill switches do not work on the day.

Human approval for irreversible actions

Payments, deletions, production changes, external communications and access grants stay with a person. The joint agency guidance is explicit on this, and it is the control that survives a guardrail failure.

Control mapping

Mapped to the frameworks you already report against.

Agent containment is not a new control family. It is existing controls applied to a new kind of principal, which is what makes it defensible in an audit.

Control ASD Essential Eight NIST CSF 2.0
Isolated execution and egress control Application control, restrict admin privileges PR.PS, PR.IR
Scoped agent credentials Restrict administrative privileges, MFA PR.AA
Tamper-evident action logging Regular backups, monitoring DE.CM, PR.PS
Patching of AI platform components Patch applications, patch operating systems ID.RA, PR.PS
Human approval for irreversible actions Restrict administrative privileges GV.RR, PR.AA
AI incident response playbook Regular backups RS.MA, RC.RP

What you get

Deliverables.

  • Threat model for your agent estate, with the blast radius written down per agent
  • Containment architecture, designed and stood up in your environment
  • Agent identities, scoped credentials and egress policy in place
  • Detections for agent activity, delivered into your existing tooling
  • AI incident response playbook, exercised with your team once
  • Control mapping to Essential Eight and NIST CSF 2.0 for your evidence pack
  • Runbooks and handover to named internal owners

Get started

Decide what an agent reaches before it reaches it.

A scoping call establishes your agent estate, what each one can touch, and the realistic shape of a containment engagement.