LIVEยทThe trends shaping tomorrow's world.
AI

AI Agent Security and Governance: Risks and Controls

The main security risks of AI agents, from goal hijacking to excessive agency, and the controls that reduce them, mapped to OWASP, NIST AI RMF and MCP.

AI agent security is the practice of keeping autonomous AI systems from being tricked, misconfigured or over-empowered into doing harm, while AI agent governance is the set of policies, ownership and oversight that decides what agents may do in the first place. The core problem is simple to state: agents read untrusted content and hold real permissions, and today's models can't reliably tell instructions from data. The fix isn't a smarter prompt. It's classic security engineering (least privilege, strong identity, mediation of every action and good logs), applied to a new kind of user.

If you're new to agents, start with what agentic AI is and how agents call tools.

Why agents change the security model

A chatbot that gives a wrong answer is a quality problem. An agent that takes a wrong action is a security incident. Three properties make agents different:

  1. They act. Agents send email, run code, edit files and call APIs on someone's behalf.
  2. They read untrusted input. Web pages, emails, documents, tickets and tool outputs all flow into the model's context.
  3. They decide at runtime. The sequence of actions isn't fixed in code; the model chooses it.

Put those together and you get the defining agent risk, which NIST's Center for AI Standards and Innovation (CAISI) calls agent hijacking: a form of indirect prompt injection where an attacker hides instructions in data the agent processes, steering it toward a different, harmful task [5]. CAISI traces it to the lack of a clear separation between trusted instructions and untrusted data [5]. NIST's Generative AI Profile likewise notes that indirect prompt injection lets attackers exploit LLM-integrated applications remotely "by injecting prompts into data likely to be retrieved" [9].

The main risks, according to OWASP

Two OWASP lists, both maintained by the OWASP GenAI Security Project, are the most widely used references.

OWASP Top 10 for Agentic Applications

Published December 9, 2025, this list focuses on autonomous agents [1]:

ID

Risk

In plain terms

ASI01

Agent Goal Hijack

Inputs redirect what the agent is trying to achieve

ASI02

Tool Misuse

Legitimate tools used in harmful ways

ASI03

Identity & Privilege Abuse

Agents misuse or inherit credentials and permissions

ASI04

Agentic Supply Chain Vulnerabilities

Compromised tools, plugins, MCP servers or models

ASI05

Unexpected Code Execution

Agent-generated or agent-triggered code runs unsafely

ASI06

Memory & Context Poisoning

Tainted memory or context corrupts later decisions

ASI07

Insecure Inter-Agent Communication

Messages between agents spoofed or tampered with

ASI08

Cascading Failures

One agent's error propagates through connected systems

ASI09

Human-Agent Trust Exploitation

People over-trust or are misled by agents

ASI10

Rogue Agents

Agents acting outside intended boundaries

The "in plain terms" column is our summary; see the OWASP publication for full definitions.

OWASP Top 10 for LLM Applications 2026

Published August 4, 2026, the updated LLM list ranks Prompt Injection first, Sensitive Information Disclosure second and Excessive Agency third, up from sixth in 2025 [2][3][4]. OWASP said the new edition drew on research into thousands of real-world AI security incidents, and that expert judgment and incident data "agree most clearly" on excessive agency [3].

OWASP's 2025 guidance breaks excessive agency into three root causes: excessive functionality (tools the agent doesn't need), excessive permissions (more access than the task requires) and excessive autonomy (high-impact actions without independent checks) [4]. Almost every agent incident pattern traces back to one of the three.

Controls that actually reduce risk

No single control stops agent attacks. CAISI's testing illustrates why: one model that resisted previously known attacks saw attack success jump from 11% to 81% under new attacks tailored to it, and repeating attacks 25 times raised average success from 57% to 80% because model outputs vary from attempt to attempt [5]. Assume the model will sometimes be fooled, and design so that being fooled doesn't matter much.

1. Least functionality and least privilege

  • Give each agent only the tools its task needs; avoid open-ended tools, such as ones that run any shell command or fetch any URL [4].
  • Use narrow, scoped credentials, such as a read-only database identity [4].
  • Run tools in the context of the specific user, with minimal scopes, so the agent can never see more than the person it serves [4].

2. Strong identity and authorization for every agent

Treat agents as first-class identities, not shared service accounts. This is zero trust applied to software actors; our upcoming guide to identity and access management covers the underlying concepts.

The Model Context Protocol gives a concrete model for agent-to-tool authorization. In its 2026-07-28 specification, protected MCP servers act as OAuth 2.1 resource servers [10]. Clients must use resource indicators (RFC 8707) to name the server a token is for, and servers must validate that tokens were issued specifically for them and "MUST NOT accept or transit any other tokens" [10]. The companion security guidance calls token passthrough an explicitly forbidden anti-pattern and recommends a progressive, least-privilege scope model rather than broad, wildcard scopes [11].

