Start with read access, then add the rest
A new agent should get permission to read and nothing else. Add each write permission only after the agent gets that step right on your own work.
An agent that can’t write can’t send the wrong email or delete a record. Its mistakes stay on paper, where a person can catch them.
What read-only protects you from
OWASP lists “excessive agency” among the top 10 risks for apps built on language models. Its causes are an agent holding more tools, permissions or freedom than its job needs.
One of OWASP’s examples is an agent that only needs to read documents. It is given a tool that can also edit and delete them.
Read-only also limits the damage from planted instructions. An agent that can’t write has less it can be told to do.
Why we add permissions instead of removing them
You learn what an agent needs by watching it work on your data. A permission list written before the first run is a guess.
Taking a permission away later is harder. By then someone relies on it, and removing it breaks their week.
Adding permissions one at a time also keeps a clear record. Each one has a date and a reason, so anyone can see why the agent holds it.
The MCP security guidance points the same way. Servers should start with a few low-risk scopes and ask for more when an action needs them.
Google tells app makers to choose the narrowest scope that works. Users, it notes, grant limited and clearly described access more readily.
How an agent earns each permission
Run the agent read-only, and have it write what it would do into a list or a drafts folder. A person compares that list with what they would have done.
Keep the measure simple. Count how often the list matched the person, and look closely at each miss.
Once a step comes out right for a few weeks, give write access for that step only. Note the date and the reason.
Keep each new permission as narrow as the step. Some services can’t split permissions finely, and Gmail is one.
In Gmail, the permission to move mail between labels also allows sending. Where that happens, keep a person’s approval on sending, or use a narrower tool built for the one job.
Keep anything sent, paid or deleted behind a person’s approval, even after the step has proved itself.
If a step keeps coming out wrong, leave it with a person. Some steps never need an agent.
When we’d say otherwise
Some agents exist to write, and their writes are easy to undo.
A coding agent can work on its own copy of the code. A person reviews each change before it goes live.
A drafting agent can write into a drafts folder from day one. A draft affects nobody until someone sends it.
Reading carries risk too
Read access can be a risk on its own. An agent that reads every email and file holds everything a leak would need.
So narrow the reading too, such as one folder or one label. Google’s drive.file permission covers only files the app creates, or that a person opens or shares with it.
Reading plus any way to send data out can still leak. OWASP describes a planted instruction that makes a model put private text into a web link it then loads.
What to do this week
- List the steps the agent takes, and mark each one read or write.
- Create a read-only key or connection for the reading steps. OpenAI offers read-only keys, Gmail a read-only scope and Microsoft 365 a
Mail.Readpermission. - Have the agent put its proposed writes into a list or a drafts folder.
- Check that list against a person’s work for a set period.
- Add one write permission at a time, and record the date and the reason.
- Keep sends, payments and deletes behind a person’s approval.
