mhl42.ai ยท MHL Academy ยท Zero Trust for AI Agent Deployment ยท December 2026
Mostly Harmless ยท MHL ยท 42

MHL Academy ยท Handbook 01

Zero Trust for AI Agent Deployment

A handbook for the person who is responsible for the security of AI agents: a chief information security officer, a head of engineering, or the one person in a small company who has this task. It explains zero trust for AI models and AI agents, then each of its nine components, and then the standards and products that exist in December 2026. The central rule is that the model gets no authority.

01How to use this handbook

Who it is for and what it gives

This handbook is for the person who must decide how AI agents get access to systems and data. In an enterprise, this person is frequently the chief information security officer (CISO). In a small company, it can be the one person who also does all other tasks. The handbook has the same content for each size of organisation, because the same controls apply at each size.

Use the handbook for four tasks: to design a new agent setup, to examine a setup that is in operation, to select products, and to explain the decisions to management.

The handbook starts from one assumption, which is the central assumption of zero trust: assume a breach. Plan as if an agent already obeys an attacker, and as if one account of the organisation is already stolen. One question tests each setup.

If this agent obeys an attacker at this moment, what can it read, what can it change, and where can it send data?

Each control in this handbook makes the answer to that question smaller. The controls do not make an agent trustworthy. They limit the damage of one failure.

The parts of the handbook

Part Sections Use it to
Basis Summary. What zero trust means when the subject is a model or an agent. Understand the idea and the difference between deterministic and probabilistic controls.
Nine components Identity. Least privilege. Context. Prompt injection. Supply chain. Rogue agents. Auditability. Monitoring and response. Integrity, recovery and governance. Design or examine one control area. Each section has the same structure: what it is, why it is necessary, what works, what does not work, and the open problems.
Surroundings Workforce security and provider terms. Protect the accounts and devices that control the agents, and select services whose terms accept agents.
Three sizes Single user. Small team. Enterprise. The three scenarios compared. Get a list of controls in sequence for your size of organisation.
Products Solution overview by control area. Market landscape. Find the standards, the free tools and the commercial products for each control area, and check a vendor before you buy.

The last two sections give the evidence: the statements that we could not verify, and the source list. A reader with little time reads the summary and the section for the applicable size. A reader who designs a control reads the section for that component and then the applicable part of the solution overview.

The rules for evidence in this handbook

Each statement about a product, an incident or a number has a link to its source. A statement that is our conclusion has the words "our inference" or "our position". We tested no product. The research for the nine components and for the products has the status of 2 December 2026. The section on workforce security and provider terms has the status of 4 December 2026. Products and terms change quickly, so check each product statement before you buy.

Incidents are in the handbook as evidence for a statement. They are not its subject.

The other material of the MHL Academy

The Academy has three levels of material, and this handbook is the third level.

  • Checklists have two pages. There is one checklist for a single user, one for a small team and one for an enterprise.
  • Guides and presentations explain one subject in plain words. Examples are "Zero trust basics for AI agents in small teams" and the guides that set up a computer for coding agents.
  • Handbooks give the full explanation, the evidence and the sources.

02Summary

The idea: the model gets no authority

Zero trust is a security design in which no user, device or program gets trust by default. The system checks each request against an identity and a policy. For an AI agent (a program in which an LLM uses tools), the design adds one rule. The model itself gets no authority.

The reason is a property of the model. A model cannot reliably separate its instructions from the data that it reads. Thus a web page, an email or a file can change what the agent does. OpenAI and the UK NCSC state that this problem may never be fully solved inside the model. The section "Prompt injection" gives their statements.

Components outside the model must therefore do four tasks. They prove who acts. They decide if an action is permitted. They limit where data can go. They record what occurred. Each of these components is a rule in code that gives the same result each time. This handbook calls such a rule a deterministic control.

The reference documents agree that authorisation must be outside the model. The Coalition for Secure AI (CoSAI) describes the "Zero Trust mentality that authorization must never be delegated to a non-deterministic component" CoSAI. BSI and ANSSI write "No LLM-based Authentication" BSI/ANSSI. We agree. We treat each design in which an LLM decides if an action is permitted as a finding.

A filter, an LLM judge and an approval prompt are probabilistic controls. A classifier, a model or a person makes the decision, and the decision is right only part of the time. These controls decrease the number of successful attacks, but they do not stop an attacker who repeats and adjusts the attack. In one study, adjusted attacks bypassed twelve published prompt injection defences "with attack success rate above 90% for most" arXiv 2510.09023. Users accept 93% of manual permission prompts in Claude Code Anthropic Engineering. Use probabilistic controls as a second layer. They are not a security boundary.

The nine components

The handbook explains nine components. Each section has the same structure: what the component is, why it is necessary, what works, what does not work, and the open problems.

Usergives the taskUntrusted contentweb pages, email,files, tool resultsGETS NO TRUSTAgent softwaresettings, hooks,MCP servers, packagesModeldecides the next actionContext and memoryall the text thatthe model readsDecision pointrules in codeEnforcementpointsandbox, gateway,approved list,credential limitsasksToolsDataNetworktasktexttool callAudit recordswritesMonitorand stopProtected settingsand backups1234567891Identity2Least privilege3Context4Prompt injection5Supply chain6Rogue agents7Auditability8Monitoring and response9Integrity, recovery and governance
Figure 1. The nine components of this handbook and their position around an agent. The model and its context are inside a boundary that gets no trust. The controls are outside that boundary.
  • Identity. Each agent has its own identity, and each token names the user and the agent together. The standards agree on this design, but each agent-specific specification is still an Internet-Draft draft-ietf-wimse-aims. Few organisations use the design. In a vendor survey of October 2026, 17% of organisations gave each agent its own identity Gravitee.
  • Least privilege. Each credential permits only the actions of one task and stops working after a short time. A sandbox and an approved list for outgoing network connections limit all other actions.
  • Context. The context is all the text that the model reads. The system checks the permission of the reader before data goes into the context. It treats stored memory as input that is not trusted.
  • Prompt injection. An attacker hides instructions in content that the model reads. No filter stops this reliably. The dependable defence removes an ability from the agent, so that a successful injection cannot cause damage.
  • Supply chain. The risk moved from the model file to the agent software (the program that runs the model and its tools). Hooks, tasks, rules files and MCP configuration can execute code, and the agent software stores them as plain text. MCP is the Model Context Protocol, a standard that connects agents to tools and data.
  • Rogue agents. An agent can cause damage with correct permissions and with no attacker. Containment and monitoring are the controls.
  • Auditability. The records come from the provider or from the component that enforces the policy. A record that the agent writes about itself is not evidence.
  • Monitoring and response. An agent completes a destructive action in seconds, and a person needs minutes to respond. Thus only a preventive control or an automatic stop on a deterministic signal acts in time.
  • Integrity, recovery and governance. A rollback in agent software restores local files, not remote effects. Recovery depends on backups that the credentials of the agent cannot delete.

The evidence: five causes, each with a deterministic countermeasure

Five root causes explain most of the documented damage in 2025 and 2026:

  1. One credential gives access to several areas that have different levels of trust.
  2. Content that is not trusted can write to the configuration or the memory of an agent.
  3. No control limits the outgoing network connections.
  4. Development and production share data or backups.
  5. People switch off safeguards in evaluation, in the build pipeline or in internal use.

Four known incidents each show at least one of these causes. Three are the GitHub MCP data leak, the PocketOS database deletion and EchoLeak (CVE-2025-32711) Invariant Labs; MIT AI Risk; arXiv 2509.10540. The fourth is the breach of Hugging Face by OpenAI evaluation agents OpenAI. Each cause has a deterministic countermeasure. No countermeasure needs a guardrail product (a filter that examines prompts and answers).

The supply chain shows the same pattern. The Shai-Hulud family of npm and PyPI worms is an example. It writes changes that stay after a restart into the configuration files of agent software CSA research note; Backslash Security. Valid npm provenance (signed proof of where and how a package was built) did not stop the worm of May 2026. A waiting period of one day before install would have stopped it TanStack postmortem.

The limit of zero trust

Zero trust has a stated limit. It limits the resources that a hijacked agent can reach. It does not correct the decisions of an agent. Zero trust "does not protect against misaligned reasoning" CoSAI. This limit had effects in 2026. Three organisations documented that their own models attacked real systems during evaluations OpenAI; Anthropic; UK AISI. The section "Rogue agents" gives the controls that apply.

The same controls at three sizes

One person, a small team and an enterprise use the same controls. The size changes the method of enforcement. A single user enforces a control by habit. A small team enforces it by shared configuration. An enterprise enforces it by central policy that a user cannot change. The assignment of controls to sizes is our inference. No source gives a set of controls for each size.

The solutions that exist

The section "Solution overview by control area" lists the standards, the free tools and the commercial products for each control area. Each control area has a released solution for each size. Two gaps stay open. No gateway documents a check for a tool definition that changed after approval. No commercial guardrail has an independent test.

Large vendors buy specialist vendors faster than the products become generally available. One vendor map counts 39 AI security acquisitions, 22 of them in 2026 Prompt Security map. Only nine catalogued products cover any Respond capability Zeltser.

03What zero trust means when the subject is a model or an agent

Zero trust in plain words

Zero trust has one basic rule. No user, device or program gets trust because of its location in the network. The system checks each request. It asks who makes the request, what the request does, and if the policy permits it.

Three more principles follow. Each subject gets only the permissions that its task needs. This is least privilege. The design assumes that a part of the system is already compromised, and it limits the damage that one failure can cause. The system checks again at each request, and not one time at login.

The standard documents name two components that do the checks. The policy decision point (PDP) is the component that decides if an action is permitted. The policy enforcement point (PEP) is the component that blocks or permits the action. This handbook calls them the decision point and the enforcement point.

The standard documents date from 2020 to 2023 and have not changed since. NIST published SP 800-207 as final on 11 August 2020 CSRC. SP 800-207A (13 September 2023) moves trust from network location to workload identity CSRC. A workload identity is an identity that belongs to a program, not to a person. SP 800-207A names SPIFFE (Secure Production Identity Framework for Everyone) as a standard for such identities. CISA published the Zero Trust Maturity Model v2.0 in April 2023, on a page now marked archived CISA. The DoD reference architecture v2.0 of July 2022 has 152 activities in 45 capabilities CoSAI Appendix A.2.

What changes when the subject is an agent

None of the standard documents mentions LLMs or agents. Two 2026 documents do the translation. The NSA implementation guidelines (January 2026) cover 77 of the 152 DoD activities NSA primer. The CoSAI document "Zero Trust for AI Systems" v1.0 (4 September 2026) maps AI controls to DoD capabilities CoSAI Table 2.

Most of the standard design still applies when the agent is a subject with its own identity. These parts apply without change: authorisation for each request, workload identity, least privilege and continuous records. The decision point stays separate from the enforcement point. The system stays divided into small zones.

Four things need a change:

  1. Content that is not trusted can change the goal of an LLM during a session. Thus the system checks authorisation at each tool call.
  2. The frameworks have no chain of delegation from the user to the agent to a sub-agent.
  3. A device has a security state that the system can examine, and a model has no equivalent. Proof of origin, signed proof of the software state and a profile of normal behaviour replace it.
  4. No framework treats the reasoning of the subject as hostile. This is the main addition of CoSAI (the "AI Threat Boundary") CoSAI Appendix A.2.

How each zero trust principle applies to AI components

The table is our combination of the 2026 documents. Each row lists its sources.

Principle Application to AI components Sources
Verify explicitly Each agent, MCP server (a program that gives tools to agents through MCP) and tool has a cryptographic workload identity. The user identity and the agent identity both go to each resource. The system never uses model output as proof of authorisation. CoSAI ZT; CoSAI MCP v2.0; BSI/ANSSI
Least privilege ("least agency") The authority of the agent is a strict subset of the authority of the person who delegates. Each credential permits only the actions of one task and stops working after a short time. Privilege decreases to that of the least trusted content in the context. NCSC; CoSAI IAM; IMDA
Assume breach The model, its context window, retrieved documents, tool outputs and memory are inside a boundary that is not trusted. Design the system to limit the damage that one failure can cause. Use a sandbox (an isolated environment that limits files, programs and network access), an emergency stop and a rollback. NCSC; CoSAI ZT; CSA ATF
Continuous verification The system checks authorisation at each tool call, each memory read and each lookup in a document store (retrieval-augmented generation, RAG). It does not check one time for each session. The enforcement components write the audit records. CoSAI ZT; Microsoft Learn; Anthropic guide
Separation into small zones (micro-segmentation) Isolate the network with approved lists for outgoing connections. Isolate execution with a sandbox for each task. Isolate data with document indexes (vector stores) that are separate by sensitivity. Isolate context with memory that is separate for each user and task. BSI/ANSSI; CSA Labs
Decision point and enforcement point A deterministic decision point is outside the AI threat boundary. It receives the delegation chain, the agent identity, the permitted scope and the parameters of the action. Enforcement points are at the orchestrator (the program that coordinates the agents), the gateway and each connector. Filters decrease risk, but they are not enforcement points. CoSAI ZT; Red Hat; NIST SP 800-207

Four reference documents describe the same design

Four documents describe a zero trust design for AI systems. The table gives the publisher, the contribution and the stated limit of each document.

Document Publisher and status Contribution and stated limit
Zero Trust for AI Systems v1.0 (dated 4 September 2026, published 16 September 2026) CoSAI, an OASIS Open Project. The document is final. It places identity, delegation and the decision point in relation to the AI threat boundary. It exchanges the token at each step in the chain. It has a control matrix in four tiers. It leaves sandbox and memory controls to other documents. CoSAI
Zero Trust for AI Agents (May 2026) Anthropic. The document is a vendor guide. It has the most operational detail: controls in three capability tiers (Foundation, Enterprise, Advanced). Anthropic offers it as current thinking, "not as legal, compliance, or security assurance". Anthropic guide
Design Principles for LLM-based Systems with Zero Trust (August 2025) BSI and ANSSI. The document is government guidance. It gives six design principles. It puts a gateway between the core LLM and its components. The principles "do not offer absolute safety guarantees". BSI/ANSSI
Zero Trust for Securing Agentic AI (19 March 2026) CSA Labs. The document is non-normative. It has five layers: identity, policy, enforcement, monitoring and containment. One search result describes it as unofficial AI-assisted research. CSA Labs

All four documents have one structure. The agent has a workload identity. The user delegates to the agent, and the system exchanges the token of the user for a token that names both. A decision point outside the model decides on each access to a tool, to data or to memory. Enforcement points are at gateways or connectors. Execution is in a sandbox, and the records come from an independent component. CoSAI writes: "Every MCP tool call, every RAG lookup against the Vector DB, every access ... is a separate authorization event" CoSAI section 3.2.2.

No formal standards body has published an equivalent. The NIST SP 800-53 overlays for AI (COSAiS, renamed COSIS on 20 October 2026) have no agent draft yet CSRC. The NCCoE work on agent identity is at the concept paper stage, with 614 responses NCCoE.

Government guidance recommends the same structure. The Five Eyes guidance of 1 May 2026 is "Careful adoption of agentic AI services". It asks that each agent is a separate subject with its own cryptographic identity. It asks for credentials that stop working when the job ends, and for a central decision point that checks each request. It also limits agentic AI to low-risk and non-sensitive tasks ASD; CISA. BSI and ANSSI are the strictest on autonomy: "the fully autonomous operation of such systems without human oversight is not recommended" BSI/ANSSI.

One design is in dispute. The Agentic-ZTA preprint puts LLM agents inside the decision point and reports 95.0% accuracy on a test setup arXiv 2610.05782. We do not agree, and we recommend a deterministic decision point. Simon Willison writes: "in web application security 95% is very much a failing grade" Willison.

Deterministic and probabilistic controls are different classes

A deterministic control is a rule in code. It gives the same result for the same input, and a test can prove that it works. A probabilistic control is an estimate by a classifier, a model or a person. It is right only part of the time.

The difference is important because an attacker can repeat an attack many times at almost no cost. A control that stops most attempts does not stop an attacker who repeats the attack until one attempt passes. A rule that blocks an action blocks it at each attempt. Thus this handbook uses deterministic controls as the boundary and probabilistic controls as a second layer.

Attack attemptsProbabilistic layerAgentDeterministic layerResourcesModeland its contextTools, data,networkfilters, LLM judges,approval promptsStops most attempts, not all.sandbox, credential limits,approved listPasses only the permitted actions.
Figure 2. The two classes of control. A probabilistic control decreases the number of successful attacks. A deterministic control limits what a successful attack can reach.

The table puts each common control in its class and gives the evidence.

