How Agent Permissions Change the Attack Surface
An agent is an AI system that plans its own steps and calls tools by itself to complete a task. A bot talks; an agent acts. Every action it can take is a new door to protect. 🤖
This article discusses how permissions enlarge the attack surface, what will change and which locks will be needed. This article covers the defender’s side only; it does not describe how to carry out an attack. Forward-looking sentences in this article are forecasts; they carry no certainty and are re-read when they fall due.
Why does an agent enlarge the attack surface?
BU BÖLÜMÜN ÖZETİ
- Everything it reads is input
- Everything it can do is impact
- Every key it carries is a target
The attack surface is the sum of the places where a system can be touched from outside. An agent enlarges that sum in three directions.

Everything it reads is input
A chat bot reads only what the user types. An agent reads web pages, emails, documents and tool results. According to OWASP, the risk of indirect prompt injection arises when a model accepts input from external sources. Every source an agent reads is a channel that may try to give it instructions. The concept is explained in what is prompt injection. 📥
Everything it can do is impact
When a bot is tricked, the harm is a text. When an agent is tricked, the harm is an action: an email sent, a record deleted, a payment made. OWASP stresses that the impact of prompt injection depends on the agency the model has been given. Permission sets the size of the mistake.
Every key it carries is a target
An agent carries keys to connect to tools: calendar, email, database, payments. GitGuardian’s 2026 report found 24,008 unique secrets exposed in the configuration files that connect AI tools, 2,117 of them valid. Building an agent means creating new keys, and each is something to keep safe, as described in how to store an AI API key. 🔑
How does OWASP define this risk?
BU BÖLÜMÜN ÖZETİ
- Three root causes
- The suggested measures
- The provider’s caution
The 2025 list treats the risk specific to agents under the heading of excessive agency.
Three root causes
OWASP names three root causes: excessive functionality, excessive permissions and excessive autonomy. Excessive functionality is an agent holding tools its job does not need. Excessive permissions is those tools being connected with wider access than necessary. Excessive autonomy is high-impact actions being taken without approval. If a flow that only needs to read can also delete and send, a small error becomes a large action. 📋
The suggested measures
OWASP’s recommendations are plain: give a flow only the functions and permissions it needs, require human approval for high-impact actions, limit the number of actions and log what is done. None needs a new technology. All are decisions made while the agent is being built.
The provider’s caution
In its guide to building agents, Anthropic writes that the autonomy of agents means higher costs and the potential for compounding errors, and recommends extensive testing in sandboxed environments along with appropriate guardrails. The side that sells the agent also wants it built with limits. 📄
What will change?
BU BÖLÜMÜN ÖZETİ
- Attacks will move from text to action
- Indirect injection will come to the fore
- Projects will stop for lack of control
As agents spread, we expect three changes.

Attacks will move from text to action
Forecast: over the next two years the weight of recorded AI incidents will shift from stories of a bot that said something wrong to stories of an agent that did something wrong. As permissions spread, the kind of harm changes with them. 🔮
Indirect injection will come to the fore
Forecast: steering through the external content agents read will become a more frequent route than steering typed straight into a box. Reaching an agent does not require access to the box; a page or message the agent will read is enough. Defence will move from narrowing input to narrowing permissions.
Projects will stop for lack of control
Gartner predicted in 2025 that over 40 per cent of agentic AI projects would be cancelled by the end of 2027, naming escalating costs, unclear business value and inadequate risk controls among the reasons. Security will be one of the factors that decide whether agent projects continue. 📉
Which locks will be needed?
BU BÖLÜMÜN ÖZETİ
- Least privilege per tool
- Approval gates and limits
- Logging and undo
The three locks of this file hold for agents too; three more are added on top.
Least privilege per tool
Each tool connection is set up with the narrowest permission the agent’s job needs: read only, one folder only, one table only. Write and delete permissions are granted separately and with a stated reason. Write one sentence for each connection: what can this agent do with this tool? If the sentence is long, the permission is wide. ✂️
Approval gates and limits
Human approval goes in front of steps involving money, deletion, outgoing messages and bulk operations. A limit on steps and on spend is set per task; an agent that reaches the limit stops and reports. Anthropic likewise recommends stopping conditions to keep control. An approval gate catches a mistake and a trick at the same place.
Logging and undo
Every action an agent takes is logged: when, with which tool, with which input. Where possible, actions are built to be reversible: archive instead of delete, leave a draft instead of sending. A mistake that can be undone is a correction, not an incident. The whole subject of permissions and approval is in the AI audit guide. 🗂️
What can a business prepare now?
BU BÖLÜMÜN ÖZETİ
- A permissions table
- Starting small and reversible
- Lock list: agent permissions
For a business thinking of building an agent, preparation consists of three written decisions.

