AI Security

Agentic AI Security: The Threats That Target AI Agents and the Defences That Stop Them

Agentic AI security is the work of keeping AI agents that plan, call tools, remember and delegate from being turned against the organisation that runs them. This guide maps the OWASP Top 10 for Agentic Applications to concrete defences, compares the frameworks worth aligning with, and ends with a release checklist and what changes when agents run on-premises.

Agentic AI security protects AI agents that plan, call tools, keep memory and hand work to other agents from being steered into harmful actions. The risk differs from chatbot risk because a manipulated agent acts: it moves data, changes records or runs code with real credentials. The OWASP Top 10 for Agentic Applications, published on 9 December 2025, names the main threats, led by goal hijack, tool misuse and identity abuse. The defences that hold are structural: least privilege per tool, sandboxed execution, egress control, approval for high-impact actions and a complete audit trail.

This guide covers the threat model and the defences a security architect needs to review before approving an agent for production. Two companion pieces go further into the controls that fail most often: permissions and identity for agents and what an agent audit trail must record. The AI agent governance and security handbook holds the full control specifications, from identity records to the containment ladder.

Why AI agents need a different security model from chatbots

A tricked chatbot produces a bad answer that a person may or may not act on. A tricked agent acts by itself, often several times, before anyone reads its output. Five properties create the gap.

PropertyChatbotAI agentSecurity consequence
ActionsReturns textCalls tools and APIs that read, write, send, pay or executeA manipulated output becomes a change in a live system
Untrusted inputMostly the user’s promptDocuments, tickets, web pages, tool results, other agents’ messagesEvery data source can carry instructions
MemoryUsually one conversationLong-term memory, shared context, vector indexesOne poisoned entry can steer later runs for other users
AutonomyOne turn at a timeMulti-step plans with loops and retriesErrors compound before a person sees them
DelegationNoneAgents hand tasks to other agents and act on behalf of peopleAuthority travels along chains that are hard to attribute

The root problem sits in the model itself. OWASP’s agentic list states that agents cannot reliably tell instructions apart from the content they process, so any text an agent reads can try to redirect it. Security therefore cannot rest on the model refusing bad instructions. It has to limit what the agent is able to do when it follows one.

For agents in the EU AI Act’s high-risk categories this is also a legal duty. Article 15(5) requires high-risk systems to resist attempts by unauthorised third parties to alter their use, outputs or performance, naming data poisoning, model poisoning, adversarial inputs and confidentiality attacks. After the Digital Omnibus on AI, Regulation (EU) 2026/1744, the Annex III obligations apply from 2 December 2027; the guide to the EU AI Act for agentic systems explains which agents qualify.

Agentic AI threats: the OWASP Top 10 for Agentic Applications (2026)

The OWASP GenAI Security Project published its Top 10 for Agentic Applications on 9 December 2025. It condenses the longer Agentic AI – Threats and Mitigations taxonomy from February 2025 into ten entries, each mapped to the OWASP Top 10 for LLM Applications 2025. It also introduces least agency: an agent should have no more autonomy than its task needs, because autonomy that adds no value only widens the attack surface.

IDRiskWhat it looks likeDefences that answer it
ASI01Agent Goal HijackHidden instructions in a document, ticket, web page or peer message redirect what the agent is trying to achieveTreat retrieved content as data, keep system prompts under change control, confirm actions that drift from the task
ASI02Tool Misuse and ExploitationA legitimate tool used unsafely, such as a summariser that can also send mail, or a CRM lookup chained with an outbound messagePer-tool scopes that default to read-only, argument checks at a policy gate, rate and spend budgets, outbound allow-lists
ASI03Identity and Privilege AbuseAn orchestrator passes its full rights to a worker agent, or an authorisation checked at the start of a long workflow is stale by the endTask-scoped, short-lived credentials; a fresh permission check at each privileged step; no inherited rights between agents
ASI04Agentic Supply Chain VulnerabilitiesA malicious or tampered MCP server, tool descriptor, prompt template, model or third-party agentApproved registries, pinning by version and hash, signed manifests, review before install, revocation that reaches every agent
ASI05Unexpected Code Execution (RCE)Generated or injected code runs on a host through a shell tool, an unsafe eval or a package installSandboxes without production credentials, no root, static checks before execution, approval for elevated runs
ASI06Memory & Context PoisoningFalse facts or instructions written into long-term memory, shared context or a vector index persist and steer later runsValidated writes, memory segmented by user and task, provenance, expiry for unverified items, snapshots for rollback
ASI07Insecure Inter-Agent CommunicationSpoofed, replayed or altered messages between agents, or a fake agent registered in a discovery serviceMutual authentication, signed messages, nonces and timestamps against replay, typed schemas, attested registries
ASI08Cascading FailuresOne faulty output spreads through planners, executors and downstream agents faster than people can reactCircuit breakers, quotas, an independent policy check between planning and execution, checkpoints before high-impact steps
ASI09Human-Agent Trust ExploitationA reviewer approves because the agent sounds certain, or a “preview” quietly triggers the actionShow the exact effect before approval, keep previews free of side effects, track override rates and approval times
ASI10Rogue AgentsAn agent drifts outside its mandate, games its objective or replicates itself once its controls failBehavioural baselines, signed logs, trust zones, a kill switch with credential revocation, quarantine before reintegration