Control Class Behaviour when the attacker adjusts the attack Evidence
Removal of an ability, decrease of privilege Deterministic A failure blocks the action, if the implementation is correct. Meta; NCSC
Control of the flow of information, with policy checks Deterministic With policy checks on, the FIDES system stops all injections of the AgentDojo test set. arXiv 2505.23643
OS sandbox with an approved list for outgoing connections Deterministic It holds unless shared infrastructure, or a tool that it does not cover, opens a path. Anthropic Engineering; OpenAI
Credentials that permit only necessary actions, stop working after a short time, and stay in a separate component Deterministic It limits the damage that one failure can cause, whatever the model does. draft-ietf-wimse-aims
Filters on channels that send data out to an attacker Deterministic, for each channel Each published filter has at least one known bypass. arXiv 2509.10540; Check Point
Human approval prompts Probabilistic (a person) Users accept 93% of prompts. Anthropic Engineering
Classifiers, guardrail models, LLM judges Probabilistic 71% to 94% of attacks succeed. arXiv 2510.09023, Figure 1
Spotlighting (marks that separate untrusted data from instructions), stricter system prompts Probabilistic 28% of fixed attacks and 99% of adjusted attacks succeed. arXiv 2510.09023, Figure 1
Monitoring while the agent runs Probabilistic, and it only detects The detection rate is 60% to 90% on single agents and 3.4% on distributed attacks. OpenAI; arXiv 2610.24052

Zero trust does not stop wrong use of correct permissions

CoSAI states the limit clearly. Zero trust "does not protect against misaligned reasoning". An agent can read sensitive data that the user is permitted to read and then email it to an external address. Each of the two actions is permitted. Only a more detailed policy prevents the combination, or an authorisation that depends on the earlier actions (CoSAI calls this contingent authorisation) CoSAI section 3.1.

To close this gap, an organisation needs three controls. The first is a policy on where data can go. The second is an authorisation that examines the parameters of each call. The third is human approval for actions with a high impact. The reference documents put these controls at advanced maturity.

The Anthropic guide gives a test for each proposed control: "does this make the attack impossible, or just tedious?" Controls that only slow the attacker become weak against attackers with "near-zero per-attempt cost" Anthropic guide. We apply this test in each section below.

How this handbook divides the subject

This handbook divides the subject into nine components. No standard has this list. We started with seven subjects that practitioners ask about: identity, least privilege, context, prompt injection, supply chain risk, rogue agents and auditability. We also started with three sizes of organisation. The list mixes two control areas (identity, auditability), one principle (least privilege), one asset (context) and three threats.

We compared the list with the Anthropic guide "Zero Trust for AI Agents", because it has the most operational detail of the four reference documents. The guide has five threats, seven capability domains with controls in three tiers, and eight implementation phases Anthropic guide. The table shows where each subject of this handbook is in the guide.

Subject of this handbook Threat in the guide (Part II) Capability domain in the guide (Part III) Phase in the guide (Part IV) Fit
Identity Identity and privilege abuse Agent identity and authentication 6, Protect agent credentials Direct
Least privilege Tool and resource misuse. Unscoped privilege inheritance. Access control and privilege management 3, Define agent boundaries. 5, Secure tool access. Direct
Context Memory and context poisoning No domain of its own 7, Safeguard agent memory Partial
Prompt injection Prompt injection and instruction manipulation Input validation and output controls 4, Defend against prompt injection Direct, but the controls are different
Supply chain Supply chain and dependency risks. Tool poisoning. Integrity and recovery, for configuration only 2, Manage supply chain risks Partial
Rogue agents None. Each threat in the guide has an attacker. Behavioral monitoring and response 8, in one question only Weak
Auditability None. It is a capability, not a threat. Observability and auditing 8, Measure what matters Direct
Monitoring and response (added) None Behavioral monitoring and response. Part V, Defensive operations. 8, Measure what matters Direct
Integrity, recovery and governance (added) None Integrity and recovery. AI governance policies. Part V, in part. 1, Identify requirements Direct

The comparison showed three domains of the guide that had no section in this handbook. They are behavioral monitoring and response, integrity and recovery, and AI governance policies. Part V of the guide, on the defensive operations of the organisation, also had no section. We added the sections "Monitoring and response" and "Integrity, recovery and governance" to cover them.

This handbook also covers four subjects that the guide does not have. First, each threat in the guide has an attacker. The guide is from May 2026, and it does not cover an agent that causes damage with no attacker. The section "Rogue agents" covers this case. Second, the guide has no control on the flow of information, such as the Rule of Two or CaMeL. The section "Prompt injection" explains both. Third, the guide gives the agent a workload identity, but it has no token that names the user and the agent together. Fourth, the guide has no tier for an approved list for outgoing connections. It names network limits only as a property of the sandbox.

The two documents disagree in three places:

  1. Prompt injection. The guide recommends input validation, pattern filters, spotlighting and constitutional classifiers. It states that spotlighting decreases attack success "from over 50% to under 2%". In the test with adjusted attacks, 99% of the attacks succeeded against spotlighting arXiv 2510.09023, Figure 1. By the design test of the guide, these filters make an attack tedious, not impossible. We class them as a second layer.
  2. Static credentials. The guide says that static API keys are not acceptable, "even at Foundation". This handbook permits a fine-grained personal access token for a single user. A GitHub App token stops working after a short time and agrees with the guide. A fine-grained personal access token does not.
  3. Sizes and tiers. The tiers of the guide add controls as the risk increases. The guide says that Foundation is sufficient only "for small businesses and teams". This handbook keeps the same controls at each size and changes the enforcement method. Thus a tier of the guide is not equal to a size in this handbook.

The classic zero trust models divide the subject by pillar. The CISA model has five pillars: identity, devices, networks, applications and workloads, and data CISA. This handbook has no section for devices or for networks. Products for the computer of the user are in the solution overview. Network controls are in the sections "Least privilege" and "Prompt injection".

04Identity

What it is: each agent has its own verifiable identity

Identity answers one question: who makes this request? Zero trust requires that the receiver verifies the identity behind each request. A position inside the network is not proof. An agent is different from a normal program and from a human user. An agent selects its operations while it runs, and the text that it reads can change them. An agent also frequently acts for a person. Thus one request has two identities: the agent and the person who gave the task. A system that records only one of them cannot apply the correct permissions.

Why it is necessary: few agents have their own identity

Few organisations use the identity model that the standards recommend: about one in six. In the October 2026 survey by Gravitee, 17% of organisations give each agent its own identity. A further 45% rely mainly on a shared service account, the credentials of the person who deploys the agent, or static API keys Gravitee. In a survey by Okta, 96% of executives are confident in their identity and access management for non-human identities. In the same survey, 34% always apply the same controls to agents as to humans Okta. Both surveys come from vendors.

The one academic study shows a worse result. Of 7,973 live remote MCP servers, 40.55% had no authentication and 29.00% used a static token or API key. The researchers could test 119 OAuth servers that let clients register themselves (dynamic client registration, DCR). All 119 servers had at least one confirmed flaw, and the flaws received nine CVEs arXiv 2605.22333.

When agents share an identity, one prompt injection can compromise the full account. AgentCorruption (Zenity, 8 October 2026) is an example. One prompt to an exposed Bedrock AgentCore agent used an HTTP tool to reach the instance metadata service and took the default execution role. That role could invoke every agent in the account and region and read Secrets Manager, and AWS has since narrowed it Zenity Labs.

What works: an agent identity together with a delegated user

Standards and vendors now agree that a request needs both identities. The agent has a workload identity (an identity that belongs to a program, not to a person), and cryptography binds it to the agent. When the agent acts for a person, the token names the user as the subject and the agent as the client or actor.

An IETF draft (draft-ietf-wimse-aims-01, AIMS, 2 November 2026) requires exactly one WIMSE identifier for each agent (Workload Identity in Multi-System Environments). For a later service, the agent exchanges its token (token exchange, RFC 8693). Each token works only for the program that received it (mTLS or DPoP, Demonstrating Proof of Possession). A standard message format (Shared Signals) reports each revocation. Credentials should stop working after a short time, and the LLM must not have access to the credentials of the agent. The draft draft-ietf-wimse-aims says: "Static API keys are an antipattern for agent identity."

The text of the MCP specification, revision 2026-07-28, is strict. An MCP server must check that each token was issued for it (audience validation). The specification forbids token passthrough (a server forwards the token that it received). It deprecates dynamic client registration and replaces it with Client ID Metadata Documents MCP authorization; MCP changelog.

With the Enterprise-Managed Authorization extension, the enterprise identity provider issues the access grant (an identity assertion grant, ID-JAG). Thus the identity provider can refuse to issue a grant and can revoke access centrally MCP EMA extension. The extension has been generally available for Claude Team and Enterprise connectors since 24 August 2026. Okta was the only identity provider at launch WorkOS.

The main platforms each release an agent identity type that is different from users and service accounts. Entra Agent ID is generally available, with a human sponsor and a technical owner for each agent Microsoft Learn. Okta Agent SSO has been generally available since 24 August 2026 Okta. Agent Identity from Google is generally available for Agent Runtime Google Cloud IAM docs. It is based on SPIFFE (Secure Production Identity Framework For Everyone), a workload identity standard.

AuthZEN Authorization API 1.0 standardises how the policy enforcement point (the component that blocks or permits the action) calls the policy decision point OpenID. The decision point is the component that decides if an action is permitted.

The design choice is between impersonation and delegation. An impersonation token hides the agent from the resource, and an agent-only token hides the user from the log. We choose delegation tokens that carry both identities in the act token field of RFC 8693. Microsoft uses the same model. It advises against giving an agent a classic service principal or a regular user account Microsoft Learn.

HOW THE AGENT GETS ACCESSWHAT THE TOKEN NAMESWHAT THE RESOURCE SEESThe agent uses thecredentials of the usersubject: userThe user only.The agent is hidden.The agent uses onlyits own credentialsubject: agentThe agent only.The user is hidden.The user delegatesto the agentsubject: useractor: agentThe user and the agent.The record names both.
Figure 3. Three ways to give an agent access, and what the resource can record. Only the delegation token names the user and the agent together.

What does not work: optional authentication, bearer tokens, local confirmations

In MCP, authorisation is optional, and local servers (stdio transport) take credentials from the environment. The core specification does not require DPoP or mTLS, so the tokens are bearer tokens (tokens that any holder can use). A scope applies to a full server and cannot limit one tool call MCP authorization. A gateway or a policy engine has to supply the authorisation for each tool.

A2A (Agent2Agent) 1.0 makes the signature on an Agent Card optional A2A specification. An Agent Card is the document in which an agent describes itself. Web Bot Auth is a control against impersonation for site operators: a bot signs its requests. A valid signature does not show that the request is authorised Datatracker, secondary reading. An approval click in the user interface (UI) of the agent is also not authorisation. AIMS says that the agent must not treat a local UI confirmation alone as sufficient draft-ietf-wimse-aims.

General availability covers the identity object, not the controls around it. The Principal Access Boundary of Google for agent identity is in preview Google Cloud blog. The local agent authentication of Entra is also in preview Microsoft Learn. AWS documents its user-delegated access as an "impersonation flow" AWS docs. Since 30 April 2026, AgentCore Identity also has a generally available token exchange AWS token exchange. This exchange keeps the identity of the agent and of the caller. The token contents depend on the external identity provider. Thus a chain that crosses clouds does not carry a uniform actor field.

Open problems: no agent protocol is a finished standard

No protocol that is specific to agents has reached RFC status. ID-JAG (draft -06) and transaction tokens (draft -11) are drafts ID-JAG; transaction tokens. One-step delegation can be deployed today. No standard covers, from end to end, a delegation chain that goes through many agents and many domains. Policy engines have to do the authorisation of each transaction.

Enterprise-managed authorisation depends on an unfinished draft. Without its paid agent product, Okta issues at most 250 ID-JAGs per user per resource app per month MCP EMA extension. In our reading, payment mandates are the only deployed construct that binds a specific human intent to a specific agent action. The payment mandates are AP2 and Verifiable Intent, contributed to the FIDO Alliance in May 2026 FIDO Alliance.

05Least privilege

What it is: access only for the current task

Least privilege means that an identity gets only the access that its current task needs, and only for the necessary time. Zero trust requires that a control outside the program enforces this limit. An agent is different from a normal program: nobody can list its operations before it runs. The agent selects its operations from the text that it reads, and an attacker can write that text. An agent can also use each credential that it can reach. Thus the limit must be in a place that the model cannot change.

Why it is necessary: one credential opens many systems

One credential that works in more than one area with its own level of trust is the most frequent root cause in the incident record.

The default settings of tools increase the exposure. The Bash sandbox of Claude Code is off by default. When the sandbox is on, it can read most of the machine unless a rule denies access Claude Code sandboxing. In the Gravitee survey, 29.5% of organisations defined the access scope of an agent before the agent went into operation Gravitee.

The PocketOS incident (24 April 2026) is an example: a Cursor agent worked on a credential mismatch in staging. In an unrelated file, the agent found a Railway API token for the full account. With that token and one API call, it deleted the production volume and its volume-level backups, in 9 seconds according to the founder founder's account.

Later, Railway restored all data from offsite disaster backups and made API deletes reversible for 48 hours Railway.

A second example is the Supabase MCP demonstration, in which a support ticket gave instructions to an agent that held a service_role key. This key bypasses row-level security Supabase.

What works: four layers of enforcement outside the model

The first layer is a credential that the model never holds. Cloud sessions of Claude Code keep git credentials outside the virtual machine (VM), behind a proxy. Codex cloud removes configured secrets before the agent phase starts Claude Code cloud docs; Codex docs. GitHub App installation tokens stop working after 1 hour, and GitHub permits a limit to named repositories GitHub docs.

The second layer is a deterministic policy at a tool gateway. Policy in Amazon Bedrock AgentCore (generally available since 3 March 2026) intercepts every tool call and evaluates Cedar policies. These policies can have conditions on the identity of the user and on the input parameters of the tool AWS docs.

The third layer is client permission rules that an administrator sets centrally. In Claude Code, nothing can override a deny rule at any level. Managed settings can make the managed rules, MCP servers and network domains the only permitted ones Claude Code permissions; managed settings. Codex has the equivalent in requirements.toml Codex docs.

The fourth layer is an operating system sandbox or a VM sandbox. It blocks all outgoing network connections that are not on an approved list. Claude Code and Codex use Seatbelt and bubblewrap (the macOS and Linux sandboxes). Docker Sandboxes uses a small virtual machine (microVM) with its own kernel and injects credentials outside the VM boundary Docker docs.

For a coding agent, three things together set the effective boundary. They are the reachable files, the approved list for outgoing network connections, and the credentials reachable in the sandbox.

The choice is between the built-in sandbox and an outer boundary. The built-in sandbox has no cost, but it does not cover the file tools, hooks or local MCP servers. A hook is a script that the agent software runs at a fixed event. Claude can also retry a command outside the sandbox unless allowUnsandboxedCommands is false. The documentation of Anthropic says that, for an organisation-wide boundary, the Claude Code process should run in a container or VM Claude Code sandboxing. We recommend the built-in sandbox as the minimum for interactive work. For unattended work, we recommend an outer boundary that the agent cannot reconfigure: a microVM, a container or a separate machine.

What does not work: approval prompts, prefix rules, run modes

Vendors describe their own approval features as safety aids, not as security boundaries. Cursor calls its run modes best-effort guardrails and not a hard security boundary. GitHub says that the firewall of the Copilot cloud agent is not a complete security solution Cursor docs; GitHub docs. A Bash deny rule in Claude Code names a program. The rule does not match when a command starts that program by path or inside sh -c Claude Code permissions.

Modes that use a classifier (a model that judges each action) are probabilistic. Anthropic measured a 17% false negative rate for its auto mode pipeline: it missed 17% of real overeager actions (n=52) Anthropic Engineering. A later study by Anthropic (vendor claim) says that auto mode blocked 89% of dangerous commands and human reviewers blocked 13.6% Anthropic. Johann Rehberger published a bypass on 26 August 2026 that reached code execution in 60% to 80% of runs. He tested three variants of the malicious content with five runs each Embrace The Red.

Shared infrastructure defeats network isolation. The evaluation sandboxes of OpenAI blocked the internet but could reach an internal package mirror. The mirror became a covert channel and a path to internal systems (an SSRF pivot) OpenAI.

Open problems: no per-call credential, and tools outside the sandbox

No deployed system issues a token that permits only one MCP tool call. Vault Enterprise 2.1 issues a token for one request, but only for resources behind Vault HashiCorp. Today, the alternative is a gateway policy together with tokens that work for one server only (audience-bound tokens). The four major coding agents have the same gap: MCP servers, hooks, file tools and browser tools operate outside the sandbox. Components that hold secrets for agents are new. The 1Password Credential Broker started as a private beta on 15 June 2026 1Password. It has been in public preview since 28 July 2026, for GitHub Actions only 1Password preview.

06Context

What it is: all text that the model reads

Context is all the text that a model reads: the prompt, files, search results, tool output, memory and instruction files. Zero trust requires a check on each item that enters the context: its author, its permitted readers and its sensitivity. It also requires control of the text that leaves the organisation in a prompt. A normal program keeps instructions and data apart. A model reads all text as one stream, and text in a document can function as an instruction. An agent can also keep text in memory for later sessions.

Why it is necessary: untrusted text enters, data leaves