A permissions table
Write one line for each tool you are thinking of giving the agent: the tool, the actions it can take, the data it reaches and whether approval is required. The table is filled in before the agent is built. A permission whose reason cannot be written in the table is not granted. 📝
Starting small and reversible
Start the first agent in a role that only reads and proposes: it prepares a draft and a person sends it. Watch the logs for a few weeks. Then widen the permissions step by step. Permission is easy to give and hard to take back; that is why you start narrow.
Lock list: agent permissions
This article’s lock list has five lines, in order. One: fill in the permissions table for every tool the agent connects to. Two: give each connection its own narrowly scoped key. Three: put human approval on steps involving money, deletion and outgoing messages. Four: set a limit on steps and spend per task. Five: log every action and build it to be reversible. The first lock on which all of this rests is explained in what is a rate limit for AI. Update log. 30 November 2026: first publication. Forecasts on this page are re-read when they fall due; one that proves wrong is corrected here, not deleted.
How does Adapte Digital review agent permissions?
BU BÖLÜMÜN ÖZETİ
- A single delivery package
- What is reviewed
- Where to start
In the Attack File a permissions table is drawn up for each agent and compared with what the job requires.
A single delivery package
Adapte Digital does not charge a monthly management fee. Work starts with a single delivery package whose scope is written down in advance: 36,000 TRY + VAT. If the work grows, the new need is defined as a separate add-on package, priced by what will be delivered rather than by the hours spent. 📦
What is reviewed
The tools the agent connects to, the keys it carries, the approval points and the action logs are assessed; every permission wider than needed is marked.
Where to start
The written scope of each package, with current pricing and capacity, is on our campaign pages. 🧭
Quick Summary
- An agent reads, writes and sends; every permission is a new door.
- OWASP defines agent risk as excessive functionality, permissions and autonomy.
- Forecast: incidents will shift from wrong words to wrong actions.
- Locks: least privilege, approval gates, limits on steps and spend, logging.
- The first agent starts in a narrow, reversible role.
Short Glossary
- Attack surface
- The attack surface is the sum of the points at which a system can be reached and misused from outside.
- Excessive agency
- Excessive agency is an AI system being able to take more actions than its job requires.
- Approval gate
- An approval gate is a control point at which a person’s approval is obtained before an action is taken.
Frequently Asked Questions
Next Step
Pick the first tool you are thinking of giving an agent and write one sentence: exactly what will this agent be able to do with it? If you write everything, narrow the permission.
Sources: OWASP Gen AI Security Project — LLM06:2025 Excessive Agency · OWASP Gen AI Security Project — LLM01:2025 Prompt Injection · Anthropic — Building effective agents · GitGuardian — The State of Secrets Sprawl 2026
Updated: November 2026
Sık Sorulan Sorular
It tells you which decisions should be in writing before you build one: a permissions table, approval points and limits.
That cannot be said of any system. The aim is to keep narrow the harm a mistake or a trick can cause.
It goes only on high-impact steps. Ordinary steps proceed by themselves; critical ones are approved at a glance.
