Est.
FeaturesLong read

How to Run a Security Risk Assessment on an AI Agent

Audit six dimensions to find the governance gaps in your agents.

· 9 min read
Cover illustration for “How to Run a Security Risk Assessment on an AI Agent”
Features · November 13, 2026 · 9 min read · 2,056 words

Running a security risk assessment on an AI agent means auditing six dimensions, namely identity, ownership, defined scope, enforced access, traceability, and stop controls. An agent left ungoverned on any one of them is a liability the enterprise may not yet recognize. The assessment makes that exposure visible and gives teams a defensible path to production.

Why AI agents break the security model enterprises already have

In April 2026, a coding agent at a company deleted a production database and its backups after finding an API token in an unrelated file. Nothing in the execution path asked whether it should proceed. The agent exercised the access available to it. The missing control was a governance layer that bounded what it could do.

An agent can call APIs, write to databases, and chain consequential decisions together before a person reviews a log. It also lacks the firm instruction/data boundary that parameterized database queries enforce. An agent can treat an email, retrieved document, or README file as an instruction it might follow, even though it is data. The assessment must therefore check both what an agent has the authority to do and what untrusted content can steer it.

The six dimensions that define whether an agent is accountable

The State of AI Agent Security 2026, an October 2026 survey of 900 senior technology leaders across the UK and US, defines accountability through six requirements. Identity distinguishes the agent from every other actor. Ownership names the person who answers for it, while defined scope states its purpose and limits. Enforced access restricts what it can actually do. Traceability reconstructs its actions and authority, and stop controls allow the organization to contain it.

All six must work together in practice. The same survey finds that most organizations plan to add agents in the near term, while almost none plan to cut back. As that estate grows, an unanswered question in any dimension leaves a gap in control or evidence. The assessment follows these dimensions in order because they depend on one another. Weak identity makes it harder to set up ownership, enforcement, and every control that follows.

Dimension 1 — Identity: whether each agent is a distinct, accountable entity

An agent using a shared credential or borrowed human account cannot be reliably distinguished from everyone else using it. That ambiguity survives into the incident investigation. A record of the credential alone cannot establish which agent acted or under whose authority.

The assessment starts with a direct set of questions. Does every agent have its own distinct identity, rather than a service account shared with agents or humans? Is that identity provisioned and deprovisioned through a managed lifecycle? Are credentials short-lived and rotated, or static keys that never expire? Can the organization show which identity the agent used at every point in time?

Existing standards make this a reachable requirement. NIST’s February 2026 concept paper proposes applying OAuth, OpenID Connect, SPIFFE and SPIRE for workload identity, and SCIM for lifecycle management to agents. Singapore’s January 2026 national governance framework for autonomous agents also recommends verifiable digital identities and an audit trail of authorization.

Dimension 2 — Ownership: whether a named person is responsible for each agent's behavior

Identity establishes which agent acted, while ownership establishes who answers for its behavior. The survey finds that only a very small share of organizations formally assign that responsibility to a named individual, making ownership the rarest dimension to be formally established. Without one, approval of scope changes and responsibility for compliance events have no clear home.

For assessors, the test is responsibility with real authority. Does every production agent’s registry entry name a specific person? Can that person see what the agent does and approve modifications, permission changes, and decommissioning? Is there a process to transfer accountability before an agent continues operating after its owner leaves? These questions depend on the identity work already completed, because an owner cannot answer meaningfully for actions the logs cannot attribute to their agent.

Dimension 3 — Defined scope: whether the agent's purpose and limits are stated before it goes live

Scope gives the owner a baseline to approve. It names the tools an agent may invoke, the data it may read, the systems it may modify, and the actions that need human approval. Without that specification, access enforcement has nothing to enforce against. The survey finds that fewer than a third of organizations define an agent’s access scope before it goes live.

The assessment should examine the written scope itself. Does it cover tools, data sources, and systems the agent can change? Does it identify irreversible actions that require approval before execution? Was it approved before deployment, and is it formally revised when the task changes? NIST AI RMF’s Map function supports this work by documenting context, data reach, possible harms, and untrusted inputs.

Scope also sets a legal boundary for data access. GDPR’s data minimization principle and HIPAA’s minimum-necessary standard constrain how much data a task should use. An agent that queries an entire customer or patient database when a narrower dataset would suffice can create compliance exposure without any attacker present.

Dimension 4 — Enforced access: whether the agent's permissions are actively restricted, not just documented

A written limit does not block a tool call. The agent’s effective permissions are whatever it can reach, regardless of what its scope document says. The survey finds that policy is enforced on roughly half of agents, on average. It also distinguishes watching an agent, securing it, and enforcing what it may do. Treating those activities as interchangeable creates false confidence.

The assessment should look for a runtime enforcement point, such as a gateway, policy engine, or MCP access control layer. Does it block calls and data access that the approved scope does not allow? Are permissions restricted to the task and reviewed when that task changes? Must a human approve deletions, financial transactions, and permission changes? Are tool-call payloads scanned for secrets or sensitive data, and does each agent have a rate or spend cap?