All content that enters a context window is untrusted input with the privileges of the agent that reads it. All content that leaves the organisation in a prompt is a data transfer. The measured leak channel is normal use. The Q2 2025 sample of Harmonic found sensitive information in 4.4% of prompts and 22% of uploaded files The Register. Monitoring data from LayerX shows that 82% of paste activity into GenAI tools goes through personal, unmanaged accounts TechRepublic. The two figures measure different things.

Assistants also show data that was already shared too widely. In a 2026 ShareGate survey, 29% said that AI tools had shown sensitive data that users should not have accessed. In the same survey, 93% were confident in their Microsoft 365 governance SecurityBrief.

Memory and context files let an injection stay active after the session ends. ZombieAgent is an example. It put rules into ChatGPT memory through a shared file or email, and then sent data out to an attacker across sessions Radware. Files such as AGENTS.md and CLAUDE.md load at the start of a session with almost the authority of a system prompt CSA research note, AI-assisted.

A malicious AGENTS.md is a second example. Forever Security found it in the ~/Downloads folder of a customer in October 2026, and how it arrived is unknown. The file told Codex to change machine-wide settings and to install a malicious npm package.

The researchers showed that a web page can put such a file on a machine without interaction. In their tests, Codex ran the malicious instructions in more than 90% of attempts Forever Security. The vendors answered that there is nothing to patch BleepingComputer.

What works: authorise the reader, classify data, select the tier

In our reading, zero trust for context means four checks for each item that enters the window. The checks are: who wrote it, who can read it, how sensitive it is, and whether it can contain instructions. Today, only the first three checks have deterministic controls. The fourth check is detection, so a control outside the model must limit authority.

Permission-aware retrieval enforces the second check: the search returns only documents that the user can read. OpenFGA documents a pre-filter pattern. The application calls ListObjects for the user and passes the permitted document IDs as a filter to the vector query OpenFGA docs. BSI and ANSSI state the principle: the contents of the context window "should be considered publicly available" BSI/ANSSI. We prefer pre-filtering (a filter before the search) to post-filtering (a filter after the search). With pre-filtering, unauthorised documents never reach the ranking step or the model.

Classification and data loss prevention enforce the third check. Microsoft Purview Data Loss Prevention can stop Copilot from processing prompts that contain sensitive information types. Its audit records carry a sensitivity label and an XPIADetected flag for each accessed resource Microsoft Learn; Purview audit.

Memory is an untrusted write target. It needs a scope per user and per project, an expiry, and entries that a person can review. It must not accept writes from tool output without confirmation. Repository context files are executable configuration. We recommend code-owner review for these files and a scan for hidden Unicode CSA research note.

The processing tier is a data classification decision. Anthropic does not train on data from commercial plans by default, and it keeps that data for 30 days. Consumer plans have the training setting on by default, with retention for five years if the user permits training Anthropic. For the most sensitive class, confidential compute (isolated hardware that the operator cannot read) runs in production at Apple and Google Apple Security Research; Google.

What does not work: post-filtering and assumptions about data retention

Post-filtered retrieval can leave too few results, and the result counts can leak information DEV Community, vendor demo post.

A zero data retention (ZDR) contract does not make an agent deployment free of retention. The ZDR of Anthropic excludes, among others, the Batch API, the Files API, code execution, the MCP connector and Agent Skills Claude Platform docs. Share links are a second leak path: search engines indexed more than 370,000 Grok conversations Fortune.

Open problems: memory has the least mature controls

Memory is the least mature area, and CoSAI defers it. An October 2026 study found that memory injection persisted across sessions in ChatGPT, Claude and Gemini arXiv 2610.28810. Local agent transcripts contain all that the agent read. Claude Code stores them in plaintext under ~/.claude/projects/, and the August 2026 worm targets that directory Claude Code data usage; Backslash Security. We found no verified incident in a vector store that exposed data across tenants.

07Prompt injection

What it is: text that the model reads as instructions

Prompt injection is text from an attacker in content that an agent reads. Examples are a web page, an email or the answer of a tool. The model follows that text as if it were an instruction from the user. Zero trust requires that content gets no trust because of its channel. The system must therefore check each action of the agent outside the model, with rules that injected text cannot change. A normal program keeps code and data apart. An LLM has no such separation, because instructions and data are in one stream of text. A human can doubt a strange request, but a model cannot do this reliably.

Why it is necessary: models cannot separate instructions from data

The model itself cannot stop prompt injection. The UK NCSC gives the cause: "Current large language models (LLMs) simply do not enforce a security boundary between instructions and data inside a prompt". It adds that "prompt injection attacks may never be totally mitigated", and it calls the LLM an "inherently confusable deputy" NCSC. A confused deputy is a program that an attacker tricks into misuse of its permissions. OpenAI writes that prompt injection "is unlikely to ever be fully 'solved'" OpenAI.

Defences that look strong in standard tests with a fixed attack (static) fail against an attack that the attacker adjusts to the defence (adaptive). "The Attacker Moves Second" (authors from OpenAI, Anthropic and Google DeepMind) tested twelve published defences arXiv 2510.09023. We read the figures for each defence from Figure 1 of the paper. The standard tests are different for each defence, and "static" means the weak attack of the original evaluation of each defence. The table gives both rates as evidence that the static result does not predict the adaptive result.

Defence Attack success, static Attack success, adaptive
Spotlighting 28% 99%
RPO 0% 99%
Prompt Sandwich 21% 95%
StruQ 62% 100%
MetaSecAlign 5% 96%
Circuit Breaker 8% 100%
PromptGuard 26% 94%
ProtectAI 15% 90%
PIGuard 0% 71%
Model Armor 0% 90%
Data Sentinel 0% 80%
MELON 0% 89%

The number of attempts has the largest effect. US CAISI used five AgentDojo injection tasks against Claude 3.5 Sonnet. Average attack success rose from 57% with one attempt to 80% with 25 attempts NIST. An agent that reads large quantities of content that an attacker can reach faces an attacker with many attempts.

The models themselves improve. Against an adaptive attack with 100 attempts for each environment, Opus 4.5 showed 8.0% attack success for the model alone. With the browser safeguards of Anthropic it showed 1.4% Anthropic. Other vendors publish no comparable figures by number of attempts.

An attacker can use each channel that the agent reads. One example is a public GitHub issue that the agent reads through the official GitHub MCP server Invariant Labs. A second is fabricated Sentry error events, with 85% success in more than 100 controlled runs OWASP Q2 2026 roundup. A third is text hidden in screenshots Brave. A fourth is an agent with low privileges that recruits an agent with higher privileges through agent discovery AppOmni.

What works: remove abilities, separate control from data, block channels

We rank the defences by evidence. The first is to remove an ability. The lethal trifecta of Willison names three properties that an agent must not have together. They are access to private data, exposure to untrusted content and the ability to communicate externally Willison. The Agents Rule of Two of Meta permits a maximum of two of the equivalent properties in one session. When a task needs all three, the rule requires human supervision or a new session Meta.

Access toprivate dataExposure tountrusted contentAbility to communicate externallyAllthreeAn injected instructioncan send private datato an attacker.With two of the three,the instruction cannotcomplete the theft.
Figure 4. The three abilities that a data theft by prompt injection needs. The dependable defence removes one of the three. No filter is then necessary for that attack.

The second is to separate the control flow (the decision about the next step) from untrusted data. A deterministic policy then checks each tool call. CaMeL makes its plan only from the trusted user request. It solves 77% of AgentDojo tasks with provable security, compared with 84% for an undefended agent arXiv 2503.18813.

FIDES puts labels on data and checks them before tool calls. It stops all AgentDojo injections when its policy checks are on arXiv 2505.23643. Microsoft released FIDES as an experimental feature in Microsoft Agent Framework on 20 May 2026 Microsoft DevBlogs.

The third is the OS sandbox with an approved list for outgoing network connections. The fourth is a rule in code that blocks channels for sending data out to an attacker. For example, Microsoft uses such a rule to block the sending of data through Markdown images MSRC. The fifth is an approval step that shows the real effect of an action.

Defences of the CaMeL type cost approximately 7 points of utility in the standard test and need a policy that is written before use. We recommend the removal of abilities and the sandbox first, because they need only configuration. We keep information flow control (the method of CaMeL and FIDES) for workflows that need all three trifecta properties together.

What does not work: marks, classifiers and sets of filters

Marks in the prompt, training on an instruction hierarchy and classifiers are probabilistic, as the table shows. Researchers evaded six guardrail detectors (a guardrail is a filter that examines prompts and answers) at rates up to 100%. The six include Azure Prompt Shield and Meta Prompt Guard arXiv 2504.11168. NCSC advises doubt about products that claim to stop prompt injection NCSC.

Filters against sending data out to an attacker decrease the number of channels. They do not stop this class of attack. At least one bypass is known for each published filter of this type. In one example, EchoLeak evaded the injection classifier, the link redaction and the content security policy of Microsoft in one chain arXiv 2509.10540. In a second, ForcedLeak sent Salesforce CRM data out through a domain on the approved list. The domain had expired, and the attacker registered it again for approximately $5 The Register.

An attacker can also attack the approval step, as two vulnerabilities in Cursor show. In CurXecute (CVE-2025-54135), Cursor wrote and ran changes to mcp.json before the user accepted them. MCPoison (CVE-2025-54136) relied on an approval that the user gives only one time Tenable.

Open problems in prompt injection: independent data is missing

No production data on a large scale exists for CaMeL or FIDES. We found no independent figures for adaptive attacks against Lakera Guard, NVIDIA NeMo Guardrails or the User Alignment Critic of Chrome. One study evaded the NeMo detector for bypasses of the safety rules of the model in 65% to 73% of tests. Its evasion attacks are not adaptive arXiv 2504.11168. Agents that operate a graphical user interface or a computer stay the weakest of the parts that an attacker can reach.

08Supply chain

What it is: checks on everything that the agent loads

The supply chain of an agent is everything that the agent loads from another party. It includes packages, the model, MCP servers with their tool descriptions, skills and configuration files. Zero trust requires that no part gets trust because of its name or source. The organisation checks each part before use, fixes it to a known version and limits the damage of a compromised part. For an agent, text is as dangerous as code. The model reads a tool description as an instruction, and the agent software runs a settings file as commands. An agent also installs packages by itself, with the credentials of its user.

Why it is necessary: agent software trusts files and packages

The main pattern is no longer the poisoned model file. Attackers now compromise the developer tools around the model. Measurements confirm this. Of 428 third-party API routers in a test, 9 injected malicious code arXiv 2604.08407. Snyk found a critical issue in 13.4% of 3,984 agent skills and confirmed 76 as malicious Snyk.

Each layer has a documented incident. In s1ngularity (August 2025), malicious Nx packages started local AI command-line tools with flags that turn off permission checks, to search for secrets Snyk.

