An agent is a new kind of user. It gets its own permissions.
The threat model, the controls and the evidence built into every agent system, organised by the OWASP Top 10 for Agentic Applications (2026).
§ 1 · Boundaries
Five boundaries, each with a check.
Agents read content they don’t control and act with access you granted. The design keeps those two things apart: untrusted content can inform an answer but never change the goal, the tools or the permissions.
- 01
Untrusted input
Users, documents, web pages and tool output.
treated as data, never as instructions
- 02
Gateway & policy
Identity, rate limits, budgets and the injection guard.
authn · quota · scan
- 03
Agent runtime
A pinned goal, scoped memory, step and spend limits.
goal pin · budget
- 04
Tools
Per-agent credentials, validated parameters, approvals, sandbox.
scope · approve · sandbox
- 05
Your data & systems
Read and write scopes, access checked before cache, region pinning.
authz · residency
Audit trail
Every boundary writes typed events: who, what, which scope, and why the turn ended.
- ↓ input.received
- ↓ policy.checked
- ↓ goal.pinned
- ↓ tool.approved
- ↓ data.read
§ 2 · Risks
Ten agent risks, and what gets built against each.
| Risk | What can happen | What gets built |
|---|---|---|
| ASI01Agent goal hijack | Content the agent reads quietly rewrites its objective. | Retrieved content kept apart from instructions; the goal pinned per task; confirmation for sensitive actions. |
| ASI02Tool misuse | Legitimate tools chained into a harmful outcome. | Typed tools on an allow-list, parameters validated, a policy check on every call. |
| ASI03Identity and privilege abuse | A hijacked agent inherits wide, long-lived credentials. | Each agent has its own identity and short-lived, task-scoped tokens. No shared keys. |
| ASI04Agentic supply chain | A compromised framework, MCP server, tool or prompt. | Pinned and reviewed dependencies, an AI bill of materials, no installs at runtime. |
| ASI05Unexpected code execution | Untrusted text reaches an interpreter or shell. | Sandboxed execution with no network by default; parameterised APIs instead of shells. |
| ASI06Memory and context poisoning | Planted data steers later turns. | Validated memory writes, memory scoped per user and task, inspectable and flushable. |
| ASI07Insecure inter-agent messages | Spoofed, replayed or tampered agent messages. | Authenticated, signed messages and allow-listed delegation paths. |
| ASI08Cascading failures | One bad step spreads through every workflow that trusts it. | Budgets, circuit breakers, isolated blast radius, one terminal state per turn. |
| ASI09Human–agent trust exploitation | The agent talks a person into an unsafe approval. | Approvals show the raw action and data, without persuasive framing, and what was shown is logged. |
| ASI10Rogue agents | An agent drifts outside policy while looking normal. | Behaviour baselines with alerts, an owner and expiry per agent, a tested kill switch. |
§ 3 · Approvals
Side effects are sorted by how bad a mistake would be.
| Action class | Examples | Rule |
|---|---|---|
| Read | Search, fetch a record, read a file | Automatic and logged |
| Reversible write | Draft an email, open a ticket, stage a change | Automatic within scope; undo kept |
| Irreversible or financial | Refund, payment, delete, send outside the company | A named person approves, seeing the raw action |
| Permission change | Grant access, change a policy | Never done by an agent |
§ 4 · Data
Data protection inside the pipeline.
Access before bytes
Permissions are checked before any cached or stored data is returned, so a cache never outlives a permission.
Redaction
Personal data the model doesn’t need is removed before the call.
Residency
Models, stores and logs are pinned to the regions you choose.
Retention
Prompts, traces and memory expire on your schedule. Memory is per user and can be flushed.
§ 5 · Evidence
Every turn leaves a record your auditor can sample.
| Field | What it records |
|---|---|
| Identity | Conversation, turn and workflow IDs; the user; the agent’s own identity |
| Inputs | The request and retrieved sources, hashed or redacted per policy |
| Tool calls | Tool, parameters, scope, result and duration |
| Approvals | Who approved, when, and exactly what they were shown |
| Sources | Document, page and period behind every number in the answer |
| Outcome | Terminal reason, model and provider version, tokens and spend |
§ 6 · Testing
Broken on purpose before it ships.
- 01
Adversarial evals
An injection corpus, poisoned documents and tool-misuse cases run against every release.
- 02
Red-team pass
A structured attempt to break the goal, tools, memory and approvals before launch.
- 03
Regression gates
A release that weakens a control fails the build.
- 04
Kill-switch drill
Stopping an agent mid-run is tested, not assumed.