NIST is working on standards here too. Its AI Agent Standards Initiative, launched February 17, 2026, includes research on agent authentication and identity infrastructure, and NIST's National Cybersecurity Center of Excellence released a draft concept paper on agent identity and authorization for public comment [6].

3. Complete mediation: enforce in code, not in prompts

OWASP recommends enforcing authorization in downstream systems instead of relying on the model to decide whether an action is allowed [4]. System prompts are guidance; access controls are guarantees.

4. Isolate untrusted content from decisions

The most promising defences change the architecture so injected text can't steer actions:

  • CaMeL (a 2025 research system) has a privileged model write a plan from the trusted user request, while a separate quarantined model with no tool access parses untrusted data. A custom interpreter tracks where data came from and checks security policies before each tool call [12]. On the AgentDojo benchmark it solved 77% of tasks with provable security, versus 84% for an undefended system [12]. Its authors are clear that it doesn't solve prompt injection completely [12].
  • Design patterns. A June 2025 paper proposed six patterns, including plan-then-execute, dual LLM and action-selector, built on one principle: once an agent has ingested untrusted input, it "must be constrained so that it is impossible for that input to trigger any consequential actions" [13].

Our guide to RAG security, prompt injection and guardrails covers these defences in more depth.

5. Human approval for high-impact actions

Require a person to approve irreversible or sensitive actions such as payments, deletions and external communications [4]. Design the approval screen carefully; see our guide to human-in-the-loop AI systems.

6. Sandboxing and supply-chain hygiene

Agents that run code or local tools need containment. MCP's security guidance says clients offering one-click setup of local servers must show the exact command and get explicit user consent, and should run servers in sandboxes with minimal default privileges [11]. Vet third-party tools and servers like any other dependency. The risks of local agents with broad device access are a live debate, as our coverage of OpenClaw's local AI agents shows.

7. Logging, monitoring and rate limits

Log every prompt, tool call, argument, result and approval with correlation IDs. OWASP notes logging and rate limiting don't prevent excessive agency but do limit the damage [4]. MCP's tool specification requires servers to rate-limit tool invocations and asks clients to log tool usage for audit [15].

8. Adaptive red teaming

Test with attacks designed for your system, repeat each attempt many times, and look at task-level results rather than averages, which CAISI found can hide large differences in risk [5].

Governance: who decides what agents may do

Security controls answer "how." Governance answers "who, what and whether." The NIST AI Risk Management Framework, a voluntary framework released January 26, 2023, gives a structure most US organizations already know [7]. Its four functions map neatly onto agent programs [8]:

AI RMF function

What NIST says it does

Agent governance in practice

Govern

A "cross-cutting function that is infused throughout AI risk management"

Name an owner for every agent; set policy on which actions require approval; define acceptable tools and data

Map

"Establishes the context to frame risks related to an AI system"

Inventory agents, their tools, permissions, data sources and the people affected

Measure

Uses "quantitative, qualitative, or mixed-method tools" to assess risk

Red-team for hijacking, track approval and override rates, measure task success and failure modes

Manage

"Allocating risk resources to mapped and measured risks on a regular basis"

Remove unused tools, rotate credentials, maintain a kill switch, run incident response

NIST says the AI RMF is being revised under the White House AI Action Plan [7], and its Generative AI Profile (July 2024) adds risks specific to generative AI, including information security and human-AI configuration [9].

A practical governance checklist:

  • Agent inventory. Know every agent in production, who owns it, and what it can touch.
  • Tiered autonomy. Classify actions by impact; tie each tier to approval rules.
  • Change control. Treat new tools, new permissions and model upgrades as changes requiring review.
  • A kill switch. The EU AI Act requires that overseers of high-risk systems be able to stop them through "a 'stop' button or a similar procedure" [14]. It's sound practice for any agent.
  • Incident playbooks that cover agent-specific failures: hijacking, runaway loops, leaked credentials.

Standards to watch (as of November 2026)

  • OWASP Agent Control Standard. In September 2026 OWASP's GenAI Security Project announced it had received the Agent Control Standard as a donation, focused on runtime enforcement for agents [3].
  • NIST AI Agent Standards Initiative. CAISI's program covers industry-led standards, open protocols and agent security and identity research [6].
  • MCP authorization. The protocol's OAuth-based model continues to evolve; the 2026-07-28 revision deprecated dynamic client registration in favour of client ID metadata documents [10][11].
  • EU AI Act human oversight for high-risk systems, which the July 2026 AI Omnibus amendment pushed back to December 2, 2027 for stand-alone (Annex III) systems and August 2, 2028 for AI in regulated products (Annex I); see our human-in-the-loop guide for timing.