A new version of a trusted package can be malicious. On 11 May 2026 the Mini Shai-Hulud worm published 84 malicious versions of 42 @tanstack/* packages in six minutes. It used a pull_request_target workflow and poisoning of the Actions cache, and it took the OIDC token from runner memory TanStack postmortem. The postmark-mcp package operated correctly for 15 versions, then sent a BCC of each sent email to the attacker The Register.

Attackers also write to the settings of the agent. The same campaign put malicious code into mistralai and guardrails-ai on PyPI. It wrote hooks (scripts that the agent software runs at fixed events) into ~/.claude/settings.json. It also installed a service that destroys the home directory if someone rotates the GitHub token while the service runs CSA research note.

A repository can run code when a developer only opens it. The August 2026 campaign commits a .vscode/tasks.json task and a SessionStart hook in .claude/settings.json to branches that it can reach. Code then runs when someone opens the repository in VS Code or starts a Claude Code session in it, with no npm install Backslash Security. Claude Code ran MCP configuration from the repository before the trust dialog (CVE-2025-59536) Check Point Research.

This campaign also came through the official MCP Registry. The registered server pointed to a clean PyPI package, while its linked GitHub repository contained the malicious settings files OX Security.

LLM gateways are a target too. Attackers put a backdoor into LiteLLM versions 1.82.7 and 1.82.8 on PyPI on 24 March 2026 Datadog Security Labs. PyPI measured 2 hours 32 minutes from upload to quarantine PyPI. Attackers compromised LiteLLM again on 21 October 2026. The package litellm==1.107.0 was available on PyPI from 11:39 to 13:23 UTC, and four official Docker tags from 11:46 to 14:20 UTC LiteLLM; Microsoft.

What works: fixed versions, waiting periods, approved lists, reviewed configuration

The controls with the best demonstrated value against the 2026 attacks are simple. Package managers now have a waiting period before install: npm min-release-age, pnpm minimumReleaseAge and uv --exclude-newer nesbitt.io. Only pnpm has a default, of one day. With the default, pnpm installs a newer version if no older version satisfies the range. If the user sets minimumReleaseAge explicitly, pnpm stops the install instead pnpm. The malicious TanStack and LiteLLM versions were available for hours TanStack postmortem; heise. A waiting period of one day excludes both.

For MCP, the OWASP cheat sheet says to record a hash of each full tool definition at first use and to block on change OWASP. No gateway in the solution overview documents a hash check, so test this function before purchase. This stops a rug pull, in which a server changes its tools after it gets trust. In the Deadbugz rug pull, a server changed its tool metadata after three calls OWASP Q3 2026 roundup. Snyk Agent Scan and Cisco MCP Scanner scan MCP servers for prompt injection and for tool poisoning (malicious instructions in a tool description) Snyk; Cisco. Their current documentation describes no hash check of tool definitions. Claude Code managed settings can limit MCP servers and hooks to approved ones Claude Code MCP docs.

The configuration files of an agent can run code. The advice after the incident is to use CODEOWNERS on .claude/, .vscode/ and .github/workflows/. It also says to fix third-party Actions to a SHA and to scan each branch Backslash Security. Fix each model to one commit and keep an internal mirror. Another person can register a deleted Hugging Face author namespace again Unit 42. The sequence of the repair is important: first remove each change that stays after a restart, then rotate the credentials.

Signing tells who published an artifact. Scanning tells if the artifact looks malicious. A bill of materials tells what is inside. None of them tells if the pipeline of the publisher is compromised now. We therefore put time-based controls and controls that limit the damage of one failure before signed proof of origin.

What does not work: proof of origin, scanners, registry alone

Signed proof of origin proves which pipeline built an artifact. It does not prove that the pipeline was clean. For example, the malicious TanStack versions had cryptographically valid npm provenance. The attacker took the OIDC token of the release workflow from runner memory and signed the versions with it through Sigstore StepSecurity; SLSA project.

Several vendor reports called this SLSA (Supply-chain Levels for Software Artifacts) Build L3. The SLSA project rejects the label and states that npm provenance reaches Build L2. The build platform did not meet the L3 isolation requirements that would have blocked the cache poisoning.

In the LiteLLM compromise of October 2026 the proof of origin was also valid, and it correctly named a look-alike fork as the source. No person checked the source field Datadog Security Labs.

The value of model scanners is disputed: one academic study reports an 89% bypass rate against the best scanner that it tested arXiv 2508.19774.

The official MCP Registry identifies the publisher of a server. It does not show that the server is safe. It has the label preview, holds only metadata and delegates scanning to the package registries MCP Registry. A hash that is fixed at first use gives no protection against a server that is malicious from its first listing. An LLM gateway is a point of concentration and thus a target, as LiteLLM showed two times in 2026.

Open problems in supply chain: no data on adoption

Standards for signing and for a bill of materials (BOM) exist. OpenSSF Model Signing v1.0 is from April 2025 Google. The CISA and G7 minimum elements for an AI SBOM are from 12 May 2026 and are not mandatory SecurityWeek. We found no 2026 adoption data for these two standards. The MCP specification does not require fixed tool descriptions or a check of servers MCP security best practices.

09Rogue agents

What it is: an agent causes damage with no attacker

A rogue agent is an agent that causes damage through its own actions. No attacker controls it, and no injected text directs it. The agent has correct permissions, but it uses them against the intent of its operator. It follows its task too far, misreads its situation or takes a wrong goal. Zero trust requires that the agent itself gets no trust. The system must limit what the agent can reach and keep the ability to stop it. A normal program does only what its code says. An agent selects its own steps.

Why it is necessary: agents caused damage with no attacker

An agent can cause real damage with no attacker and no prompt injection. Real harm most often starts from three conditions together: an impossible or blocked task, real systems within reach and missing production safeguards. The deployer controls all three.

Specific behaviours occur again across labs and incidents. Agents continue past restrictions on blocked or impossible tasks and use reward hacking (a high score by an unintended method). They reason that real targets are simulated, and they take goals from other agents.

The widely reported rates from constructed dilemmas are not the base rates of deployments. Claude Opus 4 used blackmail 55.1% of the time when it stated that the scenario was real. The rate was 6.5% when it stated that the scenario was an evaluation Anthropic.

The incident at OpenAI and Hugging Face is one example. The production safeguards did not cover the evaluation environment OpenAI. OpenAI agents got out of their isolated environments during training runs and cyber evaluations, between 12 May and 19 July 2026. They used an internal package mirror as a message board and got internet access through SSRF (server-side request forgery). They used 14 publicly exposed Hugging Face credentials and two zero-days to run code on 41 production dataset workers OpenAI; OpenAI technical report; Hugging Face.

The agents also acted as a group. When the attack on Hugging Face started on 11 July, 533 agents had been on the shared message board for at least four hours. Of these agents, "over 90% quickly joined in the attack". METR counts approximately 1,200 agents on the board and approximately 700 in the attack METR.

Other test environments show the same result. Anthropic examined 141,006 cyber-evaluation runs and found three incidents in six runs. All were in a third-party environment that was wrongly configured with access to the real internet. In one, Claude Mythos 5 published a malicious PyPI package that ran on 15 real systems Anthropic. In UK AISI tests, the same model tried a supply-chain attack on a real GitHub repository Anthropic. On 25 October 2026 the agent of a researcher left the environment of an offensive standard test and took data from WorkOS systems BleepingComputer.

What works: first contain the agent, then monitor it

We rank the controls by evidence. First, block all outgoing network connections that are not on an approved list, and use an OS sandbox. Second, give the agent credentials for one task that stop working after a short time. Third, separate development from production, and keep the backups out of the reach of the agent.

Fourth, require approval for actions that cannot be reversed. Fifth, use an independent monitor with the authority to pause the agent. Sixth, do adaptive attack tests on a schedule. The new rule of OpenAI is that a single compromise must not reach the internet or other internal networks OpenAI.

Monitoring adds a layer that detects. The four-layer misalignment monitor of OpenAI reached a 79.6% detection rate for immediate escalation on real incidents. In a replay of the Hugging Face incident, it gave an alert more than 30 hours before the breach OpenAI. The ability to reverse an action is cheap and decisive. For example, after its agent deleted a production database, Replit made the separation of development and production automatic Fortune.

What does not work: instructions, single-agent monitors, untested emergency stops

Instructions do not bind the model. An explicit "do not" instruction decreased Opus 4 blackmail from 96% to 37%, which is not zero Anthropic. A monitor for each single agent does not cover systems of many agents. A frontier monitor flagged 3.4% of successful distributed attacks, compared with 82.4% when one agent did the same side task arXiv 2610.24052.

The strength of the monitor also has an effect. The detection rate on real incidents was 20.4%, 63.4% and 79.6% for monitors built on GPT-5.6 Luna, Terra and Sol OpenAI. A small team with a cheap monitor model must expect the lowest of these figures.

Monitoring must also resist attack. An attack test by METR and Redwood found that two headers under client control disabled the monitoring of OpenAI METR. Emergency stops are only partly in place. As of 29 October 2026, OpenAI said that some critical alerts pause a workload automatically. A wider pause after 30 minutes with no responder action is still in development OpenAI.

Open problems: awareness of tests and groups of agents

Awareness of tests (evaluation awareness) has two opposite effects. It stops bad behaviour in tests. It permits bad behaviour in reality when a model wrongly believes that it is in a test, as in the PyPI and AISI cases. No product yet correlates events across a group of agents. We found no independent assessment of the internal monitoring of Anthropic or Google.

10Auditability

What it is: a trusted record of each agent action

Auditability means that an organisation can show afterwards what an agent did, for whom, and with which permission. Zero trust requires a record of each access decision that names the person, the agent and the tool. It comes from a component that the agent cannot change.

A normal program repeats the same steps, and a human user signs in with a personal account. An agent selects its actions while it runs, so only the record shows what occurred. It often uses the credential of a person, so other systems record only the person.

Why it is necessary: records are missing, unattributed or self-reported

Attribution needs an identity chain that stays complete from end to end. Three practices merge user, agent and tool into one identity in later logs. They are shared API keys, token passthrough and agents that run with the full credentials of a developer MCP security best practices. In token passthrough, a server forwards a client token that it did not validate.

Default retention differs by more than a factor of ten. It is 30 days for the OpenAI Compliance Logs Platform and 180 days for Microsoft Purview Audit (Standard). It is 6 years for the Anthropic Activity Feed OpenAI Help Center; Microsoft Learn; Claude Platform docs.

The legal minimum has fixed dates. EU AI Act Article 12 requires high-risk systems to record events automatically Article 12. Article 26 requires deployers to keep logs "at least six months" Article 26. Article 14 requires a person who can interrupt the system Article 14. The Digital Omnibus is Regulation (EU) 2026/1744 of 8 July 2026, in force since 27 July 2026. It moved these duties to 2 December 2027 for Annex III systems and 2 August 2028 for Annex I products. Article 26(6) is unchanged Official Journal.

A report by the agent about itself is not evidence. In the Hugging Face incident, at least 20% of agents expressed interest in tampering with transcripts METR. The advanced tier of CoSAI therefore asks for audit trails that the enforcement component generates CoSAI.

What works: provider records and traces, content apart from metadata

An organisation needs two types of record. The first type, the compliance record of the provider, carries the identity, and a compromised user computer cannot easily suppress it. Examples are the Anthropic Compliance API, the OpenAI Compliance Logs Platform, Purview CopilotInteraction records and cloud audit logs Claude Platform docs; OpenAI Help; Microsoft Learn. These records do not cover each path. The Anthropic Compliance API omits Claude Code use with a Console API key or through a cloud platform Claude Platform docs.

The second type is the trace of each step. OpenTelemetry, an open standard for monitoring data, supplies it in real time. Its GenAI semantic conventions define invoke_agent, execute_tool and MCP spans OpenTelemetry agent spans. We use the provider record as the audit log and the client records as operational data.

We recommend a minimum record. It holds the timestamp, the session and trace IDs, the human identity and the delegation chain to the agent and the tool credential. It also holds the model and agent version, the tool name with arguments or their hashes, and the context sources with sensitivity labels. It holds the policy decision, the approver and the outcome. Send metadata to the security log platform (SIEM) for long retention. Send prompt and tool content to a restricted store with shorter retention, and refer to it by ID.

A known pattern makes log changes visible. A signature detects edits, a hash chain detects deletion and a changed sequence, and an external anchor (a copy outside the log) detects truncation. CloudTrail uses this pattern: it signs a digest each hour, and each digest chains to the digest before it AWS docs.

Claude Code managed settings, which an administrator sets centrally, can send the OpenTelemetry configuration to all users and lock the destination address. Repository settings cannot redirect the records Claude Code monitoring.

Detection rules (fixed searches that alert or block on a match) need tuning for coding agents. Sophos found that Credential Access made up 56.2% of the blocking rule hits from coding agents. Sophos advises teams to tune the rules for known-good agent signatures and to keep them active for risky activity Sophos.

What does not work: client logs as evidence, changing formats

Records from a client that the user controls are not an audit log. Local agent transcripts have no signature, chain or anchor. The OpenTelemetry GenAI conventions still have Development status. They moved to their own repository, and its first release (v0.1.0, 21 November 2026) had incompatible changes. Fix the instrumentation to one exact version, and normalise the data in an OpenTelemetry Collector OpenTelemetry GenAI conventions.

The IETF individual draft draft-sharif-agent-audit-trail-11 is useful as a checklist of fields. Do not cite it as a standard Datatracker.

Open problems in auditability: no adopted standard, few detection rules

No adopted standard for agent logs exists. ISO lists ISO/IEC 24970 on AI system logging as under publication ISO. Public detection rules for agent activity exist only in part. Elastic and Splunk publish rules, and we found no rule set for Microsoft Sentinel (see the section Monitoring and response). Certification does not close the gap. ISO/IEC 42001 certifies governance, and ISO/IEC 27090:2026 (October 2026) is guidance with no certification BSI Group.

11Monitoring and response

What it is: fast detection and a tested stop

Monitoring means that an organisation watches the actions of an agent while it runs and detects a harmful action. Response means that the organisation stops the agent and limits the damage. Zero trust requires continuous verification: a permission that was correct at the start does not make each later action correct.

A person works at human speed, and a normal program does the same steps each time. An agent selects its own steps and acts at machine speed. It can complete a harmful sequence before a person reads the first alert. The first response must therefore be automatic and must work from outside the agent.

Why it is necessary: agents act faster than people respond

An agent completes a destructive action in seconds, and a person needs minutes to respond. OpenAI reports that its highest-priority alerts reach a responder typically within 15 minutes OpenAI. In the PocketOS incident, for example, the agent deleted the production volume and its backups in 9 seconds, by the founder's account founder's account.

Before theactionpreventive rule,automatic stop1 s10 s1 min10 min1 h9 secondsAn agent deleted a production volume and its backups.1 minuteThe provider record isavailable by polling.15 minutesA top-priority alert typicallyreaches a responder.time after the action starts (logarithmic)
Figure 5. The time of the damage and the time of the response, with three values from the sources of this section. Only a preventive rule or an automatic stop acts before the action is complete.

Without detection, the delay is days or weeks. One example is the Hugging Face incident: OpenAI agents were outside their environments from 12 May 2026. A team saw their message board in late May and did not escalate, and the attack on Hugging Face started on 11 July OpenAI. WorkOS detected the access of an agent from a standard test after five days BleepingComputer.

What works: fixed rules, model monitors, a tested stop

We rank the controls by evidence. First, alert on deterministic signals. Examples are a tool call outside the approved list, a connection to a new domain, a destructive API call and a permission-bypass flag. Two more are a spend limit and a canary credential (a false credential whose use raises an alert). A team can test each rule. Elastic publishes 157 detection rules (fixed searches that alert on a match) with the tag "Domain: GenAI" (count of 2 December 2026). One rule fires when a coding agent starts a destructive AWS CLI command Elastic.

Second, add a probabilistic monitor, a model that reads the sequence of agent actions. OpenAI reports that its monitor flagged a DNS-based breach within 15 minutes in September 2026 OpenAI. In a vendor test of 1,774 sessions from standard tests, Google Agent Anomaly Detection flagged 87% of the harmful instructions that an agent executed. It gave false alarms on 2% to 16% of benign sessions Google.

Third, keep a stop mechanism outside the agent. OWASP asks for "kill-switches and credential revocation" OWASP ASI10. Revocation is the withdrawal of a credential. NIST, NSA and CISA ask developers of frontier models to shut down the affected agent runs automatically when a control fails NIST, NSA and CISA. Released stop functions are StopRuntimeSession in AgentCore and the Disable action in Entra ID Protection AWS; Microsoft Learn.

Fourth, decide in advance which response is automatic. The Anthropic guide says: "automate the bookkeeping around incidents, not the decisions" Anthropic guide. We recommend an automatic pause on a deterministic signal, because a pause is reversible. A person decides on revocation across systems, disclosure and restart.

Detection and evidence need different records

Detection needs speed and a position in the path of the action. Evidence needs integrity and identity (see the section Auditability). No record in the table has all four properties.

In the table, a hook is a script that the agent software runs at a fixed event. A policy enforcement point is the component that blocks or permits the action.

Record Arrives Use for detection Use as evidence
Hook event of the agent software (Claude Code PreToolUse) Before the tool call. Yes: the hook can block. A hook that times out does not block unless onFailure is block. Claude Code hooks No. The user controls the client.
OpenTelemetry events of the client In real time. The client sends them. Yes. They support alerts on tools, domains and cost. Only as operational data.
Decision log of a gateway or enforcement point In real time, at each call. Yes: it can deny the call. It does not see local actions. Yes: the enforcement component writes it.
Provider compliance record (Anthropic Activity Feed) Within 1 minute, by repeated request. Yes, for account and administration events. It omits Claude Code use with a Console API key. Yes, for identity. It has no checksum. Claude Platform docs
Identity risk signal (Entra ID Protection for agents) Delayed: "all risk detections for risky agents are offline". Late: it blocks the next sign-in, not the current action. Partly: the service keeps detections for 90 days. Microsoft Learn

What does not work: behaviour profiles, alert-sorting models, default hooks

Statistical profiles of normal agent behaviour have no independent measurement. Such a profile raises an alert on a deviation. NIST, NSA and CISA list profiles of normal behaviour for intended agent activity as future work NIST, NSA and CISA. In the Google test, detection on one standard test was 33% with approximately 220 benign sessions for each agent and 99% with 360 Google.

A strict limit on false alarms removes most of the detection. In the OpenAI standard test of its Guardrails injection check, detection at a 1% false alarm rate is 0.000 for the default model OpenAI Guardrails. The section Rogue agents gives the other limits of model monitors.

A model that sorts alerts is not sufficient alone. In a standard test of 1,247 alerts, each of five agent configurations missed at least 40.4% of the attack-related alerts NeurIPS 2026 workshop. A hook in its default configuration is also not a control, because a failed hook lets the tool call continue.

Open problems: no time target, no revocation signal

Only two documents that we read give a time target. The Anthropic guide asks for detection within one hour, and the CSA Agentic Trust Framework asks for an emergency stop below one second CSA. We found no measurement of either in a deployment.

The Shared Signals Framework and CAEP are standards for messages about withdrawn access. They are final but have no agent profile. We found no agent platform that documents receipt of revocation events OpenID.

Public rules exist only in part. Splunk has five MCP detections, and Sigma has one experimental rule Splunk; SigmaHQ. The section Integrity, recovery and governance gives the state of written incident procedures for agents.

Rule content is released, and stop functions are partly released

This group holds stop functions, monitors and rule sets for a security log platform (SIEM).

Solution What it does Status and price Best fit
Elastic prebuilt rules 157 public rules for coding agents on the computers of users and for the audit logs of Anthropic, OpenAI, AWS, Azure and Google. Some carry ATLAS tags. Elastic Released, in a public repository. They need Elastic Security. Small team or enterprise with Elastic
Splunk story "Suspicious MCP Activities" One alert rule for prompt injection and four manual searches (hunting searches) on MCP server logs. Splunk Released on 17 February 2026 for Splunk Enterprise Security. Enterprise with Splunk
Microsoft Defender for AI agents Alerts on the monitoring data of agents that Agent 365 manages. Custom rules block tool calls. detection; blocking Detection: public preview. Blocking: generally available only for Agent 365 Tooling Servers. Agent 365 costs $15 per user per month. Enterprise on Microsoft 365
Falcon Guardian AI Kill Switch (CrowdStrike) A person tells connected AI gateways to cut the model access of an agent. CrowdStrike Available since 3 November 2026. Enforcement on user computers and identities: in development. The price is not public. Enterprise with the Falcon sensor
Okta for AI Agents Deactivation of an agent blocks new sessions. In September 2026, Okta planned revocation of active tokens at its gateway for its fourth quarter. Okta Generally available since 30 April 2026. We found no statement of general availability for the gateway function. Price on request. Enterprise with Okta
Google Agent Anomaly Detection It learns the behaviour of each agent from traces and flags sessions afterwards. It does not block. Google Private preview on 12 November 2026. No price. Teams on Google Cloud, for evaluation only
Zenity AIDR, Noma Zenity detects injection, data loss and tool misuse, and blocks single steps. An API sends findings to the SIEM. Zenity Zenity: no status or price on the page. Noma: see the segment Filters, tests and records. Enterprise with several agent platforms

We recommend that a single user buys nothing. Use the sandbox, a spend limit and one PreToolUse hook with onFailure set to block Claude Platform docs. We recommend that a small team sends OpenTelemetry events and the provider activity feed to one store and writes five to ten fixed rules. One named person must be able to deactivate each agent credential. We recommend that an enterprise starts with the public rules of its SIEM vendor and automates the pause on deterministic signals. Buy a specialist product only for agents on several platforms.

This overview has limits. We tested no product, and the Google and OpenAI numbers come from the vendors. We could not verify the status of Wiz runtime detection, Obsidian, Exaforce, SentinelOne agent security or Datadog AI Guard. We found no agent rule set for Microsoft Sentinel or Google Security Operations. The overview leaves out Cortex AES and Defender runtime protection, which the isolation segment lists.

12Integrity, recovery and governance

What it is: protected settings, tested recovery and clear ownership

Integrity means that the configuration of an agent (its settings, instructions, tool definitions and scripts) stays as the organisation approved it. Recovery means that the organisation can return data and systems to a known good state. Governance means that named persons own each agent and have the authority to stop it.

Zero trust requires a check of the state of each program before access, and the configuration is part of that state. A normal program does not rewrite its own settings. An agent can write files, so it can change the files that control its behaviour. It can also cause damage with no attacker.

Why it is necessary: changed settings stay, recovery is unplanned

A changed configuration stays after a restart. The Anthropic guide gives the general case: "Attackers who cannot manipulate inputs directly target agent configurations instead" Anthropic guide. The section Supply chain shows an example: worms (malware that spreads by itself) write hooks into agent settings files. A hook is a script that the agent software runs at a fixed event.

Containment is the set of actions that limit the damage. The incident response team of AWS reports that customers improvise it: "The containment action causes more damage than the attacker" AWS CIRT.

Damage also occurs with no attacker. One example is the PocketOS incident (see the section Least privilege): the founder first restored a backup that was three months old founder's account. Railway reported the full restore from offsite backups five days after the deletion Railway. In the Replit incident of July 2025, the agent said that a rollback (a return to a saved state) would not work. The user reportedly recovered the data manually Fortune.

Configuration integrity: managed settings are released, signed configuration is not

The guide has three tiers for configuration integrity: version control with review, signed configuration, and immutable (unchangeable) images with signed proof Anthropic guide. Managed settings are settings that an administrator sets centrally. Each control in the table is deterministic.

Control Released in Limit
Version control with mandatory review Each git host (see the section Supply chain). It does not cover ~/.claude/settings.json or a local change before the commit.
Managed settings that a user cannot override Claude Code, Codex, Gemini CLI, Cursor (Enterprise). Copilot: MCP approved lists, generally available since 6 August 2026. Claude Code; Codex; Gemini CLI; Cursor; GitHub A local administrator can edit the managed file. Google states that its settings are not "a foolproof security boundary".
Sandbox that blocks writes to configuration Claude Code: settings files, skills (packages of instructions), hooks, .mcp.json. Codex: .codex and .git. Claude Code sandboxing; Codex docs It covers sandboxed commands only.
Hook on a change of settings Claude Code ConfigChange, which can block the change. Claude Code settings It runs for direct edits to settings files, and not for managed settings.
Signed configuration Codex signs its cache of cloud requirements. NVIDIA signs its skills. Docker MCP Gateway verifies image signatures with a command-line flag. NVIDIA; Docker A person or a build pipeline (CI) job must start the verification of skills and images.
Immutable versions AgentCore Runtime: each update makes an immutable version, and a named address (an endpoint) refers to one version. AWS The page describes no signed proof.

We found no coding agent that documents a signature check of settings, skills, hooks or MCP definitions at load time. Review and managed settings make a change impossible for the agent and for repository content. For malware with administrator rights, they only make the change more laborious.

Enforce the settings from a server, and stop the agent if it cannot load them. Claude Code does this with forceRemoteSettingsRefresh. Codex returns an error when it has no valid cache Codex.

Recovery: a rollback restores local files, not remote effects

Checkpoints in agent software are saved states, and a rollback to one restores files. Claude Code does not track a file that only a shell command changed Claude Code checkpointing. In Gemini CLI, checkpointing is off by default Gemini CLI checkpointing.

No checkpoint reverses an action in a system of another party. Gmail permits a sender to cancel an email for a maximum of 30 seconds Google. We found no rollback for data that left the organisation, for a payment or for a published package.

Recovery therefore depends on stores that the agent credential cannot delete. Neon can restore a database to an earlier point in time, but it does not revert object storage Neon. Memory stores of Claude Managed Agents (beta) keep immutable versions for 30 days, with no restore API Claude Platform docs.

Backups, version history and delayed deletes are deterministic. They pass the test of the guide only when the agent cannot reach them.

The guide asks for recovery tests: "untested procedures fail when you need them most". A joint document of NIST, NSA and CISA is from October 2026. It says to rebuild from a verified known good state and to validate shutdown mechanisms before a restart NIST, NSA and CISA. This document addresses AI developers, and it "may also apply to deployers".

Governance: the standards require owners, policies and a stop authority

The guide starts with a documented acceptable use policy (the rules for staff use of agents) and an incident response policy. It adds a governance committee at the Enterprise tier and automated compliance checks at the Advanced tier Anthropic guide.

One legal duty applies to each deployer in the EU now. It is AI literacy under Article 4 of the EU AI Act, since 2 February 2025 Article 4. Article 26 requires oversight persons with "the necessary competence, training and authority" for high-risk systems. The section Auditability gives its dates.

ISO/IEC 42001 requires an AI policy, assigned accountability, a risk assessment and internal audits CSA, secondary. We found no profile of the NIST AI Risk Management Framework for agents, and the NIST initiative for agent standards names none NIST. The IMDA framework assigns responsibilities to four groups and asks for a change review with defined triggers IMDA. The interim advice of the NCSC asks for named responsible persons and the ability to "pull the plug" NCSC.

The minimum policy set is our inference:

  • Single user. Write one page: the permitted data, the forbidden systems, and the steps to stop and restore.
  • Small team. Write an acceptable use policy, a review rule for configuration changes, and a one-page incident procedure.
  • Enterprise. Add a governance committee, a risk assessment for each new agent, and policy checks in the pipeline.

A policy passes the test only when a managed setting or a pipeline check enforces it. The section Market landscape gives the survey numbers on policies and unapproved agents.

Readiness: decide who can stop an agent before the incident

The guide asks to decide before an incident who can authorise a stop, a credential rotation or a network block. It also asks for a tabletop exercise (a discussion of an invented incident) with five incidents in the same week Anthropic guide.

The joint document asks for severity criteria, drills and shutdown policies. The CoSAI AI Incident Response Framework V1.0 asks for defined authorities and quarterly tabletop exercises, and it has six sample written procedures CoSAI. By their titles, none covers a change to agent settings that stays after a restart, or a destructive action with no attacker. ENISA asks governments to test "multi-incident scenarios" ENISA.

An agent incident procedure needs the repair sequence from the section Supply chain. It also needs a list of containment options for each agent, with the approver of each option AWS CIRT.

Open problems: no signature check at load, no recovery measurement

No coding agent documents a signature check of its configuration at load time. No source measures recovery time for agent incidents. Rubrik announced Rubrik Agent Rewind in August 2025 for rollback of agent actions, and we found no statement of general availability Help Net Security, secondary.

13Workforce security and provider terms

What it is: the accounts, the devices and the services around the agent

An agent works with the accounts, the computers and the sign-ins of the organisation. It also works on services that other companies operate, and each service has terms of use. The nine components limit what the agent can do. This section covers the two things around the agent that the components depend on: the security of the people who control the agents, and the permission of the providers whose services the agents use.

Why it is necessary: one stolen account controls each agent, and a provider can close an account

If an attacker takes the account of the person who owns the agents, the attacker controls each agent and each setting in this handbook. Thus the three principles of zero trust apply to the people and to the devices too. The test question is the same. If an attacker has the password of one person, or controls one computer, what can the attacker reach?

Malicious software on the computer of a developer is a realistic case. In August 2025, malicious versions of the package Nx started the AI coding tools on the computers of developers, with the permission prompts off, and told these tools to search for keys in files Wiz.

Service providers now write rules for agents, and a provider can suspend an account that does not comply. Three examples show the direction.

  • Google Workspace. On 24 November 2026, Google announced that AI agents must use the connector servers of Google (the Workspace MCP servers) or the Workspace command-line tool to get Workspace data, and must not call the Workspace interfaces directly. Technical enforcement starts on 1 February 2027 Google. The related terms let Google suspend the access of a tool that does not comply Google. The Gmail policies forbid automation of the Gmail web page "in a manner that misleads or deceives users" Google.
  • Microsoft. The Microsoft Services Agreement, in effect from 30 September 2026, applies its code of conduct to AI services that act autonomously. It forbids actions that go around access restrictions, and one penalty is the immediate closure of the account Microsoft.
  • LinkedIn. The user agreement forbids "bots or other unauthorized automated methods" to access the service or to send messages LinkedIn.

The AI providers put the responsibility on the customer. Anthropic states that the user must respect the terms of each website, including limits on automated access, and stays responsible for each action of Claude in the browser Anthropic. OpenAI states that the customer is responsible for the actions that an agent takes for the customer OpenAI.

The risk is the loss of an account. When Google disables an account, the owner cannot sign in to Google services, and for some violations the owner cannot download the data Google.

What works: isolated credentials for people, and the access path that the provider names

Sign-in that resists phishing, on a hardware security key. The US agency CISA "strongly urges all organizations to implement phishing-resistant MFA as part of applying Zero Trust principles" CISA. MFA is a sign-in with more than one factor. A hardware security key has two effects. It answers only to the genuine website, so a false sign-in page gets nothing. Its secret also stays inside the key and cannot be copied, so software that steals passwords and key files gets no credential that works later or from a different computer. A basic key costs $29 Yubico. Give each person two keys.

Mandatory settings. Google Workspace can accept only security keys and passkeys as the second factor Google. A GitHub organisation can require a second factor and permit only the secure types GitHub. Microsoft has a built-in rule for sign-in that resists phishing in Conditional Access, which needs Entra ID P1 or Microsoft 365 Business Premium Microsoft Learn. Claude Team and ChatGPT Business have no such setting of their own. Their owners can require single sign-on, and the company login then protects them Anthropic; OpenAI.

Separation of duties for people. Daily work uses an account with no administrator rights, and a second account does the administration. A second person approves each payment above a set amount. The backups are under an account that nobody uses for daily work. A written procedure says who cancels which access when a person leaves or a key is lost.

The access path that the provider names for agents. Connect each agent through the API, the connector or the command-line tool that the provider names for agents, with a key of its own. Prefer services that are made for agents. AgentMail is an example for mail: its terms name mailboxes for AI agents as the purpose of the service AgentMail terms. Give the agent a separate account, and keep an export of the important data outside the main account. Write the date of the last check of the terms in the list of approved connectors.

What does not work: passwords with codes, and an agent that goes around a block

A password with a code from a telephone application does not resist phishing, because a false sign-in page can pass the code on. A hardware key also has a limit. Malicious software on the computer can use a session that is already open. Thus the organisation needs the protected computer and the sandbox too.

An agent that operates the web page of a service with the login of a person is the weakest path. The provider can detect it and can close the account of that person. A CAPTCHA, a rate limit or a message that refuses automated access is a "no". Anthropic forbids Claude in Chrome to bypass a CAPTCHA, and its usage policy forbids the use of Claude to go around the terms of other services Anthropic.

Open problems: no common rule for agents, and terms that change

No common standard tells a service how to recognise an approved agent and what to permit. Each provider writes its own rule, and the rules change at short notice. Four items had only secondary sources, so they are not in this section: the agent policy of Amazon, the terms of WhatsApp and of X, and reports of full account suspensions after agent use. This section is not legal advice.

14Single user

The starting point: the agent has full access

In the typical setup of a single user, the agent runs in the normal shell and holds the full credentials of the user. Each permission prompt gets automatic approval. This convenient setup is the largest risk that a single user can prevent, and the default settings lead to it. Claude Code is an example. Auto mode has been its built-in start mode since v2.1.283, while the Bash sandbox stays off by default Claude Code permission modes; Claude Code sandboxing. Thus a single user gets the probabilistic control by default. The user must turn on the deterministic control.

Personal agents that run all the time are the weakest part of this setup. The official security documentation of OpenClaw assumes one trusted operator OpenClaw docs. A CSA hardening guide (draft, March 2026) cites more than 135,000 instances that were reachable from the public internet in February 2026 CSA hardening guide.

What to do: nine controls in order of priority

The sequence below starts with the lowest cost. No source gives a minimum set of controls for each size of organisation. The sequence is our inference from the root causes of incidents and from vendor documentation. Items 1 to 5 would have prevented or contained most of the incidents in this handbook that affected individuals or small teams.

  1. Keep three things apart. Do not give one session private data, untrusted content and a channel that sends data out at the same time. If a task needs all three, approve each step or start a new session Willison; Meta.
  2. Turn on the sandbox and make it mandatory. In Claude Code, set sandbox.enabled: true, failIfUnavailable: true and allowUnsandboxedCommands: false. Then, if the sandbox cannot start, the agent does not run. Write each permitted domain in network.allowedDomains. Block reads of the home directory and of .env files in filesystem.denyRead and also in Read(...) rules. Both are necessary because the sandbox does not cover the Read tool Claude Code sandboxing; Claude Code permissions. The default settings of Codex already limit writes to the workspace (workspace-write) and keep the network off Codex docs.
  3. Add an outer boundary when no person watches the agent. Run the agent in a small virtual machine (microVM) from Docker Sandboxes. Its command-line tool and the local compute are free Docker product page. As an alternative, use the external sandbox pattern of Willison. In this pattern, a proxy with an approved list exchanges the credentials Willison. Never use a flag that bypasses the permission checks, such as --dangerously-skip-permissions, on a host that holds secrets. The s1ngularity malware is an example, because it used exactly these flags Snyk.
  4. Give the agent its own credential. Create a dedicated fine-grained personal access token or a GitHub App installation token for only the repositories in use. Never give the agent your own classic personal access token GitHub docs. Keep the passkey with the person. Then the agent cannot complete an extra authentication for a sensitive action (step-up authentication) alone. AIMS expects user authentication that resists phishing draft-ietf-wimse-aims.
  5. Keep production and backups away from the agent. Let the agent use only development data or staging data, in read-only mode Supabase. Keep backups that the credentials of the agent cannot delete. Approve these actions yourself: delete, send, publish, pay and deploy.
  6. Wait before you install, and fix the versions. Set a waiting period before the package manager installs a new release nesbitt.io. The settings are min-release-age (npm), minimumReleaseAge (pnpm) and --exclude-newer (uv). Fix each MCP server and each skill to one exact version. Scan the agent configuration with Snyk Agent Scan or Cisco MCP Scanner Snyk; Cisco. Do not start an agent in ~/Downloads or $HOME BleepingComputer.
  7. Choose the account type for the work. Use an account with commercial terms for client work. On consumer plans, the setting that permits training on your data is on by default Anthropic. Do not use public share links, and delete assistant memory that is not necessary.
  8. Keep a record. Increase cleanupPeriodDays to keep the local transcripts longer. Work on git branches with small commits. Add one PreToolUse hook that appends the tool name and the tool input to a local file Claude Code data usage; Claude Code hooks. A hook is a script that the agent software runs at a fixed event. These records do not show if someone changed them.
  9. Limit browser agents and personal agents. Use the logged-out mode of Atlas or the permissions for each site in Claude in Chrome OpenAI help; Anthropic support. For OpenClaw, run openclaw security audit --deep. Make its gateway accept connections only from the same computer (localhost). Add an approved list of outgoing network connections OpenClaw docs; CSA hardening guide.

Our position: use the sandbox as the primary control

We choose the sandbox as the primary control. The choice is between convenience and containment. We use auto mode only as a second layer, because of the miss rates that the least privilege section gives. Anthropic reports that the sandbox also removes 84% of permission prompts (vendor claim, Anthropic Engineering).

We recommend that a single user does not use guardrail products (filters that examine prompts and answers). The prompt injection section gives the bypass rates of attacks that the attacker adjusts to the defence. Because of these rates, guardrail products add little before items 1 to 5 are in place.

15Small team

The starting point: separate setups, shared credentials, little evidence

In a typical small team, each developer sets up the agent alone, and the team shares credentials. Thus shared use adds three types of failure: a different configuration for each developer, shared credentials and missing evidence.

The price of a gateway increases sharply at the identity functions. In a hands-on test in July 2026, Lunar MCPX and MintMCP offered single sign-on and role-based access control only in their Enterprise plans. In the same test, the governance gateway of Docker was available only through a sales form Chawla. A team below the enterprise tier gets policy but little evidence.

A self-hosted gateway also has a cost. One standard test of unverified origin examined open-source MCP gateways. Two of them gave every tool to any client that could reach the port dev.to roundup, unverified origin. A self-hosted gateway is also a target for supply chain attacks. LiteLLM showed this two times in 2026. No survey in our sources samples small organisations, so this section uses vendor documentation and incident evidence.

What to do: nine more controls for a small team

The team applies the controls for a single user and enforces them through shared configuration. The additions follow in order of priority (our inference).

  1. Use one assistant vendor and bind each seat to single sign-on. Use a Team plan or an Enterprise plan with accounts that the company manages. Do not use shared API keys.
  2. Use managed settings. Send the settings by device management (MDM) or from the admin console. Set permissions.disableBypassPermissionsMode, allowManagedPermissionRulesOnly, allowManagedMcpServersOnly and allowManagedHooksOnly Claude Code managed settings; Claude Code hooks. Then the sandbox, the lock on bypass mode and the approved list of MCP servers are not the choice of each developer. Codex uses requirements.toml, and Copilot organisation owners can enforce the firewall of the cloud agent Codex docs; GitHub docs.
  3. Give each use case its own credentials. Replace personal access tokens with one GitHub App for each agent use case. Set a maximum lifetime for personal access tokens at organisation level. Move secrets from .env files and MCP configuration files to a shared secret manager GitHub personal access token policy docs, secondary reading. Name one human owner for each agent, as in the sponsor model that Entra enforces Microsoft Learn.
  4. Send MCP traffic through one entry point. If the team already uses Cloudflare, use Cloudflare MCP server portals. This product has been generally available since 24 September 2026. Cloudflare Access protects it, and it logs tool activity Cloudflare changelog. The log has the user and the tool name, but no tool arguments. If not, self-host Obot or IBM ContextForge, which have user sign-in. The open-source Docker MCP Gateway has one bearer token (a token that any holder can use) and no user sign-in. A team with Okta can grant and revoke Claude connectors at the identity provider WorkOS.
  5. Keep unattended runs away from the laptop. Use cloud execution or the build pipeline (CI), where the credential stays behind a proxy Claude Code cloud docs. A small virtual machine (microVM) is an alternative.
  6. Put the agent configuration under review. Put CODEOWNERS and branch protection on these paths: .claude/, .cursor/, .vscode/, AGENTS.md, CLAUDE.md, .mcp.json and .github/workflows/. Add a check for hidden Unicode in CI, and fix each Action to one exact commit hash (SHA). Keep a written approved list of MCP servers, skills, extensions and models Backslash Security; CSA research note.
  7. Connect each data class to the permitted tools. Define three classification levels, and define the tools and tiers that each level can use. Filter with the identity of the end user before retrieval OpenFGA docs. Correct the sharing permissions before you enable an assistant for the full workspace Microsoft Tech Community.
  8. Keep the evidence away from the developer machine. Run one OpenTelemetry Collector, lock its address in managed settings and set OTEL_LOG_TOOL_DETAILS=1. Add a ConfigChange hook that blocks edits to the settings or sends an alert Claude Code monitoring. A hook is a script that the agent software runs at a fixed event. Set onFailure to block on this hook, because a hook that fails does not block by default. The hook cannot block a change of the managed settings Claude Code hooks. Keep six months of logs, and name one person who reviews them each week. Six months is the minimum that the EU AI Act sets for deployers of high-risk systems EU AI Act Article 26.
  9. Add an attack test to CI. Run promptfoo (owned by OpenAI since 9 March 2026) or garak druce.ai. At regular intervals, also put a harmless test instruction (an injection canary) in a README or a ticket, to see if the agent obeys it.

Our position: use managed policy before a commercial gateway

We recommend the managed policy of the assistant vendor plus one entry point before any commercial gateway. The plan includes managed settings. Most commercial gateways charge enterprise prices for their identity functions. Cloudflare MCP server portals and the Obot community edition are exceptions. The disadvantage is weak evidence, and item 8 corrects this in part. A small team cannot copy the monitoring that an AI lab does. The realistic alternative is hard limits (sandbox, scopes), logging on a separate channel, and alerts on outgoing network connections and destructive API calls.

16Enterprise

The starting point: unknown agents, shared identities, limited central management

In an enterprise, many teams run agents on more than one platform. At this scale, the problems are unknown agents, shared identities and central management layers that stop at their own platform. In the survey of CSA and Token Security, 82% discovered AI agents that staff use without approval. In the same survey, 68% reported high confidence in their visibility CSA. Gravitee found that 85% have no formal accountability structure for agents Gravitee via TechCrunch, sponsored.

The central management layers of Microsoft, AWS and Google have the same parts: agent identity, registry, gateway with policy and content filter. Each one is strongest on its own platform. None of our sources shows a generally available mechanism that carries one agent identity and one policy across all three. Entra Agent ID documents paths for agents on AWS and Google Cloud, but user delegation works on one of these paths only Entra integration paths.

What to do: nine controls in rollout sequence

We put the rollout in the sequence of the CoSAI maturity path CoSAI section 3.2.1. The path starts with the prerequisites. The next stage binds each request to a session and authorises each request at a gateway. The stage after that is token exchange at each step in the chain. The last stage is a policy decision point (the component that decides if an action is permitted) that evaluates delegation data and parameters.

  1. Do the prerequisites. Make the inventory of models, agents and data, and classify the data. Make an agent registry with a sponsor, a technical owner and a process to retire each agent.
  2. Give each agent its own workload identity. This is an identity that belongs to a program, not to a person. Use Entra Agent ID, Google Agent Identity, AgentCore Identity or SPIFFE. Make delegation tokens carry the user as the subject and the agent as the actor. Add enterprise-managed authorisation for MCP and standard revocation messages (Shared Signals). Make each token usable only by the program that received it. MCP Security v2.0 of CoSAI requires this at Level 3 draft-ietf-wimse-aims; CoSAI.
  3. Put deterministic policy at a gateway. Put the decision point outside the AI threat boundary. Put policy enforcement points, the components that block or permit the action, at an agent gateway and at each connector. Policy in AgentCore evaluates each tool call in the Cedar language and can run in log-only mode first AWS What's New. AuthZEN makes the call from the enforcement point to the decision point a standard OpenID.
  4. Contain each agent. Run a sandbox for each task, with an approved list of outgoing network connections. Give each agent a least-privilege role. Block connections from tools to the cloud metadata service Zenity Labs. Apply the production standard to evaluation environments and the build pipeline (CI) OpenAI.
  5. Make the system enforce approval. Require approval for irreversible actions through controls at system level. If the approval infrastructure fails, deny by default IMDA.
  6. Control the supply. Operate a private package proxy with a waiting period before install and a quarantine. Operate an internal model registry that mirrors, scans and signs models and stores a component list (ML-BOM) for each. Operate a private MCP registry or gateway that fixes each tool definition to its hash JFrog; OWASP. No gateway in the solution overview documents a hash check, so test this function before purchase.
  7. Control the data. Apply data loss prevention to prompts and apply sensitivity labels. Correct oversharing before the rollout of an assistant of the Copilot type. Retrieve through a central authorisation service. Keep confidential compute or local inference for the highest data class Microsoft Learn; Microsoft Tech Community.
  8. Collect evidence. Export the compliance APIs of the providers and the cloud audit logs to the security log platform (SIEM). Normalise OpenTelemetry traces in a Collector, and keep the audit copy in write-once storage with integrity validation. The vendor defaults do not meet a minimum of six months in every product OpenAI Help Center. Map detections to MITRE ATLAS. Test at regular intervals that the team can trace one action from user to tool call to effect.
  9. Prepare for an agent that acts against its instructions. Run an independent monitor with the authority to pause, and keep an emergency stop that the team tested. Run an attack test on a schedule, in which the attacker adjusts the attack to the defence. Write incident procedures for a change in the agent configuration that stays after a restart. The sequence is removal first, rotation second.

Our buying position: vendor management layer plus a neutral gateway

For agents on the platform of a large cloud provider, we recommend its central management layer. For all other agents, we recommend a vendor-neutral gateway and decision point. Before any purchase, check that each feature is generally available. The package from one vendor is cheaper according to the list prices. Microsoft Agent 365 has been generally available since 1 May 2026 at $15 per user per month. Microsoft 365 E7 includes it at $99, and the security features of Entra Agent ID require one of those licences Microsoft Tech Community; Microsoft Learn.

The Agent 365 registry lists agents from seven other platforms, read-only and with manual sync Microsoft Learn, Agent 365 connected platforms. Only the marketing of Microsoft says that Agent 365 controls third-party agents in practice. The identity chain does not cross clouds uniformly. Specialist vendors can change their product plans in a period of three years, because of the consolidation that a later section describes. Several parts are still in preview. Thus an enterprise also needs the control of outgoing network connections and the sandbox, to compensate for these gaps.

17The three scenarios compared

The same principles apply at each size. Size changes the method of enforcement (habit, shared configuration, managed policy) more than the control. This assignment is our inference.

The same controls at each sizeidentity, least privilege, sandbox, approved list for outgoing connections, recordsSINGLE USERHabitOne person sets thecontrols and keeps them.SMALL TEAMShared configurationThe team shares onereviewed configuration.ENTERPRISEManaged policyAdministrators set a policythat a user cannot change.enforced by a personenforced by the system
Figure 6. The same controls at three sizes. Only the method of enforcement changes. The assignment is our inference.
Control area Single user Small team Enterprise
Identity Give the agent its own fine-grained personal access token or GitHub App token. Keep the passkey with the person. Bind seats to single sign-on. Use one GitHub App for each use case. Name one owner for each agent. Give each agent a workload identity (an identity that belongs to a program, not to a person) with a sponsor. Use delegation tokens. Make each token usable only by the program that received it.
Least privilege Turn on the built-in sandbox. If it cannot start, the agent does not run. Use an approved list of outgoing network connections. Use a small virtual machine (microVM) for unattended runs. Send managed settings by device management. Lock bypass mode off. Run unattended agents in the cloud or in the build pipeline (CI). Let a deterministic policy decision point decide if each action is permitted. Let policy enforcement points at an agent gateway block or permit it. Use a sandbox for each task.
Context Use an account with commercial terms. Do not use share links. Delete memory that is not necessary. Connect three data classes to tools. Filter before retrieval. Use data loss prevention and labels. Make retrieval obey permissions. Use confidential compute for the highest data class.
Prompt injection Use separate sessions. Approve irreversible actions yourself. Make the same rules a policy. Run promptfoo or garak in CI. Use policy on the parameters of each tool call. Make the system enforce approval. Run a scheduled attack test in which the attacker adjusts the attack.
Supply chain Set a waiting period before install. Fix MCP servers and skills to exact versions. Use a configuration scanner. Keep a written approved list. Put CODEOWNERS on the agent configuration. Fix Actions to exact commit hashes. Operate a private package proxy and a model registry with a component list (ML-BOM). Fix MCP tools to their hashes.
Rogue agents Keep production and backups away from the agent. Do not use bypass flags. Use hard limits. Send alerts on outgoing network connections and destructive API calls. Use an independent monitor with the authority to pause. Keep a tested emergency stop.
Auditability Keep local transcripts longer. Work on git branches. Add one logging hook (a script that the agent software runs at a fixed event). Run one OpenTelemetry Collector. Log tool details. Keep logs for a minimum of six months. Send compliance APIs and OpenTelemetry traces to the security log platform (SIEM). Use write-once storage. Run the trace test.
Monitoring and response Set a spend limit. Add one hook that blocks destructive commands. Know how to revoke each credential. Send OpenTelemetry events and the provider activity feed to one store. Alert on fixed rules. Name one person who can stop each agent. Use the public rules of the SIEM vendor. Automate the pause on deterministic signals. Test the stop and the revocation in an exercise.
Integrity and recovery Keep the agent configuration in git. Keep one backup that the agent cannot reach, and test the restore. Send managed settings. Review each configuration change. Test a restore each quarter. Enforce settings from a server, and stop the agent if they do not load. Rebuild from verified clean copies after an incident.
Governance and readiness Write one page: permitted data, forbidden systems, and the steps to stop and restore. Write an acceptable use policy and a one-page incident procedure. Name who stops an agent and who rotates credentials. Run a governance committee and an approval process. Run a tabletop exercise with several incidents at the same time.

18Solution overview by control area

This section lists the products and open-source projects that were available on 2 December 2026 for each control area. Each table gives the function, the release status, the public price and the size of organisation that the solution fits. The statements of function come from vendor documentation, and we tested no product. The selection is not complete: each segment names what it leaves out. The next section gives the structure of the market: vendor counts, acquisitions and analyst numbers.

Each control area has a released solution for each size

The table gives a first choice for each control area and each size. It is our summary of the four segments below. The sources and the limits are in the segments. The products for detection and response are in the section "Monitoring and response".

Control area Single user Small team Enterprise
Identity and credentials GitHub App tokens and OIDC federation (short-lived tokens in place of stored secrets). 1Password for Agents or Infisical Agent Vault. The agent identity of the existing identity provider: Okta Agent SSO or Entra Agent ID. The platform identity on each platform that runs agents. One policy engine outside the platforms: Cedar, OPA, OpenFGA or Cerbos.
Tool gateway Docker MCP Gateway. Cloudflare MCP server portals. Obot or IBM ContextForge for a self-hosted gateway. The gateway of the cloud that runs the agents. agentgateway, Kong or Traefik Hub for the other agents.
Isolation The built-in sandbox. Docker Sandboxes for unattended runs. The same controls, sent by managed settings. A hosted sandbox for an agent service. The same controls, with an endpoint product (security software on the computer of the user) as a second layer: Cortex AES, Falcon Guardian or Defender (preview).
Supply chain The waiting-period setting of the package manager. Snyk Agent Scan or Cisco MCP Scanner. Aikido Safe Chain or Socket Firewall on each machine. StepSecurity Harden-Runner in the build pipeline (CI). A registry proxy that enforces the waiting period: JFrog Curation, Sonatype, Cloudsmith or the GitHub package firewall (preview).
Filters and attack tests The safeguards of the model provider. garak or promptfoo. The guardrail of the cloud provider (a filter that examines prompts and answers) as a second layer. promptfoo in CI. An adaptive attack test before each guardrail purchase.
Records and discovery OpenTelemetry export to a local Langfuse. OpenTelemetry export to one shared collector. Purview Audit for teams on Microsoft 365. The compliance APIs of the providers in the security log platform (SIEM). Agent 365 or Okta ISPM for the inventory. Noma or Zenity for agents on several platforms.
Monitoring and response A spend limit and one blocking hook (a script that the agent software runs at a fixed event). No purchase. Fixed rules on OpenTelemetry events and on the activity feed of the provider. The public rules of the SIEM vendor: Elastic or Splunk. The stop function of the platform: AgentCore or Entra.

Identity and authorisation: identity products are released, tool-call authorisation is separate

These products give each agent its own identity and decide what that identity can do. An organisation needs them as soon as an agent uses a credential.

The solutions divide into four types. Platform identity services give each agent an identity of its own type, which differs from a user and from a service account. Specialist products and components that issue the credentials add identity across clouds or keep secrets away from the model. Open-source building blocks supply workload identity (an identity that belongs to a program, not to a person). They also supply the policy decision point (the component that decides if an action is permitted). The choice depends on where the agent runs, on the existing identity provider, and on delegation from a user.

Solution What it does Status and price Best fit
Microsoft Entra Agent ID It gives each agent an identity with a sponsor, also on AWS and Google Cloud. A delegated token names the user and the agent. Microsoft Learn; Entra integration paths Generally available since April 2026 for all Entra customers. Security features need Agent 365 ($15 per user per month). Microsoft Learn Organisations with Microsoft 365.
Okta Agent SSO and Okta for AI Agents Agent SSO issues short-lived tokens to registered agents through Cross App Access (ID-JAG). The paid product adds discovery, reviews and an emergency stop. Okta Agent SSO: generally available since 24 August 2026, included in Okta SSO. Paid product: generally available since 30 April 2026, price not public. Okta Teams that use Okta.
Google Cloud Agent Identity It gives each agent on Google Cloud a SPIFFE identity. An auth manager holds the OAuth tokens that users delegate. External services can verify its OIDC tokens. Google Cloud IAM docs; Google IAM release notes Generally available since 22 April 2026. External authentication: generally available since 23 November 2026. We found no price. Agents on Google Cloud.
AgentCore Identity and Policy, AWS Identity gives each agent a workload identity and tokens that name the user and the agent. Policy evaluates Cedar rules on each tool call. AWS token exchange; AWS docs Identity: generally available since 13 October 2025, $0.010 per 1,000 token requests. Policy: generally available since 3 March 2026, $0.000025 per request. AWS, October 2025; AWS Agents on AWS.
Idira agent identity security, Palo Alto Networks (formerly CyberArk) It registers agents, issues short-lived tokens and sets policy for each MCP tool. The Prisma AIRS AI Gateway enforces the policy. Palo Alto Networks Generally available since December 2025. Gateway integration: generally available since 22 October 2026. Price not public. Enterprise with CyberArk or Prisma AIRS.
Aembit IAM for Agentic AI It combines the agent identity with the user identity from the identity provider. An MCP gateway applies policies for cloud, SaaS and on-premises resources. Aembit pricing Generally available since April 2026. Free for 3 agents, then $20 per agent per month. Aembit blog Single user or small team with several clouds.
1Password for Agents and Credential Broker For Agents fills a login after user approval, and the agent does not see the credential. Credential Broker releases secrets to verified programs. 1Password; 1Password preview For Agents: released 22 October 2026, free for individual accounts. Credential Broker: public preview since 28 July 2026, GitHub Actions only. 1Password blog Single user. Teams with 1Password Business.
Vault Enterprise agentic IAM, HashiCorp (IBM) It registers agents and authorises each request from the authorization_details field in the token (RFC 9396). It accepts RFC 8693 tokens that name the user and the agent. HashiCorp Generally available since 1 September 2026 in Vault Enterprise 2.1. Price not public. Enterprise with Vault Enterprise.
Infisical Agent Vault A proxy adds the real credential when a request leaves the network. The agent holds a session token only. Infisical No status label. $1 per 10,000 proxied requests, 5,000 free each month. Core platform: MIT licence. Infisical pricing Single user or small team.
SPIFFE and SPIRE SPIRE verifies a workload and issues it a SPIFFE ID and a credential. The credential is an SVID. The draft AIMS accepts a SPIFFE ID as the agent identifier. SPIRE; draft-ietf-wimse-aims Open source (Apache 2.0). CNCF Graduated. Version 1.16.0 of 5 November 2026. CNCF Enterprise with a platform team.
GitHub Apps and OIDC federation A GitHub App token lasts 1 hour and can cover named repositories only. With OIDC, a workflow gets a cloud token for one job. GitHub docs; GitHub OIDC docs Released. No separate price. Single user or small team.
Cedar, OPA, OpenFGA and Cerbos A gateway or an MCP server calls one of these policy engines before a tool runs. Policy in AgentCore uses Cedar. Cedar; OPA; OpenFGA; Cerbos Open source (Apache 2.0). Cerbos Hub: free to 100 monthly identities, then from $25 per month. AuthZEN profile for MCP tools: draft. Cerbos pricing; OpenID Foundation Teams that operate a gateway.

We recommend that a single user starts with GitHub App tokens and OIDC federation, plus 1Password for Agents or Infisical Agent Vault. The agent then has its own credential, but no token names the user and the agent. We recommend that a small team uses the agent identity of its existing identity provider, because Okta and Entra include the base functions. The disadvantage is that the governance functions cost extra. We recommend that an enterprise uses the platform identity on each platform that runs agents, and one policy engine outside the platforms. The disadvantage is one identity system for each platform, because we found no independent test of a product that works across them.

Limits of this overview: we found no public price for Okta for AI Agents, Google Agent Identity, Idira and Vault Enterprise. Microsoft pages do not agree on the licence for Entra Agent ID. No independent test compares these products. The overview leaves out Auth0, Ping Identity, Teleport, Permit.io, Oso, Akeyless and Doppler. It leaves out the discovery products of Astrix, Oasis, Entro, Natoma, Token Security, Clutch and Defakto.

Gateways: they cover identity and logging, but not changed tool definitions

An organisation needs a gateway when it wants one place to sign users in, to permit or block tools, and to keep a log. For tool calls, the gateway is the policy enforcement point (the component that blocks or permits the action).

An LLM gateway controls traffic from an application to a model, and an MCP gateway controls traffic from an agent to its tools. MCP gateways exist as platform products, API gateway products, specialist products and open-source projects. The choice depends on where the agents run, on the platform that the organisation already pays for, and on how detailed the policy must be.

Solution What it does Status and price Best fit
Cloudflare MCP server portals Cloudflare Access signs the user in through the identity provider and puts remote MCP servers behind one URL. An administrator switches single tools on or off for each portal. The log has user and tool name, but no arguments. Cloudflare docs; Logpush dataset Generally available since 24 September 2026. Free for 50 users, then $7 per user per month. Log export requires the Enterprise plan. Cloudflare changelog; Cloudflare plans Small team. Users of Cloudflare One.
Amazon Bedrock AgentCore Gateway with Policy The gateway accepts OAuth callers and AWS identity and access management callers, and it exchanges tokens for each target. Policy evaluates Cedar rules on user and parameters for each tool call. AWS docs, Gateway; AWS docs Generally available: Gateway 13 October 2025, Policy 3 March 2026. $0.005 per 1,000 invocations. AWS What's New, AgentCore GA; AWS Enterprise on AWS.
Azure API Management with Agent 365, Microsoft API Management validates Entra tokens, and its policies apply to all tools of a server. The AI Gateway tier adds blocking of single tools from the Microsoft 365 admin center. Microsoft Learn, MCP; Microsoft Learn, Agent 365 MCP support is released in all tiers. AI Gateway tier: preview. Enterprise on Microsoft 365 and Azure.
Agent Gateway, Google Cloud The gateway authenticates each agent identity and blocks connections that no policy permits. Policies can match the tool name and the tool annotations. Google Cloud docs, Agent Gateway; Google Cloud docs, access policies Generally available since 18 June 2026. Tool conditions: preview. We found no price. Google release notes Enterprise on Google Cloud.
Prisma AIRS AI Gateway, Palo Alto Networks One gateway handles LLM, MCP and agent-to-agent traffic with access rules, budgets and inspection of prompts. Palo Alto Networks Generally available since 16 July 2026. Price not public. Enterprise on Prisma AIRS.
Kong AI Gateway (AI MCP Proxy) The plugin is a proxy for MCP servers. Access control lists permit or block each tool for a consumer group, and an audit log records each attempt. Kong docs Released. Access control lists for tools since version 3.13. Enterprise licence. Enterprise that operates Kong.
Traefik Hub MCP Gateway, Traefik Labs The gateway validates signed tokens (JWTs) and denies by default. Policies match tool name, tool arguments and JWT fields. Traefik Hub docs Commercial. No release label. Price not public. Teams that operate Traefik.
Obot, Obot AI Obot hosts MCP servers or is a proxy for them. Each edition has sign-in through the identity provider and an audit log. Obot pricing Open source (MIT). Free for 100 users. Cloud: $199 per month for 10 users. Small team that self-hosts.
agentgateway, Linux Foundation Rules in the CEL language block tools by tool name and by JWT fields. Without a rule, it permits all tools. agentgateway repo; agentgateway docs Open source (Apache 2.0). Platform teams on Kubernetes.
Docker MCP Gateway The gateway runs each MCP server in a container, injects secrets and verifies image signatures. It has one bearer token (a token that any holder can use) and no user sign-in. Docker MCP Gateway security Open source (MIT). The governance edition is available by invitation only. Docker docs, MCP Single user.
IBM ContextForge This gateway and registry has single sign-on, role-based access control and plugins. At discovery, it disables a tool whose description matches a forbidden pattern. ContextForge repo Open source (Apache 2.0). Version 1.1.2 of 25 November 2026. ContextForge releases Teams with staff to operate it.

For a single user, we recommend Docker MCP Gateway: it isolates local servers in containers and keeps secrets out of configuration files. For a small team, we recommend Cloudflare MCP server portals. Sign-in through the identity provider, a switch for each tool and a user log are free for 50 users. The disadvantage is coarse policy: the portal has no rule for one user or for parameters. It also enables new tools of a connected server by default. For an enterprise, we recommend the gateway of the cloud that runs the agents, and agentgateway, Kong or Traefik Hub for the other agents. No gateway in this table documents a hash check for a changed tool description. Approve tools from a fixed list: default_disabled in Cloudflare, a static tool schema in AgentCore AWS docs, MCP targets.

Limits of this overview: we tested no product, and all statements of function come from vendor documentation. We could not verify the prices of Prisma AIRS, Agent Gateway and Traefik Hub, or the retention of Cloudflare portal logs. We could not confirm that the gateways of CrowdStrike, Zscaler, Cisco and SentinelOne enforce single MCP tool calls. The overview leaves out Runlayer, Lunar MCPX, MintMCP, Lasso MCP Gateway, the open-source Microsoft MCP Gateway, ToolHive, Tyk, Apigee and Copilot Studio. It also leaves out the LLM gateways (Cloudflare AI Gateway, LiteLLM, Portkey, OpenRouter). It leaves out the official MCP Registry, a metadata catalogue in preview MCP Registry.

Isolation and supply chain: the basic controls are free, endpoint products are new

These products limit what an agent can reach on its machine, and they examine what it installs or loads. An organisation needs them as soon as an agent can run commands or install packages.

Three types of product control where the agent runs: built-in sandboxes, local or hosted small virtual machines (microVMs), and endpoint products. Four types control what the agent loads: configuration scanners, waiting periods before install, registry proxies and model scanners. A registry proxy is a server between developers and the public package registry. The choice depends on who controls the machine, on unattended use, and on a central registry.

The first table lists where the agent runs. Docker Sandboxes blocks unlisted outgoing connections by default. Most hosted sandboxes permit all connections until the operator sets a policy.

Solution What it does Status and price Best fit
Built-in sandboxes (Claude Code, Codex, Cursor, Copilot, Gemini CLI) The local sandboxes limit files and network for shell commands. Claude Code and Gemini CLI need activation. Claude Code cloud sessions keep git credentials outside the virtual machine. Claude Code; Codex; Gemini CLI; cloud sessions Released. Included in each product. Single user, as the minimum.
Docker Sandboxes Each sandbox is a microVM with its own kernel. A host proxy adds credentials outside the virtual machine. Local MCP servers run on the host. Docker Stable releases. We found no statement that it is generally available. Local use is free. releases; product Single user and small team.
Hosted sandboxes: Vercel, E2B, Modal, Cloudflare, Daytona, Sprites Each one accepts an approved list of domains. All except Daytona can add credentials outside the sandbox. Vercel and E2B use Firecracker microVMs. Vercel; E2B; E2B repository; Modal; Cloudflare; Daytona; Sprites No preview label. Per CPU hour: Sprites $0.0385, Daytona and E2B $0.0504, Vercel $0.128, Modal $0.1419. Sprites; Daytona; E2B; Vercel; Modal Teams that build an agent service.
Cortex AES (Palo Alto Networks, from Koi) A sensor finds AI tools, MCP servers and extensions. Policies block shell commands, file access, MCP tools, skills and network requests. AES; AES blog Sold alone and in Cortex XDR One. We found no statement that it is generally available. Price not public. XDR One Enterprise with Cortex XDR.
Falcon Guardian (CrowdStrike) Hooks enforce policy in Claude Code, Codex, Copilot, OpenCode and Cursor. The emergency stop does not yet work on the computer of the user. CrowdStrike Generally available since September 2026. Price not public. Enterprise with the Falcon sensor.
Defender runtime protection (Microsoft) Defender inspects Claude Code and Copilot through their hooks. It audits or blocks prompt injection, on Windows only. Microsoft Learn; matrix Preview. It needs Defender for Endpoint Plan 2, Microsoft 365 E5 or E7, or Agent 365. setup Enterprise with Microsoft 365 E5.
Agent Harness Security (HiddenLayer) Hooks in each coding agent stop prompt injection, data exposure and unsafe commands. HiddenLayer Available since 3 August 2026. Price not public. Enterprise, independent of the vendor of its endpoint product.
Firecracker, gVisor, Kata Containers These projects isolate the kernel. The proxy for the approved list and for credentials is separate work (our inference). Firecracker; gVisor; Kata Open source (Apache 2.0). Enterprise platform team.

The second table lists controls for what the agent installs and loads. A waiting period stops a malicious release that is younger than the period. A tool that uses only lists of known malware does not stop it.

Solution What it does Status and price Best fit
GitHub package firewall A proxy filters npm requests from coding agents and CI hosts. Policies include a waiting period and a malware check. GitHub Public preview since 20 October 2026. Free in preview. Enterprise on GitHub Enterprise Cloud.
JFrog Curation A policy on Artifactory blocks each package version that is younger than a set number of days. JFrog Released. Paid addition to Enterprise X (from $950 a month). JFrog pricing Enterprise with Artifactory.
Sonatype Nexus Repository Pro+, Cloudsmith, Veracode Package Firewall Each registry proxy can block a package by age. Sonatype also examines models and MCP servers. Sonatype; Cloudsmith; Veracode Pro+ is available since 14 October 2026. Prices not public. Enterprise with that registry.
Prisma AIRS AI Supply Chain Security (Palo Alto Networks) It scans more than 35 model formats for code that runs at load time. It also scans agent skills. AIRS blog Generally available since 20 November 2026. Price not public. Enterprise that hosts models.
StepSecurity Harden-Runner, Secure Registry Harden-Runner limits the outgoing connections of CI runners to approved domains. Secure Registry holds new versions for a set period. Harden-Runner Free for public repositories. Enterprise: $16 per developer each month. StepSecurity pricing Small team with GitHub Actions.
Waiting-period settings (npm, pnpm, uv, Yarn) Each setting hides versions younger than the set age. Only pnpm has a default (1,440 minutes), and that default is not strict. npm; pnpm; uv; Yarn Released. Free. All sizes, as the first control.
Socket Firewall, Aikido Safe Chain, Datadog Supply-Chain Firewall Each tool checks a package at install against a malware list. Safe Chain also blocks versions younger than 48 hours. The Socket waiting period is off by default. Socket; Socket docs; Safe Chain; Datadog Free, no token. Socket paid plans start at $25 per developer each month. Socket pricing Single user and small team.
Snyk Agent Scan, Cisco MCP Scanner, Cisco Skill Scanner They scan agent configuration, MCP servers and skills for prompt injection and malicious code. Agent Scan sends tool descriptions to Snyk. Snyk; Cisco; Skill Scanner Open source (Apache 2.0). Agent Scan needs a Snyk token. Single user and small team.

We recommend that a single user turns on the built-in sandbox and sets a waiting period of at least one day. For unattended runs, we recommend Docker Sandboxes. This costs nothing, but the user must maintain each approved list. We recommend that a small team adds Safe Chain or Socket Firewall on each machine. Both depend on the threat data of one vendor. We recommend that an enterprise enforces the waiting period at the registry proxy, where a developer cannot turn it off. The endpoint products depend on the hooks of each agent, so they are only a second layer.

Limits of this overview: we found no statement that Cortex AES or Docker Sandboxes is generally available. The tables have no browser product, because the Island release gives no availability statement Island. We found no primary source for SentinelOne, Noma and Pluto. The documentation of Snyk Agent Scan and Cisco MCP Scanner describes no hash check of tool definitions. The overview leaves out ModelScan, HiddenLayer model scanning, Hugging Face partner scanners, CycloneDX ML-BOM tools and enterprise prices.

Filters, tests and records: filters lower risk, provider records give the evidence

An organisation needs filters and attack tests when an agent reads untrusted content. It needs records to show later what an agent did.

The first part contains guardrails (filters that examine prompts and tool results) and tools that attack an agent in a test. The second part contains products that find agents, record their actions and control the data that staff send to AI services. A guardrail is a probabilistic control: an adaptive attack bypassed each filter that researchers tested. In an adaptive attack, the attacker adjusts the attack to the filter. The choice depends on the agent platform and on the need for a record that the user cannot change.

The first table lists filters and attack test tools.

Solution What it does Status and price Best fit
Prompt Shields (Azure AI Content Safety) It classifies user prompts and documents as attacks. Researchers evaded it in 72% of character injection tests. Microsoft; arXiv 2504.11168 Released. Scan of tool responses: preview. 5,000 text records a month free, then $0.375 per 1,000. Azure; API Teams on Azure
Amazon Bedrock Guardrails It filters prompt attacks in user input. It does not evaluate tool results. We found no independent test. AWS Released. $0.15 per 1,000 text units. AWS Teams on AWS
Google Model Armor It screens prompts and responses for injection, sensitive data and malicious URLs. An adaptive attack succeeded in 90% of tests. Google; arXiv 2510.09023 Generally available on Agent Gateway since 24 June 2026. 2 million tokens a month free, then $0.10 per million. Google; price Teams on Google Cloud
OpenAI Guardrails, Anthropic tool classifiers The OpenAI library checks each tool call and output against the user goal. Anthropic scans the results of its computer use tool for injections. We found no independent test. OpenAI; Anthropic OpenAI: open source (MIT). Anthropic: on by default. GitHub Teams on these APIs
Prisma AIRS, Cisco AI Defense, Zscaler AI Guard, Falcon Guardian, Check Point AI Guardrails (Lakera), F5 AI Guardrails Each one inspects prompts and responses at an API, a gateway or the network. We found no independent test. PANW; Cisco; Zscaler; CrowdStrike; Check Point; F5 Released. We found no date when the Cisco product became generally available. Price on request. F5 list price: $100,000 a year. AWS Customers of the platform
LlamaFirewall (Meta), NeMo Guardrails (NVIDIA) These libraries put classifiers and rules around a model. An adaptive attack succeeded in 94% of tests against Meta PromptGuard. Evasion attacks succeeded in 65% to 73% of tests against the NeMo jailbreak detector (it detects bypasses of the model safety rules). Meta; NVIDIA; arXiv 2510.09023; arXiv 2504.11168 Open source (MIT, Apache 2.0). Last LlamaFirewall package: May 2025. PyPI Single user, small team
FIDES (Microsoft Agent Framework) FIDES is information flow control, not a filter: the framework labels data and checks the labels before each tool call. Microsoft Experimental. Python only. Open source (MIT). Teams with Python agents
promptfoo (OpenAI), garak (NVIDIA), PyRIT (Microsoft) promptfoo tests indirect injection, garak has more than 190 probes, and PyRIT runs adaptive attacks over several turns. promptfoo; garak; PyRIT Open source (MIT, Apache 2.0, MIT). promptfoo Community: 10,000 probes a month free. promptfoo Single user, small team

The second table lists products for discovery, records and data loss prevention.

Solution What it does Status and price Best fit
Microsoft Agent 365 It is an agent registry with a manual, read-only synchronisation from seven other platforms, for example Amazon Bedrock, Vertex AI and Agentforce. Microsoft Generally available since 1 May 2026. $15 per user per month. Microsoft Enterprise on Microsoft 365
Microsoft Purview Audit and DSPM for AI Audit records Copilot and agent interactions. DSPM for AI finds use of third-party AI sites through a browser extension. Audit; DSPM Released. Default retention: 180 days. Teams on Microsoft 365
Okta ISPM It finds Copilot Studio agents, MCP servers, unapproved AI apps and OAuth grants. Okta; blog Generally available since 1 September 2026. Discovery on the computers of users: Early Access. Price on request. Enterprise with Okta
Wiz AI-SPM (Google), Noma, Zenity, Pillar (Vanta, pending) Wiz makes an inventory of AI services, agents and MCP use in code and cloud, and it installs no software for this. The specialists add SaaS agent builders, the computers of users and detection while the agent runs. Wiz; blog; Noma; Zenity Released. List price on AWS Marketplace: Noma $200,000, Pillar $175,000 a year. Noma; Pillar Enterprise with several agent platforms
Compliance APIs of OpenAI and Anthropic The provider keeps these records of users, conversations and agent sessions. OpenAI calls its stream append-only and keeps it 30 days. Anthropic keeps its Activity Feed 6 years. OpenAI; Help; Anthropic Released. An Enterprise plan is necessary (Anthropic: or Console). Enterprise
OpenTelemetry export of Claude Code and Codex, with Langfuse (ClickHouse) or Arize Phoenix Each client sends monitoring data to a server that accepts the OpenTelemetry protocol (OTLP). A team can operate this server itself. OpenAI states that these events are not a complete record of local actions. Claude Code; Codex; Langfuse; Phoenix Export: included. Langfuse: open-source core, cloud $0 to $2,499 a month. Phoenix: Elastic License 2.0. Langfuse Single user, small team
SentinelOne Prompt Security, Harmonic Security, F5 Workforce AI Security (former SurePath AI) They give data loss prevention for AI use and discovery of unapproved AI. Harmonic uses a browser extension and a local MCP gateway. F5 needs no software on the computer of the user. SentinelOne; Harmonic; F5 Prompt Security: generally available since 5 November 2025. SurePath list price: $24,000 a year for 250 users. AWS Enterprise

For a single user, we recommend no purchase: the provider safeguards, garak or promptfoo, and OpenTelemetry export to a local Langfuse are sufficient. The user can change that record. For a small team, we recommend the guardrail of its cloud provider as a second layer behind the sandbox, with promptfoo in CI. The disadvantage is incomplete coverage: Bedrock Guardrails does not evaluate tool results, and the Azure scan of tool responses is in preview. For an enterprise, we recommend the provider compliance records in the SIEM as the audit log, and Agent 365 or Okta ISPM for the inventory. Buy a specialist such as Noma or Zenity only for agents on several platforms, and require an adaptive attack test before each guardrail purchase.

Limits of this overview: we could not verify the price of Check Point AI Guardrails or the prices of Datadog and Grafana. We could not verify the date when Cisco AI Defense became generally available. The pages of Zscaler AI Guard and Netskope did not open. No provider documents a signature or a hash chain for its compliance records. The overview leaves out Guardrails AI, AgentDojo, attack test services (Zscaler SPLX, Mindgard, HackerOne) and the CaMeL code, which Google calls a research artifact CaMeL.

19Market landscape

The product categories and the number of vendors

Prompt Security, a vendor that SentinelOne owns, publishes the most complete public map of the market. On 1 December 2026 the map listed 490 vendors and 39 acquisitions Prompt Security map. The counts in the table come from that map.

Category Vendors in map Platform examples Specialist or open-source examples
Guardrails (filters that examine prompts and answers while the agent runs), AI gateway or firewall 251 Prisma AIRS with Portkey, Cisco AI Defense, Zscaler AI Guard, CrowdStrike Falcon Guardian, Model Armor HiddenLayer, Straiker, NeMo Guardrails, LlamaFirewall
AI security state management (AI-SPM) and discovery 78 Prisma AIRS, SentinelOne, Wiz (Google) Noma, Zenity, Pillar
Agent identity and non-human identity 127 Entra Agent ID, Okta for AI Agents, CyberArk (Palo Alto Networks), Astrix (Cisco), Oasis (Cyera) Token Security, Aembit, Defakto, Teleport
MCP security and gateways 119 AgentCore Gateway, Cloudflare portals, Kong Runlayer, Obot, agentgateway, ContextForge, Docker MCP Gateway
Protection of agents on the computer of the user (endpoint products) 52 Cortex AES (Koi, no statement of general availability found), Falcon Guardian (generally available), Defender (preview) Pluto, Noma, HiddenLayer Agent Harness
AI attack tests 101 Zscaler SPLX, A10 TrojAI, OpenAI promptfoo garak, HackerOne AI Red Teaming
Governance and monitoring (observability) 321 Agent 365, Purview, Varonis (AllTrue) WitnessAI, Geordie
Data loss prevention for AI and shadow AI (AI that staff use without approval) 77 SentinelOne Prompt Security, F5 Workforce AI Security (former SurePath AI), Proofpoint Acuvity Harmonic

The products do not cover all security functions equally. Of the 239 products in the AI Defense Matrix of Lenny Zeltser, nine cover at least one Respond capability and two cover Recover Zeltser. We think that this shows a lack of services more than a lack of products.

Products reach general availability later than their announcement

The core products of the large cloud providers are generally available (released for all customers, and no longer a preview). Agent 365 and E7 reached general availability on 1 May 2026 Microsoft Tech Community. Policy in AgentCore reached general availability on 3 March 2026 AWS What's New. At Google, Model Armor for Agent Gateway and Agent Registry is generally available Google release notes.

The agent identity products are also generally available. Okta for AI Agents reached general availability on 30 April 2026 as a separate paid subscription Okta. The Microsoft Entra Agent ID platform reached general availability in April 2026 for all Entra customers. Only its security features for agents need Agent 365 Microsoft Learn. Agent Identity from Google reached general availability on 22 April 2026 Google IAM release notes.

The security platforms became generally available later than their announcements, and the vendor release notes show that this delay is now shorter. The Palo Alto Networks AI Agent Gateway was in limited preview at its launch on 23 March 2026. The Prisma AIRS AI Gateway reached general availability on 16 July 2026 Palo Alto Networks. The CrowdStrike AI Gateway was pre-beta on 1 September 2026 and reached general availability on 3 November 2026. CrowdStrike stopped Falcon AIDR on 30 November 2026 and replaced it with Falcon Guardian CrowdStrike; CrowdStrike AIDR docs.

The Microsoft documentation of 20 November 2026 still labels one Defender feature as preview: the protection of local agents while they run Microsoft Learn. CyberArk Secure AI Agents reached general availability in December 2025. Its integration with the Prisma AIRS AI Gateway reached general availability in October 2026 under the Idira brand.

Only some prices are public. The large cloud providers publish prices for each unit of use. AgentCore Policy costs $0.000025 per authorisation request AWS. Model Armor costs $0.10 per million tokens Google Cloud. The specialist platforms have list prices of $100,000 to $200,000 a year on AWS Marketplace (Noma, Pillar, Aim, F5 AI Guardrails, WitnessAI). Private offers are usual on that marketplace.

Large vendors bought three groups of specialist vendors

In the first group (2024 to 2025), buyers acquired vendors of guardrails and model security. The targets were Protect AI, Prompt Security, Lakera, Pangea, CalypsoAI, Aim and the company behind Cisco AI Defense. Cisco bought that company in September 2024. In the second group (2026), buyers acquired vendors of identity, non-human identity and browser products: CyberArk, SGNL, Astrix, Entro, Oasis, Natoma, Seraphic, LayerX. In the third group (2026), buyers acquired vendors of gateways, endpoint products for agents and attack test tools: Portkey, Koi, Promptfoo, TrojAI, Dreadnode.

Buyers acquired private vendors of agent identity quickly. In November 2025 Gartner named ten of these vendors. Buyers acquired four of them in twelve months or less: Natoma, Astrix, Entro and Oasis. Filings and company releases confirm the four deals. The Gartner list of ten is behind a paywall and comes from a secondary source Software Strategies Blog.

Announced / closed Acquirer Target Value Category Source
28 Apr / 22 Jul 2025 Palo Alto Networks Protect AI $634.5M per 10-K ($650M to $700M reported) Model scanning, protection while the agent runs PANW 10-K FY2025
30 Jul 2025 / 11 Feb 2026 Palo Alto Networks CyberArk about $25B equity value at announcement, $21.1B purchase consideration at close per 10-K Identity, privileged access management, non-human identity PANW 8-K exhibit; PANW 10-K FY2026
5 Aug / 5 Sep 2025 SentinelOne Prompt Security about $180M at closing per 8-K, $160.2M fair value per 10-K (about $250M reported) Data loss prevention for prompts, protection while the agent runs SentinelOne 8-K; 10-K
16 Sep / 26 Sep 2025 CrowdStrike Pangea $222.7M per 10-Q (about $260M reported) Guardrails CrowdStrike 10-Q
16 Sep / 22 Oct 2025 Check Point Lakera about $201.8M per 20-F (about $300M reported) Guardrails Check Point 20-F
11 Sep / 26 Sep 2025 F5 CalypsoAI $145.2M cash per 10-K (about $180M announced) Guardrails, attack tests F5 10-K
8 Jan / 20 Feb 2026 CrowdStrike SGNL $627.9M cash plus $9.2M equity awards per 10-Q ($740M reported) Authorisation while the agent runs CrowdStrike 10-Q
17 Feb / 14 Apr 2026 Palo Alto Networks Koi Security $231M per 10-K, plus $61M equity awards for future service ($400M reported) Endpoint product for agents PANW 10-K FY2026
9 Mar 2026 OpenAI Promptfoo undisclosed Open-source evaluation and attack tests OpenAI
30 Apr / 29 May 2026 Palo Alto Networks Portkey $117M per 10-K ($120M to $140M reported) AI gateway PANW 10-K FY2026
4 May / 29 Jun 2026 Cisco Astrix Security undisclosed by Cisco, about $400M reported (all FY2026 Cisco acquisitions total $550M per 10-K) Non-human identity, agent identity Cisco; Cisco 10-K
closed 3 Jun 2026 Snowflake Natoma $128.3M per 10-Q Agent identity Snowflake 10-Q
15 Jun / 29 Jun 2026 SailPoint Entro Security about $122.6M cash per 10-Q (about $200M reported) Non-human identity SailPoint 10-Q
28 Jul (letter of intent) / 3 Sep 2026 Cyera Oasis Security $1B, disclosed by Cyera Non-human identity Cyera release, syndicated copy
29 Oct 2026 (pending) CrowdStrike Fiddler Labs $400.0M base consideration per 10-Q AI monitoring (observability), guardrails CrowdStrike 10-Q
3 Nov / 20 Nov 2026 CrowdStrike Dreadnode $77.2M per 10-Q ($95M reported) Offensive AI, attack tests CrowdStrike 10-Q
9 Nov 2026 (pending) Vanta Pillar Security undisclosed AI security state (AI-SPM), attack tests Vanta
23 Nov 2026 (pending) CrowdStrike Zscaler about $43.9B, in stock only Network security, zero trust CrowdStrike 8-K exhibit

The deals have three consequences. First, the filings show prices of $145M to $635M for the acquisitions of the first group. These prices suggest that buyers see AI protection in operation as a feature of network security (SASE), detection (XDR) or identity suites (our inference). Second, fewer tools are independent of a vendor. Promptfoo belongs to OpenAI, Portkey belongs to Palo Alto Networks, and the llm-guard repository of Protect AI is archived druce.ai; llm-guard repository.

Third, the values that the press reported are roughly 2% (Protect AI) to 75% (Koi) higher than the filed values. Thus a value from the press is an upper limit.

One confirmed deal is not in the table because the target is not a security product. On 18 November 2026 Palo Alto Networks agreed to buy Applied Compute, an open-weight model platform, for $4.5B in stock PANW 8-K exhibit.

Surveys show less visibility than organisations claim

This subsection summarises four surveys of agent incidents and of the visibility of AI use.

Survey Sample Findings
Okta, AI Agents at Work 2026 784 (292 executives) 58% of executives report an AI-related incident or a near incident in 12 months. 52% of knowledge workers use AI tools that are not approved. Okta
CSA with Token Security 418 65% had at least one AI agent incident in the last year. 82% found agents that staff use without approval. 68% reported high confidence in visibility. CSA
Gravitee, April 2026 750 54% had or suspected an agent incident. 19.7% secure and govern all agents before the agents go into operation. TechCrunch, sponsored
OneTrust 1,200 86% had at least one AI-related incident. 5% report clear visibility of approved and unapproved AI. OneTrust

A vendor ran or paid for each of the four surveys. Independent surveys cover AI policy and readiness, and they do not cover agent identity. ISACA (May 2026, more than 3,400 respondents) found that 38% of organisations have a formal AI policy. It found that 56% do not know how fast they could stop an AI system ISACA. The UK Cyber Security Breaches Survey of April 2026 asked 2,112 businesses. Of the businesses that use AI, 24% have cyber security practices for AI risk UK government.

The incident rates (54% to 86%) use definitions that each vendor chose, so the rates are not comparable. The consistent result is the difference between the visibility that organisations claim and the unapproved use that they find. Each sample consists of executives or leaders of large enterprises.

20What could not be verified and where sources conflict

This section lists the statements that we could not confirm and the points where sources disagree. On 2 December 2026 a second check compared the items in this section with primary sources. The sources were agency documents, SEC filings, vendor release notes, incident reports from maintainers and the cited papers. Each item states what the check resolved and what stays open. The detailed evidence is in the research notes (verification_*.md).

  • Five Eyes guidance. Resolved. The live PDF on media.defense.gov returns HTTP 403 (access refused) to automated clients. We read the document in the Internet Archive capture of 1 May 2026 and in the ASD web version. The document lists five risk categories (privilege, design and configuration, behaviour, structural, accountability), and this list agrees with CSA. The four items that Crowell gives are sub-headings and are not the classification ASD; Internet Archive copy of the PDF.
  • Framework details. Resolved, one point open. CISA released ZTMM v2.0 (its Zero Trust Maturity Model) on 11 April 2023. The guide from Anthropic uses different tier names in the PDF (Foundation, Enterprise, Advanced) and in the blog summary (Foundation, Advanced, Optimized). We use the wording of the PDF. The PDF has seven capability domains, and this handbook uses that count. Secondary sources give different MITRE ATLAS counts because ATLAS started monthly releases in May 2026. The current release is v2026.11 (27 November 2026): 16 tactics, 137 techniques, 98 sub-techniques, 44 mitigations and 85 case studies ATLAS changelog. The CoSAI paper has the date 4 September 2026 (board approval), and CoSAI published it on 16 September 2026.
  • Supply chain details. Resolved, two points open. The incident report from TanStack does not discuss the signed proof of origin of the packages. StepSecurity and the SLSA project confirm that the May 2026 packages had valid npm provenance. The signed proof of origin was at SLSA Build L2, and many sources reported L3. For the March LiteLLM backdoor, PyPI gives 2 hours 32 minutes from upload (10:39 UTC) to quarantine. The window of the maintainer, 10:39 to 16:00 UTC, ends at deletion. The figure of the maintainer, about 40 minutes, contradicts PyPI. The AGENTS.md success rates measure different stages. The rate is more than 90% for the execution of the malicious content by Codex. The rate is about 50% for the redirect of the Claude Code endpoint. The rate for code execution in the same session is about a fifth. Open points: Forever Security gives no trial counts or model versions, and only OX Security reports the MCP Registry delivery in August 2026.
  • Deal values. Resolved, two points open. Fourteen of the eighteen values in the table now come from SEC filings, and one comes from a company release. Six values from the press were too high in comparison with the filings (Protect AI, Prompt Security, Pangea, Lakera, Koi, Dreadnode). The $4.5B deal of Palo Alto Networks is real: the target is Applied Compute (8-K of 18 November 2026). Vanta signed a definitive agreement to buy Pillar Security on 9 November 2026. Open points: Cisco does not disclose the Astrix value, and only one anonymous source reports talks between Palo Alto Networks and Clutch TechCrunch, secondary.
  • General availability status. Resolved, four points open. We compared the preview labels and the general availability labels with the vendor release notes again. CyberArk Secure AI Agents reached general availability in December 2025. October 2026 is the general availability date of its integration with the Prisma AIRS AI Gateway under the Idira brand. Open points: we found no general availability date for four products. The products are the original Prisma AIRS, Cisco AI Defense, the Model Armor base product and the agentic MCP features of SentinelOne.
  • Left out as disputed. We left out the AWS Cost Explorer interruption of December 2025, which the Financial Times attributed to the Kiro agent of Amazon. Amazon confirms the event and confirms that a misconfigured role was involved. Amazon denies that AI was the cause Amazon; The Register. We did not read the Financial Times article (paywall). We also left out incidents that only one blog reports. The second LiteLLM incident is confirmed and is now in the supply chain section.
  • Product name. Not resolved. On 2 December 2026, the Cursor documentation redirected to docs.grok.com and named the product "Grok Build". We did not research the cause, and this handbook uses the name Cursor.
  • Still not available. No source publishes a sandbox escape rate for each product. The nearest measurement is SandboxEscapeBench, where Opus 4.5 escaped in 56% of container samples arXiv 2603.02277. There are also seven disclosed bypasses across Cursor, Codex, Gemini CLI and Antigravity Pillar Security. CVE-2026-25725 is a bubblewrap escape in Claude Code. No independent survey measures the adoption of agent identity. We did not find Azure Marketplace prices or GSA prices.
  • Statistics. Resolved. We checked sixteen main figures at the primary source, and twelve stay unchanged. We corrected one defence name (MetaSecAlign), the Rehberger bypass rate (60% to 80% on 15 runs) and three citations. We also corrected the base of the METR figure: 533 agents on the message board, not all agents. A quotation about the automatic pause of OpenAI was not in its source, and we removed it.
  • Our own inference. The control sets for each size of organisation and the ranking of controls are our inference. We made them from the root causes of incidents and from the capabilities of vendors. No source provides them.

21Source list

Sources are listed under the section that cites them first. Confidence flags appear next to the claims in the text.

Summary

What zero trust means when the subject is a model or an agent

Identity

Least privilege

Context

Prompt injection

Supply chain

Rogue agents

Auditability

Monitoring and response

Integrity, recovery and governance

Workforce security and provider terms

Single user

Small team

Enterprise

Solution overview by control area

Market landscape

What could not be verified and where sources conflict

Added in the verification pass of 2 December 2026