A central layer can enforce those requirements across the whole fleet. Without enforcement, the damage from prompt injection, a credential leak, or a misconfigured tool expands with the agent’s permissions. The OWASP Top 10 for Agentic Applications 2026 names Tool Misuse & Exploitation and Agent Identity & Privilege Abuse as threats that take advantage of this gap.

Dimension 5 — Traceability: whether the organization can fully reconstruct what an agent did and under whose authority

The survey finds that only one in eight organizations can fully reconstruct what an agent did in the recent past and whose authority it used. That leaves enforcement difficult to prove after the fact. Traceability must connect the agent, its authorization, the data accessed, the tool called, and the result. A tool-call record alone may omit the input that shaped the action.

Memory and Context Poisoning illustrates why that omission is dangerous. An attacker can plant false instructions in persistent memory that the agent recalls days or weeks later. Without tamper-evident records of what it read and remembered, the organization cannot reliably detect the poisoning or bound its effects. EchoLeak, identified as CVE-2025-32711 in June 2025, similarly showed how a crafted email could cause Microsoft 365 Copilot to exfiltrate internal data without user interaction.

Are tool calls, triggering inputs, outputs, prompts, and permission decisions recorded as structured, queryable events? Can the agent or an attacker alter those records? Can anomalies be detected during execution, or only after a session ends? EU AI Act Articles 12 and 14 make logging and human oversight requirements for high-risk systems applicable from December 2, 2027.

Dimension 6 — Stop controls: whether the organization can revoke an agent's access across all systems within a defined window

An agent that can be traced but not stopped remains an active risk. The survey finds that only a very small share of organizations can revoke a misbehaving agent’s access to all systems within an hour. Manual revocation across separate systems leaves containment dependent on how quickly people can work through them. That is a poor match for machine-speed action.

Is there one point that cuts access across all connected systems, and is the completion window defined and measured? Can a circuit breaker suspend an agent automatically when anomalous behavior appears? Have these controls been exercised to verify that they work? If a third-party MCP server is compromised, can its access to agents be removed without taking those agents entirely offline?

Containment is what makes continued operation defensible after a failure. Gartner warns that a large share of enterprises will demote or decommission autonomous agents by 2027 because of governance failures. Organizations unable to stop an agent when necessary may eventually have to stop it permanently.

NIST AI RMF supplies a method for the existing assessment. Govern addresses ownership and the registry, Map defines scope and classifies inputs, Measure supports traceability and risk scoring, and Manage covers access enforcement and stop controls. The ISO/IEC AI management system standard gives organizations a way to show that the program works and earn certification for it.

The legal obligations depend on the deployment. The EU AI Act sets requirements for the systems it covers, while GDPR and HIPAA limit what data an agent may access within its scope. CISA and Five Eyes’ May 2026 guidance reinforces the operational picture through five risk categories, namely privilege, design and configuration, behavioral, structural, and accountability risks. The six dimensions give teams a way to surface those risks without substituting a framework survey for control testing.

Running the assessment: a sequenced approach across the six dimensions

To put the framework into practice, begin with Step 1, building the registry. Inventory every production agent, every MCP server it can call, and every tool available to it. This comes before scoring or remediation. The survey reports that large agent estates have more than doubled since April 2026, so an incomplete inventory can leave the assessment examining a smaller fleet than the organization actually operates.

Step 2 is to score each registered agent. Work through identity, ownership, defined scope, enforced access, traceability, and stop controls in that order. Record each dimension as fully addressed, partially addressed, or absent, then score the likelihood and impact of the identified risks. The output is a per-agent scorecard that keeps exposed agents visible.

Step 3 is to prioritize by potential damage. Rank remediation by permission breadth and deployment exposure, rather than fixing one dimension across the entire fleet first. An agent with too many permissions and internet-facing tool calls comes before an internal agent with a narrow scope and no named owner. Escalate traceability and containment gaps in highly autonomous agents, using the OWASP taxonomy and CISA’s behavioral and structural categories to support the ranking.

Step 4 is to enforce policy at a central gateway. Route agent tool calls through a shared control point so that policy can be applied and audited without changing each agent on its own. Keep the logs this produces out of the agent’s control.

Step 5 is to exercise the stop controls. Define the target revocation window first, revoke a non-critical agent’s access across all systems, and measure the time to completion. Document the result as part of the assessment output. Then simulate a compromised MCP server and test whether it can be removed from all agents without taking the agents entirely offline. Repeat assessment as the estate and its permissions change.

What happens to organizations that keep deploying without closing these gaps

Unclosed gaps turn ordinary deployment decisions into unresolved exposure. Shared identities obscure responsibility, undefined scope permits unnecessary data access, and missing enforcement allows that access to become action. With weak tracing, the organization cannot explain the result, and with untested stop controls, it cannot be sure how long the activity can go on. The survey finds that leaders’ confidence is falling as the gap between deployment and governance becomes visible.

A blanket ban does not resolve those gaps. When teams hide their use of agents, those agents fall outside the organization’s controls, while an approved route gives teams the tools they want with limits the organization can enforce. The assessment enables that route by establishing who answers for an agent, what it may do, and whether it can be contained.

More in Features