AI is also changing the attacker and defender sides of security itself; see our coverage of OpenAI's cyber-focused GPT-5.4 update and the race between security AI agents.

Benefits of getting this right

  • Agents can be given more useful work because their blast radius is contained.
  • Incidents become investigable because every action is attributable.
  • Compliance reviews go faster with an inventory and documented controls.
  • Teams can adopt new models without re-architecting security, because controls live outside the model.

Limitations

  • Prompt injection remains unsolved at the model level. Even the strongest architectural defences trade away some usefulness and leave residual risks [12][13].
  • Approvals don't scale indefinitely, and reviewers can be misled.
  • Standards are young. Most agent security guidance is voluntary and changing quickly [6].
  • Multi-agent systems compound risk, as failures and spoofed messages cascade; see multi-agent systems explained.

Frequently asked questions

What is the biggest security risk with AI agents?

Goal hijacking through indirect prompt injection: hidden instructions in content the agent reads that redirect its actions. It tops OWASP's agentic list as ASI01, and prompt injection tops the 2026 LLM list [1][2]. The damage it can do depends on the agent's permissions, and excessive agency ranks third on the same list [2].

Can a better system prompt make an agent secure?

No. Prompts guide behaviour but can't enforce it, and NIST's testing found new attacks succeeding against models that resisted older ones [5]. Enforce permissions, approvals and data isolation in code and in downstream systems [4].

How should AI agents authenticate to tools and APIs?

With their own scoped credentials, ideally acting on behalf of a specific user with minimal permissions [4]. For MCP-based tools, the specification uses OAuth 2.1 with audience-bound tokens that servers must validate and must not pass through [10][11].

What is the OWASP Top 10 for Agentic Applications?

A list of the ten most critical security risks for autonomous AI agents, published by the OWASP GenAI Security Project on December 9, 2025 [1]. It runs from ASI01 Agent Goal Hijack to ASI10 Rogue Agents and complements the OWASP Top 10 for LLM Applications [1][2].

Is there a US law governing AI agent security?

Not specifically, as of November 2026. US guidance is largely voluntary, led by the NIST AI RMF, its Generative AI Profile and NIST's AI Agent Standards Initiative [6][7][9]. Organizations operating in the EU also face the AI Act's requirements for high-risk systems [14].

Sources

  1. OWASP GenAI Security Project. "OWASP Top 10 for Agentic Applications." December 9, 2025. https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/
  2. OWASP GenAI Security Project. "OWASP Top 10 for LLM Applications 2026." Published August 4, 2026. https://raw.githubusercontent.com/GenAI-Security-Project/GenAI-LLM-Top10/main/README.md
  3. OWASP GenAI Security Project. "OWASP GenAI Security Project unveils 2026 Top 10 for LLM Applications, new Agent Control Standard and sponsors." September 2026. https://genai.owasp.org/2026/09/01/owasp-genai-security-project-unveils-2026-top-10-for-llm-applications-new-agent-control-standard-and-sponsors-as-community-tops-30000-members/
  4. OWASP GenAI Security Project. "LLM06:2025 Excessive Agency." https://genai.owasp.org/llmrisk/llm062025-excessive-agency/
  5. NIST CAISI. "Technical Blog: Strengthening AI Agent Hijacking Evaluations." January 17, 2025 (updated December 19, 2025). https://www.nist.gov/news-events/news/2025/01/technical-blog-strengthening-ai-agent-hijacking-evaluations
  6. NIST CAISI. "AI Agent Standards Initiative." Updated November 9, 2026. https://www.nist.gov/caisi/ai-agent-standards-initiative
  7. NIST. "AI Risk Management Framework." https://www.nist.gov/itl/ai-risk-management-framework
  8. NIST AIRC. "AI RMF Core." https://airc.nist.gov/airmf-resources/airmf/5-sec-core/
  9. NIST. "Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile" (NIST AI 600-1). July 2024. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
  10. Model Context Protocol. "Authorization." Specification revision 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization
  11. Model Context Protocol. "Security Best Practices." Specification revision 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices
  12. Debenedetti, E. et al. "Defeating Prompt Injections by Design." arXiv:2503.18813, March 2025. https://arxiv.org/abs/2503.18813
  13. Beurer-Kellner, L. et al. "Design Patterns for Securing LLM Agents against Prompt Injections." arXiv:2506.08837, June 2025. https://arxiv.org/abs/2506.08837
  14. EU AI Act, Article 14: Human Oversight, via AI Act Explorer. https://artificialintelligenceact.eu/article/14/
  15. Model Context Protocol. "Tools." Specification revision 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/server/tools