Least privilege voor AI-agents wordt een eigen ontwerpvraagstuk
Nieuwe richtlijnen van Microsoft, CSA en OWASP beschrijven dat least privilege voor AI-agents een eigen identity-, tool- en auditarchitectuur vraagt.
Je moet nu kunnen aantonen dat elke agent alleen de rechten heeft die strikt nodig zijn voor zijn taak, en dat elke actie die hij uitvoert traceerbaar is. Dat is niet langer een afgeleide van standaard access management — het vraagt een eigen architectuur.
An analysis of 11 August 2026 of least privilege for AI agents as a distinct design challenge argues that AI-agents require their own identity, access and audit architecture rather than a simple adaptation of classical privilege models. The concrete case is the shift from over-privileged service accounts to over-privileged agent credentials coupled to autonomous action. In our assessment, this development means you must now treat agent permissions as a separate risk category: where a broad admin role was once the main concern, an over-scoped agent credential executing autonomous workflows on external content now poses the faster, larger-scale threat.
Waarom is least privilege voor agents anders dan voor gebruikers?
Classieke least privilege werkt met statische rollen en standing permissions. An AI-agent operates differently: it executes workflows autonomously, often on content it has not seen before, and it can chain multiple tool calls in sequence without human intervention between steps. A support agent that can read tickets, query a knowledge base, and send emails needs those permissions only during its defined workflow — but if those permissions are standing and broadly scoped, the blast radius expands the moment the agent's instructions are altered or its training data is poisoned.
The risk is not hypothetical. Agents increasingly handle sensitive documents, customer data, and system access. A legal copilot that can read contracts and extract terms needs read access to a document store, but not write access to billing systems. A support agent needs to query customer records but not modify them. Yet in practice, many agent deployments grant permissions at the role level — "agent can access the data layer" — rather than at the task level. That gap is where least privilege for agents becomes its own problem.
Welke foutmodi dreigen bij over-geprivilegieerde agents?
- Credential scope creep — permissions granted for one workflow are never revoked and accumulate across multiple agents and use cases.
- Autonomous action at scale — a single agent instruction error or prompt injection can trigger hundreds of tool calls before a human notices.
- Tool-chain exploitation — an agent granted access to multiple tools can chain them in ways the designer did not anticipate, using one tool's output to unlock another.
- Audit blindness — if tool calls are not logged with full context (which agent, under which identity, with which authorization), you cannot reconstruct what happened at 3am when the agent acted alone.
- Credential persistence — agents holding permanent credentials to production systems create a standing attack surface, unlike time-bound human sessions.
Welke concrete controles moet je kunnen aantonen?
- Document each agent as a distinct identity — register the agent, its owner, its purpose, and the lawful basis for the data it touches, separate from user identities.
- Scope permissions to the task, not the role — define exactly which tools, which data sources, and which actions each agent needs for its workflow, and grant nothing more.
- Enforce time-bound and just-in-time credentials — agents should not hold standing access to production systems; credentials should be issued for the duration of a specific workflow and revoked immediately after.
- Log every tool call with full context — record which agent, under which identity, with which authorization level, called which tool, on which data, at what time, and what the result was.
- Enforce authorization outside the model — use external policy engines to control what an agent can do, not prompts or guardrails inside the language model itself.
Hoe ziet task-level least privilege er in de praktijk uit?
Decompose each agent workflow into its discrete steps. A legal document assistant does not need to read, extract, write, and email in one permission set. Instead: read access to the document store for the extraction phase, then a separate authorization to draft output, then a separate authorization to send it. Between steps, credentials are revoked or narrowed. If the agent is instructed to do something outside its defined workflow — say, to access a customer database it was never meant to touch — the policy engine denies it, not because the model refused, but because the credential does not have that permission.
This also means that tool access is explicit and enumerated. An agent does not get "access to the API layer"; it gets access to specific endpoints, specific methods (read-only or write), and specific resources (this customer's data, not all customers). Where possible, access is also scoped to a time window: the agent can call this tool between 9am and 5pm, or only during this specific workflow run.
Wat kan tooling doen, wat moet je zelf bepalen?
Policy engines and audit platforms can enforce the rules and record the evidence. They cannot decide what your agent should be allowed to do. That decision — what is the agent's actual purpose, which data does it genuinely need, which tools does it actually use, which actions must stay behind human approval — stays yours. Tooling makes the decision visible and auditable; it does not replace the judgment that the decision requires. At 3am, when an agent has executed a thousand tool calls, the logs will tell you what happened. Whether that was the right thing to happen is still a question you have to answer.
Bronnen: Dit artikel is gebaseerd op berichtgeving en richtlijnen van Microsoft, Obsidiansecurity, Scopegate en Aigovernance.
Geschreven door
Casper Veenstra
Continuïteit, failover en de operationele kant van afhankelijkheid van het model van een ander.