Agentic Cyber

AI Security Controls by Layer: What Each Control Buys You and What It Does Not

By Declan Osei · November 3, 2026

Category: defensive-architecture-security-controls

AI Security Controls by Layer: What Each Control Buys You and What It Does Not

A seven-layer catalog of AI security controls, each row stating what it buys you and what it does not, with a case for choosing controls that fail closed.

Key takeaways

  1. The problem The phrase AI security controls has no agreed list, so teams cannot see which questions their controls leave open.

  2. Core insight Controls that deny by default hold up better than detectors that allow by default, so add the fail-closed control first.

  3. Practical outcome You get a seven-layer catalog with limits stated per control, a way to find empty layers and a starting layer for common agent types.

Ask three vendors what "AI security controls" means and you will hear filters, identity and compliance paperwork. All three are right, because the phrase has no agreed list. Here the controls are grouped by the question each one answers, which shows at a glance where your coverage is thin.

The layers and rows are an editorial synthesis from public sources, including the OWASP LLM guidance, the MCP specification, NCSC advice and the research cited inline. No standard or audit stands behind it. Every control is paired with what it gives you and what it leaves unsolved.

Seven questions, seven layers

  1. Who acted? Identity and access.
  2. What did it read? Input and context.
  3. What did the model decide with? Model and prompt.
  4. What could it call? Tools and integrations.
  5. What did it actually do? Action and runtime.
  6. What does it remember and expose? Data and memory.
  7. What did you load and can you prove it? Supply chain and assurance.

Layer 1, who acted

ControlBuys youDoes not buy you
A distinct identity per agentAttribution of every actionProtection when a correctly named agent is steered
Narrow tokens with short livesA smaller yield from a theft or a hijackSafety inside the granted scope
Delegation carrying an actor claimLogs naming both the person and the agentA verdict on whether the step was intended
Workload identityNo stored long-lived secretCoverage for laptops that cannot attest themselves

Layer 2, what it read

ControlBuys youDoes not buy you
A map of inputs and who writes themKnowing which sources outsiders controlRemoval of hostile content
Labelling content as dataA better chance the model separates data from ordersA promise that it will
Input and output filtersFewer crude attacks and less noiseResistance to adaptive attackers

A 2025 paper reports that adaptive attacks bypassed twelve published defences, mostly at rates above 90 percent (arXiv:2510.09023), so treat filters as one layer among several.

Layer 3, what the model decided with

ControlBuys youDoes not buy you
Choosing and pinning a model versionStable behaviour between releasesImmunity to injection
Rules in the system promptA statement of intentAccess control
Vendor adversarial trainingA higher cost for attackersA solution; the NCSC says the weakness may never be totally mitigated

Layer 4, what it could call

ControlBuys youDoes not buy you
A tool list per agentA cap on what can be invokedSafety for the tools that remain
Token audience checksNo reuse of tokens meant for other services; the MCP authorization specification requires servers to validate audienceA view on whether tool text is honest
Vetting and pinning tool serversLess exposure to hostile serversDetection of later changes unless you re-check
Diffing tool descriptionsA signal when tool text changesProof that the original text was honest

The audience rule is in the MCP authorization specification, and the wider picture is in the MCP security guide.

Layer 5, what it did

ControlBuys youDoes not buy you
A checkpoint before tool callsAllow, deny or ask on each actionQuality beyond its rules and context
Approval screens showing the real actionFacts for the reviewerImmunity to approval fatigue
Sandbox plus outbound limitsA ceiling on harm from a bad stepSafety when the rules live inside the sandbox
Rate and spend capsLimits on loops and cascadesPrevention of one harmful action
A stop controlA quick halt for one agent or a groupAn undo for what already happened

Anthropic's engineering post on Claude Code sandboxing argues that filesystem and network isolation are both required, since each boundary covers the other's gap (Anthropic engineering). More detail is in the runtime security guide and in controls at the action layer.

Layer 6, what it remembers and exposes

ControlBuys youDoes not buy you
Memory separated by user and taskLess cross-contaminationReliable spotting of subtle poisoning
Provenance tags on retrieved contentA trail back to a bad sourceTruth of the content
Putting less data in contextLess to leakAn end to needing the data

Layer 7, what you loaded and what you can prove

ControlBuys youDoes not buy you
A registry proxy with an approved listUnknown package names refusedVetting of the approved packages
Checks at install timeAssurance that the installed tree matches the pinA read on intent
An allowlist of extensions and pluginsA limit on what runs beside the agentProtection from a trusted publisher's compromise
An inventory with ownersThe basis for everything elseSecurity by itself
Logs kept outside the agent's reachEvidence; one September 2026 preprint found agents can erase their own tracesStopping an incident
Recurring adversarial testsDiscovery of controls that failProof that no flaw exists

The preprint is arXiv:2609.30266, a single study to confirm against your tooling.

How NIST sees the gaps

A Cloud Security Alliance research note of April 2026 argues that older NIST frameworks pre-date production agents and leave systematic gaps in four SP 800-53 families, namely access control, identification and authentication, audit and accountability, and supply chain risk management (Cloud Security Alliance). In this catalog those gaps sit mostly in layers 1, 5 and 7. The note adds that NIST's COSAiS project is developing overlays; we found no final guidance. The NIST status article tracks it.

Prefer controls that refuse by default

Look down the "does not buy you" columns and a pattern appears. The controls that fail worst are the ones that allow by default and try to spot the bad case: filters, classifiers, reviewing models. The ones that hold are the ones that deny by default and name what is permitted: tool lists, outbound allowlists, narrow scopes, approved registries.

The NCSC makes the case in its own terms. It warns against deny-listing known bad phrases because there are endless ways to rephrase an attack, and it says design protections should be deterministic safeguards that constrain the system's actions (NCSC blog). Combine that with the adaptive-attack results above and the catalog's lesson is simple: when you have to pick one more control, pick the one that fails closed.

The lesson has a boundary. Allowlists need a task you can describe in advance. A general research assistant that must read anything and call anything cannot be boxed this way, and there a layered mix of detection, approval and logging is the best available, with a candid view of its limits. That is also a signal to ask whether the agent should hold powerful tools at all.

Using the catalog

  1. Take one agent and label each control present, partial or absent.
  2. Find the empty layers before anything else, since a bare layer is worse than a layer with a single weak control.
  3. Fill the cheapest gap in the layer that protects your most consequential tool.
  4. Do the same for each agent, and store the sheet next to the risk register.

Different agents need different starting layers. A coding agent on laptops should start at layers 7, 5 and 1, because plugin, sandbox and token-theft reports concentrate there; the coding agent guide expands on it. An agent that talks to customers ingests untrusted text constantly, which points to layers 2, 4 and 7. An internal operations agent with write access should start at layers 1, 5 and 6.

Unknowns

  • Nobody has published an agreed agent control catalog; this one is editorial.
  • Public evidence for many controls is argument, not measurement.
  • NIST overlays remain in development.

Controls, answered briefly

Frequently Asked Questions

Which layer matters most?

Identity and action, because they limit damage even when input defences fail.

Are guardrails the same as controls?

No. Guardrails shift probability; controls are enforced outside the model and bound the damage.

How many controls are enough?

Enough that no layer is empty for your highest-risk agent, and that each high-impact tool has at least one control that fails closed.

Does NIST publish agent control overlays?

NIST's COSAiS project is developing SP 800-53 overlays. Check the project page for current status before relying on any draft.