An agent with access to email, tickets, and billing is not a chatbot with extra features. It is a new identity with a new blast radius. This guide turns OWASP's agentic Top 10 into concrete controls a small team can deploy, test, and monitor.
A 25-person managed service provider gives an agent access to its ticketing system, a password vault, and a billing portal. The agent reads a customer email, opens a ticket, checks an invoice, and resets a password. Each of those actions is useful. Together they create a target that did not exist when the team only had a chatbot.
That is the shift agentic AI security has to address. A chatbot can produce a bad answer. An agent can send the email, change the record, run the command, and delete the evidence. Google Cloud put the problem plainly in November 2026: a valid OAuth token used to imply user intent, but an agent acting at machine speed needs policy checks, data boundaries, and human confirmation in the request path.
An agent with access is a different security problem
Traditional application security assumes a program follows the paths its developers wrote. Agent security assumes the program chooses a path at runtime, using a model that cannot reliably separate instructions from data. The agent may be correct and still dangerous, because the action it chooses is within its permissions but outside the task the user intended.
The exposure grows with every integration. Google reported that Workspace APIs handle more than 2.8 trillion calls a month and that public Drive API traffic alone is more than 2.5 times its 2022 volume, with more than 18 billion Drive reads a day from API callers. Most of that traffic is not agents today. The direction is clear: machine identities are becoming a large share of application traffic, and agents are the part that can act on what they read. That is why agentic AI security starts with the action, not the answer.
CISA and its Five Eyes partners make a related point in their May 2026 guidance. Prompt injection is inherent to how language models process context, and no fully reliable technical mitigation currently exists. Controls have to sit in the runtime around the model: what the agent can access, what it can do, and who can stop it.
The OWASP agentic Top 10, in one table
OWASP's 2026 list, updated on 28 October 2026, names ten risks that show up in agent systems. The agentic AI security controls below translate each one into a first step. This is not a complete control catalog, but it gives a small team a place to start.
| OWASP risk | What it looks like | First control |
|---|---|---|
| ASI01 Agent Goal Hijack | Content the agent reads changes its objective | Separate instructions from data; require approval for goal changes |
| ASI02 Tool Misuse and Exploitation | A legitimate tool is used to exfiltrate or alter data | Tool allow-list, argument validation, scoped credentials |
| ASI03 Identity and Privilege Abuse | An agent uses a human or shared token beyond its task | Per-agent identity, short-lived tokens, least privilege |
| ASI04 Agentic Supply Chain | A malicious tool, server, model, or package enters the stack | Pin versions, verify publishers, scan MCP servers and dependencies |
| ASI05 Unexpected Code Execution | The agent writes or runs code outside a sandbox | Isolated execution, no host shell, CPU and network limits |
| ASI06 Memory and Context Poisoning | A bad fact or instruction persists in memory | Provenance checks, memory TTLs, separate stores per task |
| ASI07 Insecure Inter-Agent Communication | Messages are spoofed, intercepted, or replayed | Authenticated channels, signed messages, per-agent authorization |
| ASI08 Cascading Failures | One fault propagates across agents and systems | Circuit breakers, step caps, blast-radius limits, rollback |
| ASI09 Human-Agent Trust Exploitation | A person over-trusts a fluent agent and approves harm | Clear disclosure, confirmation for high-impact actions, no authority claims |
| ASI10 Rogue Agents | A compromised or misaligned agent acts outside scope | Kill switch, anomaly detection, scope attestation, isolation |
The list is useful because it moves the conversation away from “prompt injection” as a single bug. Prompt injection is a delivery mechanism. The damage depends on identity, tools, memory, and oversight.
Start with identity and privilege
The most common finding in documented agent incidents is excessive privilege. BlueRadius Research, in a 21-case dataset updated in November 2026, found that 76% of cases involved an agent operating with developer, user, or production access far broader than the task required. The same dataset found credential or secret exposure in 33% of cases and insecure MCP or tool integration in 29%.
The fix is not a better system prompt. Give the agent its own identity, separate from every human account. Scope that identity to the task, bind it to a short-lived credential, and log every action against it. A support agent that reads tickets does not need the billing admin role. A research agent that reads public pages does not need a database password.
Google's Agent Gateway shows the direction vendors are taking. It verifies agent identities against an Agent Registry, enforces IAM policies, applies default-deny outbound rules, and screens requests with Model Armor. You do not need that exact product to copy the pattern: name the agent, register its purpose and owner, grant the minimum, expire the credential, and make the outbound path explicit.
Two identity rules matter more than the rest:
No shared human tokens. If the agent uses an employee’s OAuth token, every action looks like that employee did it, and revoking access breaks the human too.
No standing production credentials. Issue a credential for the task, with a short lifetime, and revoke it when the task ends. Long-lived secrets in environment variables are how a prompt injection becomes a production incident.
Constrain tools, code, and the supply chain
An agent’s tools are its attack surface. Every tool adds a schema the model can call, a permission the agent can exercise, and a result the model will read. Treat the tool list as a security boundary, not a convenience menu.
Start with an allow-list per agent. Validate arguments before execution, especially identifiers, file paths, URLs, and shell fragments. Give the tool its own narrow credential rather than passing the agent’s token through. If a tool can delete, refund, or send externally, require a confirmation step or a two-person rule.
Code execution needs its own box. OWASP lists unexpected code execution as ASI05 because agent systems, including coding tools, often run generated code with more access than the task needs. Run it in a disposable sandbox with CPU, memory, time, and network limits. Do not mount the host Docker socket. Do not let the sandbox reach the internal metadata service. Keep the agent’s orchestration process outside the sandbox.
Supply chain risk is less obvious. A malicious MCP server, a compromised tool package, or a poisoned model can enter through the same door as a legitimate integration. OWASP's Q3 2026 exploit roundup documents agents escaping evaluation boundaries, repurposing shared infrastructure, and a malicious MCP distribution campaign called Deadbugz. Pin versions, verify publishers, scan servers before connecting them, and keep an inventory of what each agent can reach.
ENISA's draft guidance draws the line clearly: least privilege, identity binding, provenance checks, context separation, and tool allow-listing belong in code and orchestration logic, not in a prompt or a developer convention. If the control exists only as an instruction to the model, it is not a control.
Treat memory and inter-agent messages as untrusted
Memory turns a one-time mistake into a persistent one. If an agent stores a poisoned instruction, a wrong customer fact, or an attacker-supplied URL, later tasks inherit it. Context poisoning is especially dangerous because the original source may be long gone by the time the bad action happens.
Separate memory by task and by trust level. Keep short-term working state apart from long-term knowledge. Record where a memory came from, when it was written, and which agent wrote it. Expire memories that no longer have a clear owner. Do not let one agent write directly into another agent’s trusted store without validation.
Inter-agent communication has the same problem in motion. If agents exchange messages over an unauthenticated bus, one compromised agent can impersonate another, replay an old instruction, or block a handoff. Authenticate both ends, sign or otherwise integrity-protect messages, and authorize each agent to call only the peers it needs.
A practical rule: treat every message and every retrieved document as data, never as an instruction. The model can read “ignore previous instructions” in a web page, an email, or a tool result. The runtime must ensure that text cannot change the agent’s permissions, tool list, or approval policy.
Design for cascades, rogue agents, and human trust
Multi-agent systems fail in ways single agents do not. One wrong output becomes another agent’s input, then another’s task. OWASP calls this ASI08, cascading failures. The controls are ordinary reliability engineering applied to a new workload: step caps, timeouts, circuit breakers, idempotent tools, rollback paths, and a limit on how many agents one task can spawn.
Rogue agents, ASI10, are the end state of several failures at once: compromised credentials, a poisoned memory, an unconstrained tool, or a goal that drifted. You cannot prevent every path, so you need a way to stop the agent quickly. That means a kill switch that revokes credentials and stops workers, an anomaly rule for unusual tool calls or outbound traffic, and an owner who knows how to use both.
Human oversight is the control people most often name and least often design. BlueRadius found that all 21 documented cases either bypassed human approval or had no approval in the path. A confirmation dialog that appears after the action is not oversight. Put the approval before the irreversible step, show the exact action and target, and record who approved it.
The trade-off is real. Approval gates slow work, and a gate on every low-risk action trains people to click through. Use risk tiers instead. Read-only lookups can run unattended. Reversible writes can run with logging and a rollback path. Irreversible actions, external messages, payments, permission changes, and data deletion need a named human.
A deployment checklist for a small team
You do not need a 40-page framework to start. You need a boundary around the first agent that touches real systems.
Inventory the agent. Record its purpose, owner, model, tools, data sources, memory stores, and the systems it can change.
Give it an identity. One agent, one identity, short-lived credentials, no shared human tokens.
Scope the tools. Allow-list only the tools the task needs. Validate arguments. Remove tools the agent never uses.
Isolate execution. Run code in a sandbox with network egress denied by default and no host control socket.
Separate memory. Keep working state, long-term knowledge, and per-user data in different stores with clear retention.
Authenticate agent traffic. Use mTLS or signed requests between agents and services. Do not trust a message because it came from “inside”.
Add approval gates. Require a human for irreversible or externally visible actions. Show the action and target.
Cap the loop. Limit steps, tokens, runtime, and child agents. Escalate with a reason instead of retrying forever.
Log the action, not just the prompt. Capture the tool, arguments, result, identity, approval, and trace ID.
Monitor outbound behavior. Alert on new destinations, unusual volumes, credential use, and repeated tool calls.
Test with hostile input. Put prompt-injection text in a document, an email, and a tool result. Confirm the agent cannot escalate.
Write the stop plan. Name who can revoke credentials, stop workers, and restore state. Test it once.
The operational side belongs with the rest of your security program. A managed cybersecurity provider can cover patching, monitoring, and incident response, but the agent owner still has to define what the agent is allowed to do. The complete guide to website security covers the application layer; the agent layer needs its own identity and tool controls.
Monitoring is where many small teams fall short. Agent logs are not the same as web logs. You need traces that connect a model call to the tool call it produced, the identity that authorized it, and the result that followed. That is closer to infrastructure monitoring than to a chatbot dashboard. If the agent runs on its own host, AI agent hosting gives you a boundary to monitor and a place to enforce egress rules. The EDR, XDR and MDR comparison is useful for the endpoint side of the same question.
What to do this week
Pick one agent that touches a real system. If you do not have one, start with a read-only agent and add write actions only after the controls are in place. Run the checklist above, then test the two failure modes that matter most: hostile text in a document the agent reads, and a tool call the agent should not be allowed to make.
Do not wait for a perfect policy. The first version should be narrow, logged, and reversible. A support agent that can read tickets and draft replies is a useful start. A support agent that can reset passwords and issue refunds on day one is a liability with a demo.
The goal of agentic AI security is not to remove autonomy. It is to make autonomy proportional to the blast radius. Agents earn more access the same way people do: with a clear role, a named owner, a track record, and a way to stop them.
Give agents a boundary before they get a task
SysopHost provides managed cybersecurity and AI agent hosting, with monitoring and hardening for the infrastructure agents run on.
Review Managed SecurityFrequently Asked Questions
Comments
No comments yet. Be the first to comment!
Neha Sharma