The entries chain: goal hijack is usually the way in, while tool misuse and privilege abuse decide how much harm follows. CVE-2025-32711, published in June 2025, is an AI command injection in Microsoft 365 Copilot that let an unauthorised attacker disclose information over a network; Microsoft scored it 9.3, and the attack, reported as EchoLeak, is OWASP’s first ASI01 example.

Agentic AI security frameworks to align with

No single framework covers agents end to end, but they fit together: OWASP supplies risks and test cases, MITRE ATLAS adversary techniques, MAESTRO a layered threat model, NIST the governance structure and ENISA the European threat picture.

FrameworkPublisher and dateWhat it adds for agentsUse it for
Top 10 for Agentic ApplicationsOWASP GenAI Security Project, 9 December 2025Ten agent risks with examples and mitigationsSecurity requirements and test cases
AI RMF 1.0 and Generative AI Profile (NIST AI 600-1)NIST, 26 January 2023 and 26 July 2024; the RMF is under revisionGovern, map, measure and manage functions; generative AI risks including information securityRisk governance and board reporting
ATLASMITRE; October 2026 release with 16 tactics, 129 techniques, 92 sub-techniquesAgent techniques such as AI Agent Context Poisoning (AML.T0080) and Exfiltration via AI Agent Tool Invocation (AML.T0086), plus agent mitigationsRed-team scenarios and detection rules
MAESTROCloud Security Alliance, 6 February 2025Seven-layer threat modelling for multi-agent systems, from foundation models to the agent ecosystemArchitecture reviews and cross-layer threats
Secure AI Framework (SAIF)GoogleA risk map that includes Rogue Actions, with agent controls for permissions, user control and observabilityDesign principles
Threat Landscape 2026ENISA, September 2026, covering 2025 incidentsAI applications increasingly targeted where they reach files, credentials, browser sessions or development environmentsEU threat context for risk assessments

Agent-specific US federal guidance is still forming. NIST’s Center for AI Standards and Innovation asked for input on securing AI agent systems on 12 January 2026, a draft NIST concept paper on agent identity and authorisation appeared on 5 February, and CAISI launched an AI Agent Standards Initiative on 17 February. No final NIST agent security guideline existed by early November 2026.

Google’s 2025 paper on secure AI agents compresses the design stance into three principles: agents need “well-defined human controllers”, their powers must be limited, and their actions and planning must be observable. For how these risks enter an enterprise risk register, see the companion guide to agentic AI risk management.

How to secure AI agents: eleven best practices

1. Least privilege and least agency for every tool

Grant each agent only the tools its workflow needs, scope each tool to the records and operations required, and default to read-only. MITRE ATLAS mitigation AML.M0027 states the rule that matters most for delegated agents: an agent acting for a user must not hold a permission that user lacks. Set autonomy action by action with bounded autonomy levels; identity models and a permission matrix are in the guide to AI agent permissions.

2. Sandbox anything that executes

Code an agent writes or receives is untrusted input running on your infrastructure. Run it in a sandbox built from a clean image for each run, with no network by default, no production credentials and limits on CPU, memory and time (ATLAS AML.M0032). The comparison of containers, gVisor and microVMs for agent code covers the isolation choices.

3. Control egress

Exfiltration needs a way out. Deny outbound traffic by default and allow only the destinations each tool documents, DNS included, since OWASP shows an innocuous approved tool leaking data through DNS queries. Segment agents, models, tools and data stores so one compromised component cannot reach the rest. See egress-controlled on-premises AI and zero-trust networking for AI workloads.

4. Filter inputs, proposed actions and outputs

Guardrails check what goes in, what the agent proposes to do and what comes out: schema validation on tool arguments, detection of personal data and secrets, policy classifiers and format checks. Guard models reduce risk rather than remove it, so treat them as one layer among several. The explainer on AI guardrails describes the layers, and the comparison of open-weight guard models covers classifiers you can run locally.

5. Contain prompt injection instead of trying to catch all of it

