Incident sheet · Security & Risk
- System
- Security & Risk
- Filed
- Read
- 4 min · 852 words
- Severity
- Routine
MCP agents borrow user tokens, and audit trails pay the price
A growing critique argues MCP's common authorization pattern erases agent identity, inflating privileges and leaving logs that cannot distinguish human error from machine action.

Event log
- OAuth 2.0 Token Exchange (RFC 8693) explicitly defines both impersonation and delegation semantics.
- MCP's common flow lets a client act for the resource owner without requiring the resource server to see a distinct agent identity.
- Impersonation grants agents the user's full standing permission set, undermining least privilege.
- Audit records for agentic actions need at least two identities: human principal and agent actor.
- MCP and the broader agent ecosystem are moving toward explicit delegated authorization, but enforcement must reach the resource server.
A protocol design flaw is hiding in plain sight inside agent deployments: when an MCP agent calls a downstream service, the token usually identifies the user, not the agent. The downstream system sees a human. The machine that actually ran the query disappears from the record entirely.
That is the core of a pointed critique now circulating among identity and security engineers. It argues the Model Context Protocol ecosystem uses delegation language while implementing something functionally indistinguishable from impersonation. The gap sits in the authorization flow, and it scales with every agent an enterprise deploys.
What does the protocol actually say?
MCP's common authorization flow is user-centric. It lets a client make requests to an MCP server on behalf of a resource owner. But it does not consistently require the resource server to receive and enforce a distinct identity for the agent performing the action.
The critique is careful here. The problem is not that MCP uses OAuth. The problem is that the common pattern answers only one question: which user is this request associated with? It does not answer the equally important question of which agent performed the action.
In deployments where the downstream service receives only the user's identity, the result is functionally similar to user impersonation, even if the application calls the relationship delegation. That distinction matters most when agents are not passive interfaces — agents plan, select tools, construct queries, interpret results, retry failed actions, and sometimes keep operating after the user has walked away.
An agent is not a new user interface. It is an actor.
Why doesn't OAuth solve this already?
The vocabulary exists. OAuth 2.0 Token Exchange, defined in RFC 8693, explicitly distinguishes between impersonation and delegation, and provides token exchange mechanisms for both models.
- Impersonation means the acting party becomes indistinguishable from the subject. The downstream system sees the user. The agent vanishes.
- Delegation means one party acts on behalf of another while remaining a distinct actor. The downstream system should be able to establish both who authorized the action and who performed it.
The RFC's machinery is available. The critique's complaint is that MCP's common pattern does not require it to be used, and the semantics get discarded at the boundary between control plane and data plane.
What breaks when agents impersonate users?
The critique names three failure modes.
Privilege inflation. A user's permissions are designed around what that person may do across many contexts. An agent usually needs a far narrower set for one task. Under impersonation, the agent inherits the entire permission set. A privileged user produces a privileged agent. Least privilege dies, and temporary, purpose-bound access becomes hard to implement because the agent carries standing permissions into every interaction. Delegation, by contrast, lets the system apply separate constraints on what the user may do, what the agent may do, which resource is accessed, what purpose is authorized, how long authority lasts, and whether additional approval is required.
Ambiguous audit trails. A log entry reading "alice@example.com accessed payroll data" is incomplete if an agent performed the query. Did Alice run it herself? Which agent acted? Which tool did it invoke? Without both identities plus the delegation chain, task context, scopes granted, and policy decision, organizations cannot distinguish a user mistake from an agent error, a compromised agent, a malicious tool, or a policy failure. They may know an action occurred, but not which control to revoke.
Confused intent. A human may authorize an agent to "prepare a report." The agent then decides which systems to query, which filters to apply, which tools to invoke. The user's authorization does not fully describe what happened. The agent may have interpreted the request badly, followed an unsafe instruction, or continued after the user's attention moved elsewhere.
What would a real delegation model preserve?
A delegated token or request should express, at minimum:
- The human principal and the agent actor
- The intended audience or resource
- Permissions and constraints granted
- Purpose or task context
- Delegation lifetime
- Authority to delegate
- The chain of actors, if multiple agents are involved
The resource server should make authorization decisions using both the delegator and the actor. Logging systems should record both. Policy engines should distinguish human actions from agent actions under delegated authority.
Is this a temporary shortcut?
The critique says no, and its warning is blunt. Impersonation works with existing permissions, existing APIs, and existing audit systems, which is exactly why it is dangerous. Temporary shortcuts have a way of becoming permanent architecture. Once applications, data platforms, audit systems, and compliance processes assume every action belongs to a human user, introducing agent identity later becomes expensive and disruptive.
MCP and the broader agent ecosystem are already moving toward more explicit delegated authorization. That is progress. But the critique insists delegation must not stop at the consent screen or token issuance step — the distinction must survive all the way to the resource server, the policy decision, and the audit record. When software architecture fails to model what is actually happening, it eventually paints itself into a corner.
via cio.com/feed/ (Source)
More from Daniel Okafor
Show full bio
Staff writer covering technology and product news in enterprise information technology and the leaders who run at CIO Monitor.
278 articles
The newsroom digest
One email a day with the stories that matter. No noise.
Cross-references
- Five AI-agent security guides leave identity ownership unresolved
- MCP Security Tools Lead an Uneven Agentic AI Market
- Shadow AI turns valid API keys into sanctioned backdoors
- EY weighs MCP against enterprise data platforms for AI readiness
- Stateless MCP Removes Sessions, Not Enterprise Reliability Risks