Permission Drift: When Your AI Agent Keeps Access It No Longer Needs
The task is finished. The access is still there.
An AI agent may stop producing work while retaining the credentials, scopes or delegated authority that made the work possible. Later, its role changes. Someone adds another connector. A temporary exception becomes permanent.
DN’s thesis: access should remain attached to a current purpose, an accountable owner and an enforceable boundary. Permission drift begins when that relationship becomes unclear.
What Matters
- Review effective authority. The visible tool list may not describe everything a credential can reach.
- Tie access to a current task. “We needed this once” is different from a present justification.
- Separate expiry from revocation. One expired token does not establish that every route to access has ended.
- Read access matters. Sensitive data can be exposed without any write action.
- Remove access deliberately. Check ownership, shared use, active work and recovery before routine changes.
- Test the boundary. A documented limit is weaker evidence than a limit enforced by the receiving system.
Evidence Block
Source review: 13 October 2026. DN has not measured how frequently agent permissions drift or completed a vendor comparison. This article proposes an access-review method.
OWASP describes excessive agency in terms of excessive functionality, permissions and autonomy. The practical issue is what the combined application is empowered to do, not simply whether the model follows an instruction.[1]
MCP’s security guidance addresses scope minimisation and authorization boundaries. Its documentation provides implementation guidance, not proof that a particular deployment follows it.[2]
RFC 7009 defines OAuth token revocation. RFC 9700 provides OAuth security best practices, including protections relevant to refresh tokens and access-token privileges. Actual invalidation behaviour must be checked in the deployed service.[3] [4]
Evidence boundary: these sources support access-control concepts. They do not establish a universal review interval, a financial-loss estimate or a “safest agent” ranking.
When Authority Outlives the Job
Consider a hypothetical agent that prepares an investment research brief. During a pilot, it receives access to a trading account so the team can explore a future execution feature. The feature is postponed. The account access remains.
The agent’s current job is research, but its effective authority may still include actions that the research task does not require. Nothing malicious has to happen for the mismatch to exist.
Drift can also run in the opposite direction. A previously read-only agent gains a legitimate operational role, but nobody updates the owner, approval rules or testing. The access may be necessary while its governance is incomplete.
A useful review therefore asks both whether a permission is needed and whether the current use is properly bounded. Counting credentials alone misses that distinction.
One Agent Can Have Several Access Paths
| Access path | Review question | Evidence |
|---|---|---|
| API key | Which resources and actions can this key actually reach? | Provider settings, account role and a controlled boundary test. |
| OAuth grant | Which scopes, tokens and refresh paths remain active? | Grant inventory and documented invalidation behaviour. |
| Service account | Does an inherited role grant more than the task requires? | Effective policy, resource bindings and owner. |
| Delegated wallet authority | Which actions, assets, destinations and durations are authorised? | Applicable permission state and enforcement evidence. |
| Browser session | What can the signed-in session do beyond the agent’s task? | Session context, account privileges and access boundaries. |
These are review categories, not claims that all products support identical controls. A disconnected interface can leave another access path active. Inventory the paths independently.
Least Privilege Needs a Time Dimension
The minimum useful permission today may be unnecessary tomorrow. A workflow can meet a narrow initial design and still accumulate obsolete access as tasks, suppliers and owners change.
Record the purpose at the time access is granted. Add a review trigger such as task completion, a changed owner, an expanded tool set or a new financial capability. Periodic review can catch omissions, but event-based review connects the decision to an actual change.
Expiry helps when it is enforced and understood. It does not replace checking whether a refresh credential, independent key, inherited role or separate grant preserves access.
Likewise, revocation is not recovery. Removing future authority does not undo a completed transfer, restore deleted records or automatically reconcile in-flight work.
DN Task-to-Permission Review Planner
Assess one permission or access path at a time. Use evidence from the actual account and enforcement system. The planner suggests review steps; it does not connect to services, revoke credentials or certify security.
The script does not transmit or persist inputs. Ordinary site analytics operate separately. Answers are self-reported. No credentials, account identifiers or wallet connection are required.
The Permission Ledger
Record the agent or workflow, current task, access path, resource, permitted actions, owner, justification, grant date, expiry or review trigger, last verification and removal evidence.
For financial authority, add the applicable asset, destination, amount and cumulative limits where the system supports them. Describe how the limits are enforced and what happens if an action is pending when access changes.
A current justification is not a permanent approval. Revisit it when the task changes. Preserve evidence references without exposing credential values in the ledger.
Removing Access Without Creating a New Failure
- Resolve ownership. Identify who can approve the routine access change.
- Check dependencies. Determine whether another workflow shares the credential or relies on the resource.
- Inspect active work. Establish how pending operations will be completed, cancelled or reconciled.
- Choose the narrowest change. Reduce scope, replace shared access or remove the unnecessary grant as appropriate.
- Verify the result. Test that prohibited access fails and required work still functions.
- Record remaining paths. Check other tokens, sessions and grants rather than relying on one interface message.
This is a routine review process. Suspected compromise calls for the organisation’s incident-response procedure, which may require urgent containment rather than waiting for a normal review cycle.
The Cost of Unexplained Authority
Broad access can make prototypes easier to assemble. It can also make later decisions harder: who should approve a change, what will break if access is removed, and which workflows were exposed?
DN’s economic hypothesis is that unexplained authority can increase investigation and maintenance work even before an incident. The size of that effect needs measurement; it should not be presented as a known average loss.
Start with observable measures: time to find an owner, time to identify all access paths and time to verify removal. Keep avoided-loss claims separate from recorded operational costs.
The Signal
Watch for fewer access paths lacking a current justification, without harming necessary task completion. Pair inventory progress with evidence that boundaries and removal actually work.
DN Alpha Thesis
As agents take on changing roles, maintaining a clear relationship between task and authority could become a valuable operational capability. Useful products may make access changes understandable, reviewable and reversible where the underlying system permits.
This is a conditional thesis. It weakens if narrow, short-lived permissions become standard and existing identity tooling manages the full lifecycle with little additional effort.
Methodology and Falsification
The DN planner uses fixed qualitative rules. Unneeded access produces a planned-removal review; unknown purpose produces an evidence-gathering step. Owner, scope, review-trigger and removal gaps remain visible in every result.
The tool does not infer effective permissions, check platform settings, test token invalidation or quantify risk. A completed checklist does not establish compliance or security.
Test the framework by comparing whether task-linked access records improve ownership resolution, reduce unexplained grants and make changes easier to verify. If the process adds work without these benefits, simplify it. Removing permissions while causing undisclosed operational failures would not establish improvement.
Continue Through the DN Toolkit
- Agentic Wallet Security: wallet-specific controls and evidence.
- Agent Kill-Switch Guide: containment and revocation testing.
- DN Agent Trust Dataset: financial authority and control evidence.
- DN Dictionary: delegation, scope and least privilege.
Sources
- OWASP: LLM06:2025 Excessive Agency.
- MCP: Security Best Practices, versioned documentation.
- IETF RFC 7009: OAuth 2.0 Token Revocation.
- IETF RFC 9700: Best Current Practice for OAuth 2.0 Security.
Frequently Asked Questions
What is permission drift?
It is a mismatch between an agent’s current task and the authority it still retains, including access that remains after the original purpose changes or ends.
Does unused access prove compromise?
No. It identifies an access-review question, not evidence of an attack.
Does token expiry remove every permission?
No. Refresh credentials, other keys, sessions or separate grants may remain. Review the actual implementation.
Is a read-only connection harmless?
No. It can expose sensitive information or permit its retrieval. Assess the data scope and destinations.
Should every unused permission be revoked immediately?
Plan removal with the owner after checking shared use, active work and recovery needs. Urgent incident containment is a separate process.
Does the DN tool inspect my accounts?
No. It uses your answers to suggest a review plan and does not connect to services or alter permissions.
Does the tool certify that an agent is safe?
No. It does not verify answers, quantify attack probability or certify security.
How often should access be reviewed?
Use risk-based periodic reviews plus triggers such as task completion, owner changes, new tools and expanded authority. There is no universal interval.
Disclosure: DN’s framework and planner are editorial work. No measured vendor ranking, security certification, loss forecast or legal determination is presented.
Related reading:
The AI Agent Supply Chain: Who Can Change What Your Agent Trusts?
Your AI Agent Worked Once. Can It Do It Again?
The Cost of Human Rescue: The Labour Bill Hidden Inside AI Automation
Model Intelligence vs Harness Intelligence: Why AI Agents Fail
We Tested Five AI Finance Systems. Here Is What the Evidence Actually Proves.
Who Gets Paid When Two AI Agents Disagree?
The DN Agent Credit Score: Measuring Whether Autonomous AI Can Repay