Design for the case where an injected instruction gets through. Keep untrusted content away from the component that decides which tool to call, restrict tool use once untrusted data enters the context (ATLAS AML.M0030), and ask a person to confirm high-consequence actions. The prompt injection prevention guide lists the techniques; for retrieval pipelines, see injection containment for private RAG.

6. Protect memory and retrieval from poisoning

Long-term memory turns a one-off injection into a persistent one. Validate what gets written, segment memory by user and task, record where each entry came from, expire entries nobody has verified and keep snapshots so a poisoned state can be rolled back. OWASP lists these measures under ASI06, and MITRE ATLAS covers the same ground as memory hardening (AML.M0031).

7. Vet MCP servers and other components as third-party code

Tools increasingly arrive as MCP servers, and a server acts with the authority of whatever calls it. The Model Context Protocol specification, revision 2026-07-28, requires servers to accept only tokens issued for them, and requires clients offering one-click setup of a local server to show the exact command and get explicit approval first. Published flaws show why: CVE-2025-6514 describes OS command injection in the mcp-remote package when it connects to an untrusted server. Admit components through a private MCP registry, pin them by version and hash, and route calls through an MCP gateway that enforces grants and logs each call.

8. Require approval for high-impact actions

Payments, deletions, external messages, access changes and anything irreversible should wait for a named person who sees exactly what will change. An approval only protects you if it can change the outcome: show the payload and its effect, bind the approval to one run and keep the approver separate from whoever configured the agent. See human-in-the-loop design for AI agents.

9. Monitor behaviour and keep a complete audit trail

Record every run end to end and watch for signs of misuse: a read from a sensitive store followed by an outbound transfer, unfamiliar tool sequences, rising denials or sudden spend. The record must also stand up as evidence, with tamper-evident storage and synchronised clocks; the AI agent audit trail guide sets out fields and retention rules.

10. Red-team before release and after every material change

Attack the agent as an adversary would: plant instructions in documents and tool results, push it toward out-of-scope tools, escalate through a second agent and try to slip past the approval step. Rerun the scenarios whenever the model, prompt, tools or data change, following the method in red-teaming an agent before production.

11. Prepare incident response and a kill switch

Contain in graduated steps: disable one tool for one agent, suspend the agent, revoke its credentials, stop the workflow, then close the egress path. Each step needs an owner and a rehearsal. The incident response playbook for private agents covers detection, containment and reconstruction.

Agentic AI security checklist

Use the table as a release gate: each line names evidence a reviewer can inspect.

AreaCheck before go-liveEvidence to keep
InventoryEvery agent has a named owner, purpose, risk class and versionRegistry export
ToolsEach tool is scoped and read-only unless writing is required, with value and rate limitsTool register with scopes and limits
IdentityEach action is attributable to the agent and the person or trigger behind it; no shared service accountsLog entries showing both
CredentialsNo secrets in prompts, definitions, memory or logs; credentials short-lived and vaultedSecrets-scan results, vault settings
ExecutionGenerated code runs only in a sandbox without network or production credentialsSandbox profile and test
EgressOutbound traffic denied by default, allowed per toolProxy rules and a blocked exfiltration test
Inputs, outputs and injectionValidators or guard models screen inputs, tool arguments and outputs; tool use is restricted once untrusted content enters the contextKnown-bad test results and red-team fixes
MemoryWrites validated, segmented by user and task, expired if unverifiedMemory policy and rollback test
Supply chainMCP servers, skills and models from approved sources, pinned by version and hashComponent inventory with hashes
ApprovalsHigh-impact actions wait for a named approver who sees the payloadApproval records from a test run
MonitoringAlerts on anomalous tool sequences, denials and spendAlert rules and a test alert
Kill switchAn agent, a workflow and a model route can each be stoppedDrill record
Red teamOWASP and ATLAS scenarios have been run against this versionReport with retest results

Governance gaps that sit outside security, such as missing owners or unregistered agents, belong on the AI agent governance checklist. The CISO guide to multi-agent platform security adds questions for procurement.

What changes when agents run on-premises

Running agents in your own data centre, a private cloud or an air-gapped network moves the boundaries. It does not stop attacks from working.

What gets easier. Prompts, retrieved documents, tool results and logs stay inside your perimeter, so you can show where data went. Egress can be denied by default or, when air-gapped, removed entirely. Guard models run locally, your identity provider, SIEM and network controls cover agent traffic, and vendor access to production becomes something you grant and log.

What stays the same. Prompt injection, tool misuse, memory poisoning and insider misuse work on-premises exactly as they do in the cloud. An agent with broad rights inside the perimeter can cause as much damage as one outside it, and possibly more, because internal systems trust it.

