Give every AI agent a written job description
Many agents run on a person’s credentials or an old service account, and can reach whatever that identity can. If you write down what an agent is for and generate its permissions from that, it gets only what the job needs, and you can check that against what it actually used.
An old bug
In October 1988 a three-page paper in an operating-systems journal described a bug from a time-sharing service. A compiler on that system was allowed to write files in its own home directory, where the service also kept a billing file. A user asked the compiler to write its debugging output to a file and gave it the billing file’s name. The compiler did as it was asked, using authority the user never had, and the billing records were overwritten.[1]
The author called the compiler a confused deputy: it held its own authority and its caller’s, and could not tell which one a request was using. The episode is a large part of why he argued that authority should travel with each request instead of sitting with the program.
Thirty-eight years later, many AI agents are built the same way.
Agents run on borrowed identities
A coding agent runs with the developer’s source-control token. A support agent calls the ticketing system through a service account created for an integration three years ago, and a research agent reads the document store with an API key someone pasted into a configuration file. In each case the agent inherits everything that identity can reach, for as long as the identity lasts, and the identity was sized for something else.
Identities are not sized well. Microsoft’s 2023 report on cloud permissions found that identities used about 1 percent of the permissions granted to them, and that more than 60 percent of identities with cloud permissions were completely inactive.[2] Its report a year later put the share of permissions used at 2 percent.[3] Those figures describe people and workloads, before agents arrived to borrow their credentials.
Agents make the gap more dangerous in two ways. They act faster than people, on instructions that can come from content they read, so an excess permission can be used by anyone who can put a document in front of the agent. And agents start other agents, so a borrowed identity spreads to processes no reviewer ever saw.
The security community has named the problem. OWASP’s list of top risks for agentic applications defines an agent’s identity as its persona together with the credentials that represent it, and warns that an agent without a governed identity of its own falls into an attribution gap in which least privilege cannot be enforced.[4] OWASP’s list of non-human identity risks counts over-privileged identities among its ten.[5]
Write the job down
The principle is old. A 1975 paper on protecting information in computer systems listed least privilege among its eight design principles.[6] NIST’s control catalog states the same rule for users and for the processes acting on their behalf, and its zero-trust architecture asks for least-privilege access decisions made per request.[7][8]
What the principle has lacked for software is a description of the job. A person has a job description, a manager, a start date and, eventually, an end date. An agent usually has a token.
So write the job down. A job description for an agent states its purpose in a sentence. It names the principal the agent works for and says whether the agent may run unattended. It lists the models the agent may use for each class of data, the data classes it may read and write, and the tools and MCP servers it may call, with their verbs and argument rules. It sets a budget and the period the budget covers, and it carries two approvers and an expiry date. It is a short document, and a team can review it in the time it takes to review a pull request.
Then generate the agent’s permissions from it. A job description should not be advice to the agent. It should be the source its permissions are produced from, by a process that gives the same output every time: the same record of authority, the same model and tool policy, the same allowance and the same identity template, under one digest that names the version. We call the result a persona. The agent runs as that persona, and when the job description expires, everything produced from it expires too.
Asked, granted, used
A job description written once and never revisited would become the next over-privileged service account. What keeps it accurate is a comparison of three things.
Asked is what the job description says the agent needs. Granted is what was produced from it and approved, which can be less, because a reviewer narrowed it or an enforcement point could not express a control. Used is what the signed records show the agent actually did during a review period.
The differences between the three are what to look at. A grant left unused for a whole period is a candidate for removal, and removing it should be cheap: narrowing can only reduce access, so one person can approve it. An attempt that was refused means something else. It may be an attack, a bug or a job description that is wrong, and it should be investigated and never granted automatically. Widening still takes two people.
None of this is new with agents. Cloud providers have offered the same comparison for human and workload identities for years. AWS can generate a policy from up to 90 days of recorded activity, and Google Cloud’s role recommendations compare granted permissions with those actually used over a similar period.[9][10] What agents add is speed and number, which is why the comparison has to run continuously and the narrowing has to be cheap.
Why roles are not enough
The strongest objection is that this is what roles are for. Give each agent a service account with a narrowly scoped role and let the identity system do its job.
Roles are scoped to systems, and an agent’s needs are scoped to tasks. A role that lets an agent update tickets lets it update every ticket, whatever task it is on and whoever’s instruction it is following. Roles also drift upward over time, which is what the 1 and 2 percent figures measure. A role is a sound way to enforce a permission and a poor description of a job. A persona is translated into roles and policies wherever those are the mechanisms available.
A second objection is more serious. An agent’s actions cannot be fully predicted, so any job description will be either too narrow or too broad. NIST’s current work on agent identity asks how least privilege should be established for an agent whose required actions might not be fully predictable when it is deployed.[11] The comparison of asked, granted and used is our answer. Start from a declared job, observe, and narrow toward what is used. A persona does not have to be right on its first day, as long as each review brings it closer to what the agent actually uses.
The third objection is friction. Engineers route around controls that slow them down, so the design makes the safe direction the cheap one. Narrowing takes one approval and renewal is a date on a calendar. A persona that lapses takes its keys with it, so nothing is left behind in a configuration file.
The layer between identity and enforcement
Much of the industry is building pieces of this. Identity providers are issuing agents identities of their own; Microsoft Entra Agent ID, for one, gives agents identities separate from people and workloads.[12] SPIFFE gives workloads short-lived, verifiable identities, and an IETF working-group draft applies those ideas to AI agents and calls static API keys an antipattern.[13][14] The MCP specification’s security guidance asks servers to keep the scopes they request to a minimum.[15]
What sits between those pieces is the layer that says what a particular agent is for, and turns that statement into enforcement at every point the agent touches: the model gateway, the MCP gateway, the budget and the data classes. An identity establishes who the agent is, and a persona adds what it is supposed to be doing. Without the second, a well-identified agent can still be a confused deputy.
How ARC1 does it
In ARC1 every agent has a registered owner, a stated list of what it may do (its shell access, the tool servers it may reach, the models that may answer it) and an approval before it acts. Agent Personas and Job Descriptions are how that list gets written: as a job, once, for every agent that does it, with what was asked, what was granted and what was actually used set side by side.
Sources
- ACM SIGOPS Operating Systems Review 22(4), The Confused Deputy (or why capabilities might have been invented) (October 1988).
- Microsoft Security Blog, on the 2023 State of Cloud Permissions Risks report (March 30, 2023).
- Microsoft Security Blog, on the 2024 State of Multicloud Risk report (May 29, 2024).
- OWASP GenAI Security Project, Top 10 for Agentic Applications for 2026 (December 9, 2025).
- OWASP, Non-Human Identities Top 10, 2025.
- Proceedings of the IEEE 63(9), The Protection of Information in Computer Systems (1975).
- NIST SP 800-53 Rev. 5, Security and Privacy Controls, control AC-6 Least Privilege.
- NIST SP 800-207, Zero Trust Architecture (August 2020).
- AWS documentation, IAM Access Analyzer policy generation.
- Google Cloud documentation, Overview of role recommendations.
- NIST NCCoE, Accelerating the Adoption of Software and AI Agent Identity and Authorization, draft concept paper (February 2026).
- Microsoft Learn, What are agent identities?
- SPIFFE, Overview.
- IETF, draft-ietf-wimse-aims-01, AI Identity Management System (November 2, 2026), work in progress.
- Model Context Protocol, Security Best Practices, revision 2026-07-28.
Sources reviewed October 22, 2026; four of them were read again on November 13, 2026. Survey figures and product capabilities belong to their publishers; drafts are work in progress.