What is agentic AI security? A definition
Agentic AI security is the discipline of identifying, testing and controlling the actions, permissions and inputs of AI agents. An AI agent is software in which a language model decides which tools to call, in which order, and acts on the results, often over several steps and with some independence from a human.
Three properties make something an agent rather than a chatbot:
- It uses tools. It can call APIs, search systems, send messages, write files or run code.
- It acts on your behalf. It does so with credentials: a service account, an API key, an OAuth token or a user's session.
- It decides the path. Within its instructions, the model chooses the next step based on what it reads, including content from outside the company.
Agentic AI security therefore asks four questions classic application security only partly covers:
| Question | What it covers |
|---|
| Who is the agent? | Its identity, credentials and the rights attached to them |
| What can it reach? | Tools, MCP servers, data sources and systems it can change |
| What does it read? | Untrusted inputs: emails, tickets, documents, web pages, tool output, memory |
| Who watches it? | Approval steps, logging, monitoring and the ability to stop it |
On our homepage we describe how we assess these four questions for companies running agents in production. This guide explains the subject itself.
Why agents change the threat model
With a chatbot, the worst outcome of a manipulated model is usually a harmful or wrong answer that a human reads. With an agent, the output is an action. The agent calls tools, moves data and changes systems. That changes three things.
The attack surface includes everything the agent reads. If an agent processes support tickets, emails, shared documents or web pages, then whoever can write into those sources can try to give the agent instructions. The language model cannot reliably tell data apart from instructions. This is the root of prompt injection, and it is why OWASP lists prompt injection as the first risk for LLM applications (LLM01:2025) and agent goal hijack as the first risk for agentic applications (ASI01) (OWASP LLM Top 10, OWASP Agentic Top 10).
Permissions decide the blast radius. A manipulated agent can do anything its credentials allow. An agent that runs with a developer's full token, a shared admin service account or broad OAuth scopes turns every successful manipulation into a broad compromise. The OWASP LLM list calls this Excessive Agency (LLM06:2025); the agentic list splits it into tool misuse (ASI02) and identity and privilege abuse (ASI03).
Failures compound. Agents keep memory, hand tasks to other agents and run in automated pipelines. A poisoned memory entry or a spoofed message between agents can affect many later actions. OWASP names these risks memory and context poisoning (ASI06), insecure inter-agent communication (ASI07) and cascading failures (ASI08).
untrusted input ─┐
(ticket, email, │
web page, tool ▼
output, memory) agent ──► tool call with agent's credentials ──► system change
▲ (email sent,
human approval? ──┘ record updated,
logging? stop switch? code merged)
Securing an agent means controlling each arrow: what enters, what the agent is allowed to call, with which identity, and who can see and stop what happens.
The main threats, mapped to the OWASP Agentic Top 10
In December 2025 the OWASP GenAI Security Project published the OWASP Top 10 for Agentic Applications for 2026, developed with more than 100 industry experts (source). It is a widely referenced, peer-reviewed list of agent-specific risks. The table uses OWASP's IDs and names; the short descriptions and examples are ours.
| ID | OWASP name | In plain terms | Typical example |
|---|
| ASI01 | Agent Goal Hijack | Content the agent reads changes what it tries to do | Hidden instructions in a ticket make a support agent leak another customer's data |
| ASI02 | Tool Misuse | Legitimate tools are used in harmful ways | An agent with a delete function removes far more than intended |
| ASI03 | Identity & Privilege Abuse | The agent acts beyond the rights it should have | A coding agent uses a developer's organisation-wide token |
| ASI04 | Agentic Supply Chain Vulnerabilities | Tools, plugins, MCP servers or models are compromised | A community MCP server changes behaviour after an update |
| ASI05 | Unexpected Code Execution | Natural-language input reaches code execution | An agent with a shell tool runs commands derived from a document |
| ASI06 | Memory & Context Poisoning | Planted content persists and alters later behaviour | A poisoned memory entry biases every future answer on a topic |
| ASI07 | Insecure Inter-Agent Communication | Messages between agents are spoofed or tampered with | A fake "manager agent" message redirects a worker agent |
| ASI08 | Cascading Failures | Errors spread through automated chains | One wrong signal triggers actions across several agents |
| ASI09 | Human-Agent Trust Exploitation | Persuasive agent output misleads human approvers | An approver clicks "yes" on a confident but harmful plan |
| ASI10 | Rogue Agents | Agents act outside their intended purpose | An agent pursues a goal in ways nobody approved and hides it |
Each risk is explained with a longer example, a finding card and controls in our OWASP Top 10 for Agentic Applications explainer. Many of these risks connect: goal hijack (ASI01) is often the entry point, and identity and tool permissions (ASI02, ASI03) decide how much damage follows.
MITRE also maintains ATLAS, a public knowledge base of adversary tactics, techniques and case studies targeting AI systems, with mitigations (source). Security teams that already use MITRE ATT&CK-style threat modelling can use ATLAS alongside the OWASP list.
Scoping agents: the AWS Agentic AI Security Scoping Matrix
Not every agent needs the same controls. A read-only research assistant is a different risk from an agent that books, sends and pays on its own. AWS publishes the Agentic AI Security Scoping Matrix, which sorts agent systems into four scopes by how much agency and autonomy they have (source):
| Scope | AWS name | What the agent may do | Human oversight |
|---|
| 1 | No Agency | Read and recommend; cannot change external systems | Humans initiate and perform all changes |
| 2 | Prescribed Agency | Prepare and recommend changes | Every change needs human approval before execution |
| 3 | Supervised Agency | Take actions and complete multi-step tasks within set limits | Continuous monitoring, behavioural validation, shut-off switches |
| 4 | Full Agency | Initiate its own activities based on conditions or patterns | Advanced behavioural monitoring, anomaly detection, automated containment |
The matrix also names six security dimensions that apply at every scope: Identity Context; Data, Memory & State Protection; Audit & Logging; Agent & LLM Controls; Agency Perimeters & Policies; and Orchestration. AWS's guidance is that controls should scale with the scope: what is enough for a Scope 1 agent is not enough for Scope 3 or 4.
In practice, scoping is the first useful step for any company. Once every agent has a scope, it becomes obvious where approvals, monitoring and stronger identity controls are missing. We assign a scope to every agent in our Agent Security Assessment.
The frameworks that matter, in one overview
| Framework | Publisher | What it is for |
|---|
| OWASP Top 10 for Agentic Applications (2026) | OWASP GenAI Security Project | Catalogue of the ten main agent-specific risks |
| OWASP Top 10 for LLM Applications (2025) | OWASP GenAI Security Project | Risks of LLM applications in general, including prompt injection and excessive agency |
| OWASP AI Testing Guide | OWASP Foundation | Methodology for testing AI systems; version 1 published 26 November 2025 (source) |
| AWS Agentic AI Security Scoping Matrix | Amazon Web Services | Sorting agents into four scopes and scaling controls |
| NIST AI Risk Management Framework | NIST | Voluntary risk management framework with four functions: Govern, Map, Measure, Manage (source) |
| MITRE ATLAS | MITRE | Adversary tactics, techniques and case studies against AI systems |
| EU AI Act | European Union | Regulation (EU) 2024/1689, binding law with risk-based obligations (source) |
| ISO/IEC 42001:2023 | ISO and IEC | Requirements for an AI management system (source) |
The short version: OWASP tells you what can go wrong, AWS tells you how strong controls need to be for a given agent, NIST and ISO/IEC 42001 give you the management system around it, and the EU AI Act sets legal obligations for some use cases. The frameworks comparison explains each one and how we combine them.
NIST has also started agent-specific work: its Center for AI Standards and Innovation runs an AI Agent Standards Initiative, created in February 2026, which includes research into agent authentication and identity infrastructure (source).
Controls that matter for AI agents
There is no single product that makes an agent secure. The controls below come up in almost every assessment. They follow the AWS dimensions and address the OWASP risks named in brackets.
Identity and permissions (ASI02, ASI03)
- Give every agent its own identity. Avoid shared service accounts and avoid agents running with a human's full token.
- Grant least privilege per tool: one repository, one mailbox, read-only where possible.
- Use short-lived, just-in-time credentials rather than long-lived API keys. AWS recommends just-in-time credentials and guarding against the confused deputy problem, so agents never do more than the initiating person may do (source).
Inputs and context (ASI01, ASI06)
- Treat all external content, tool output and retrieved documents as untrusted data, never as instructions.
- Keep trusted instructions separate from untrusted content in the agent's context, and limit what untrusted content can trigger.
- Validate what goes into memory and review long-term memory for planted entries.
- Keep an approved list of tools and MCP servers, pin versions and review updates.
- Apply the MCP project's own guidance: MCP servers must not accept tokens that were not issued to them (no token passthrough), and scopes should start minimal and grow only when needed (source).
- Run any code execution in a sandbox with no access to secrets or production networks.
Human oversight (ASI09)
- Define approval tiers by scope: which actions an agent may take alone, which need a human, and which are forbidden.
- Show approvers enough context to say no: what the agent wants to do, why, and with which data. A bare "approve?" button invites rubber-stamping.
Logging, monitoring and stopping (ASI08, ASI10)
- Log prompts, tool calls, parameters and decisions per agent run. AWS recommends tamper-evident logs that capture why an agent made a decision, not just what it did.
- Set rate limits, quotas and circuit breakers for tool calls.
- Make sure someone can stop an agent within minutes, and test that this works.
Testing
- Test agents as agents: injection through every input channel, tool misuse, privilege escalation and exfiltration through allowed tools. Our Agent Red-Team Test covers these paths under written rules of engagement.
Governance and regulation: what the EU AI Act means for agents
Controls need rules around them: who may deploy an agent, who approves its permissions, what is logged and reviewed. That is governance, and for companies in or selling into the EU it increasingly has a legal side.
The EU AI Act (Regulation (EU) 2024/1689) entered into force on 1 August 2024. It does not regulate "agents" as a category. It regulates AI systems by risk and by role, so whether obligations apply to a given agent depends on what it is used for and whether you are, for example, its provider or deployer. According to the European Commission's timeline (source):
| Date | What applies |
|---|
| 2 February 2025 | Prohibited practices and AI literacy obligations |
| 2 August 2025 | Governance rules and obligations for general-purpose AI models |
| 2 August 2026 | The Act becomes generally applicable, with exceptions; transparency rules such as disclosing chatbot interactions |
| 2 December 2027 | High-risk rules for Annex III use cases (for example employment, education, biometrics) |
| 2 August 2028 | High-risk rules for AI embedded in regulated products (Annex I) |
The later high-risk dates come from the Digital Omnibus, which the Commission says entered into force on 27 July 2026. Law firm Orrick summarised the change: Annex III high-risk obligations moved from 2 August 2026 to 2 December 2027 (source).
For agents, high-risk obligations matter most when an agent is part of a high-risk use case, such as screening job applicants. The Commission lists obligations for high-risk systems including risk management, logging, documentation, human oversight and robustness. Much of what good agent security already requires (approval tiers, logging, documented permissions) supports those obligations.
Treat the AI Act as a planning argument, not an emergency. This section is general information, not legal advice; your counsel decides how the law applies to you. Our Agent Governance Pack maps agent controls to the AI Act, NIST AI RMF and ISO/IEC 42001 alongside your counsel.
Where to start: a five-step plan
- List your agents. Every agent in production or near it, its owner, its tools and MCP servers, its credentials and its data.
- Assign a scope. Use the four AWS scopes. Most companies find agents with Scope 3 behaviour and Scope 1 controls.
- Score against OWASP. For each agent, ask which of the ten risks apply. Goal hijack, tool misuse and privilege abuse are the usual top three.
- Fix identity and approvals first. Dedicated identities, least privilege and approval tiers reduce the blast radius of almost every other risk.
- Test and log. Test the riskiest paths, then make sure you can see and stop what agents do.
If you want this done with a documented result, the Agent Security Assessment follows exactly these steps in 2–3 weeks at a fixed price. If you want a quick view first, take the Self-Check.