What becomes your job. You patch the model servers, runtimes, MCP servers and sandbox hosts. You vet model weights and agent components before they enter the environment, which in a disconnected network means a controlled import path. You also own the logging pipeline, its retention and its protection. The guide to deploying agents on your infrastructure covers operations, and the review of what agent security reviews miss explains why the deployment model matters for exfiltration.

How VDF AI fits

VDF AI can be deployed in VDF’s managed cloud, in your own data centre, in a private cloud or VPC, in a sovereign cloud or on a fully air-gapped network. For the air-gapped case, VDF AI Router has a mode that keeps every request on local models, and its allow, deny and pin lists are applied before any model is called.

Agents built in VDF AI Agents receive their tools one grant at a time from an MCP-powered registry, so each agent’s tool access is limited to what its workflow needs, and role-based access control comes with every plan. High-risk actions stop at a human approval gate. For every run, the agent’s audit log and execution trace hold the request and the identity behind it, the retrieval hits, each tool call and its arguments, the model’s reply and the final output. Inside a workflow, permission-check answers allow or deny with the policy reason, and secrets-scan finds exposed keys, tokens and passwords.

Multi-agent work runs in VDF AI Networks: a Human Approval node pauses consequential steps for an accountable person, a Verification node checks evidence and conditions before the next stage, and Run Code nodes execute Python or JavaScript with limits and secrets. Above both, the AI governance platform records an owner, purpose, risk class and version for each agent, Network and model, and its kill switch can halt any one of them.

Sources

Every framework, specification and advisory below was read at its publisher’s own site on 6 November 2026.

Frequently asked questions

Is it more secure to run AI agents on-premises than in the cloud?

For some risks, yes. On-premises deployment keeps prompts, documents, tool results and logs inside your perimeter, lets you deny outbound traffic by default or run fully air-gapped, and puts vendor access under your control. It does not stop prompt injection, tool misuse, memory poisoning or insider abuse, which work the same anywhere, and it makes you responsible for patching models, runtimes and MCP servers. A secure way to run agents without the cloud pairs on-premises hosting with least-privilege tools, sandboxed execution, approval gates and a complete audit trail.

How do you secure AI agents that call tools?

Treat every tool as a privilege. Give each agent only the tools its workflow needs, scope each one to specific records and operations, and default to read-only. Validate tool arguments at a policy gate before anything runs, set rate and spend limits, and allow outbound traffic only to the destinations a tool documents. Run code-executing tools in a sandbox without production credentials. Have a named person approve payments, deletions, external messages and other irreversible actions, and log every call with its arguments and result.

What are the biggest security risks of agentic AI?

The OWASP Top 10 for Agentic Applications, published in December 2025, puts agent goal hijack first: hidden instructions in content the agent reads redirect what it is trying to do. Tool misuse and identity or privilege abuse come next, because they turn a hijacked goal into real actions with real credentials. The list also covers supply-chain attacks through MCP servers and other components, unexpected code execution, memory poisoning, insecure messages between agents, cascading failures, misplaced human trust and rogue agents.

What is the OWASP Top 10 for Agentic Applications?

It is a list of the ten highest-impact security risks for AI agents, published by the OWASP GenAI Security Project on 9 December 2025. The entries run from ASI01 to ASI10: agent goal hijack, tool misuse and exploitation, identity and privilege abuse, agentic supply chain vulnerabilities, unexpected code execution, memory and context poisoning, insecure inter-agent communication, cascading failures, human-agent trust exploitation and rogue agents. Each entry gives examples, attack scenarios and mitigations, and maps to the OWASP Top 10 for LLM Applications.

How do you stop prompt injection in AI agents?

No filter removes every injected instruction, so the goal is to limit what an injection can achieve. Treat retrieved documents, tool results and messages from other agents as data rather than instructions, keep untrusted content away from the component that chooses tools, and restrict tool use once untrusted text enters the context. Add input and output checks, keep permissions minimal and require human confirmation for consequential actions. Then red-team with instructions planted in realistic documents and tickets, and retest after every model or prompt change.

What should an agentic AI security checklist include?

At minimum: an owner and risk class for every agent; a tool register with scopes, limits and approval rules; attributable identities and no shared service accounts; short-lived, vaulted credentials kept out of prompts and logs; sandboxed code execution; default-deny egress; checks on inputs, tool arguments and outputs; limits on tool use after untrusted input; validated, segmented memory; pinned and vetted MCP servers and models; approval for high-impact actions; alerts on unusual tool sequences; a tested kill switch; and red-team results for the release.

Filed under
AI securityenterprise AI agentsAI agent governanceAI risk managementhuman oversightMCPon-premises AI
AI Governance

Is your AI governance audit-ready?

Get a readiness review of your AI controls — policy, oversight, audit trails, and EU AI Act evidence — mapped against what production actually requires.

Keep reading