Tuesday, December 1, 2026
HomeBusiness IntelligenceMCP and the identification hole: Impersonation will not be delegation

MCP and the identification hole: Impersonation will not be delegation



AI brokers are forcing software program engineers to confront an outdated identification downside in a brand new type.

When an individual asks an agent to carry out an motion, there are at the least two significant identities within the interplay:

  • The human who approved or initiated the request.
  • The agent that interpreted the request and carried out the motion.

These identities could also be associated, however they aren’t interchangeable.

As we speak, a lot of the authentication infrastructure getting used for agentic programs collapses them into one. The agent receives a token representing the person, then calls a downstream service as if it had been that person. The result’s handy, acquainted, and more and more tough to defend.

The trade says the agent is appearing on behalf of the person. The authorization system usually information solely the person because the actor.

These are usually not the identical factor.

OAuth already has a vocabulary for this

This isn’t a very new downside. OAuth 2.0 Token Change, outlined in RFC 8693, explicitly distinguishes between impersonation and delegation. The RFC describes token change mechanisms for each fashions and gives a solution to categorical delegation semantics in safety tokens. The excellence is simple.

Impersonation means the appearing get together turns into indistinguishable from the topic. The downstream system sees the person. The agent disappears.

Delegation means one get together acts on behalf of one other whereas remaining a definite actor. The downstream system ought to be capable to set up each who approved the motion and who really carried out it.

That distinction issues as a result of software program programs don’t merely have to know whether or not an motion was permitted. They should know who acted, below whose authority, for what objective, and with what constraints. A person could authorize an agent to reply a query a few specific knowledge set. That doesn’t imply the agent ought to inherit each permission the person has. Nor does it imply the agent ought to be capable to carry out each motion the person may carry out manually.

Delegation creates room for these distinctions. Impersonation erases them.

MCP is utilizing delegation language with out constantly modeling delegation

MCP’s widespread authorization movement is user-centric. It permits a shopper to make requests to an MCP server on behalf of a useful resource proprietor, nevertheless it doesn’t constantly require the useful resource server to obtain and implement a definite identification for the agent performing the motion. That may be a cheap start line for securing an interactive utility. It’s much less satisfying as an entire identification mannequin for autonomous or semi-autonomous brokers.

The issue will not be that MCP makes use of OAuth. The issue is that the widespread authorization sample doesn’t require the useful resource server to obtain or implement a definite identification for the agent that’s really making the request.

In observe, the token usually solutions one query: Which person is that this request related to?

It doesn’t essentially reply the equally vital query: Which agent carried out this motion?

In deployments the place the downstream service receives solely the person’s identification, the result’s functionally much like person impersonation, even when the appliance describes the connection as delegation. The excellence turns into particularly vital when an agent will not be a passive interface. Brokers plan, choose instruments, assemble queries, interpret outcomes, retry failed actions, and generally proceed working after the unique person interplay has ended.

An agent will not be merely a brand new person interface. It’s an actor.

If the structure treats brokers as first-class identities in a single a part of the management airplane, then hides them behind human credentials on the knowledge airplane, the system is speaking out of either side of its mouth.

Why impersonation breaks down for brokers

A person’s permissions are designed round what that individual could do throughout many contexts. An agent often wants a a lot narrower set of permissions for a particular activity. If the agent impersonates the person, it inherits your complete permission set. A privileged person produces a privileged agent, even when the duty requires solely a small subset of that authority. This undermines least privilege. It additionally makes short-term, purpose-bound entry tough to implement as a result of the agent is carrying the person’s standing permissions into each interplay.

Delegation permits the system to use extra constraints:

  • What the person is allowed to do
  • What the agent is allowed to do
  • Which useful resource is being accessed
  • What activity or objective is permitted
  • How lengthy the authority ought to stay legitimate
  • Whether or not the motion requires extra approval

The efficient authority needs to be the results of these constraints, not merely a replica of the person’s entry.

A log entry that claims “[email protected] accessed payroll knowledge” is incomplete if an agent carried out the question. Did Alice personally run the question? Did she ask an agent to retrieve the knowledge? Which agent acted? Which device did it invoke? What directions or coverage ruled the motion? These questions are usually not forensic particulars. They’re a part of the occasion itself.

A helpful audit document for agentic exercise must protect at the least two identities:

  • The human principal who delegated or initiated the motion
  • The agent that truly carried out it

It could additionally want the delegation chain, the duty context, the scopes granted, the coverage resolution, and the ensuing knowledge entry. With out that data, organizations can’t reliably distinguish a person mistake from an agent error, a compromised agent, a malicious device, or a coverage failure. They could know that an motion occurred, however not which management needs to be revoked or which identification needs to be investigated.

A human could authorize an agent to “put together a report.” The agent could resolve which programs to question, which filters to use, and which instruments to invoke. The person’s authorization is related, nevertheless it doesn’t totally describe what occurred.

The agent launched its personal habits into the method. It could have interpreted the request incorrectly, adopted an unsafe instruction, chosen a very broad question, or continued working after the person’s instant consideration moved elsewhere.

That doesn’t make the agent a authorized or ethical individual. It does make the agent a significant safety actor. Safety fashions ought to describe the system because it operates, not as we want it operated.

What an actual delegation mannequin ought to protect

A correct agent authorization mannequin doesn’t want to interchange person consent or remove identification suppliers. It must protect the connection between the identities concerned.

At minimal, a delegated token or request ought to be capable to categorical:

  • The human principal
  • The agent actor
  • The meant viewers or useful resource
  • The permissions and constraints granted
  • The aim or activity context, the place obtainable
  • The delegation lifetime
  • The authority to delegate
  • The chain of actors, if a number of brokers are concerned

The useful resource server ought to be capable to make an authorization resolution utilizing each the delegator and the actor. Logging programs ought to document each. Coverage engines ought to be capable to distinguish a human motion from an agent motion carried out below delegated authority.

This doesn’t imply each system must implement the identical claims or token format. It does imply that the protocol should protect the semantics as an alternative of discarding them on the boundary. A user-centric token could also be sufficient for easy purposes. It’s not sufficient because the default identification mannequin for software program that may independently purpose, plan, and act.

The uncomfortable design alternative

There’s a temptation to deal with impersonation as a brief implementation element. It really works with present permissions, present APIs, and present audit programs. It avoids creating new agent identities and new authorization flows.

That comfort is precisely why it’s harmful.

Momentary shortcuts have a approach of changing into everlasting structure. As soon as purposes, knowledge platforms, audit programs, and compliance processes are constructed across the assumption that each motion belongs to a human person, introducing agent identification later turns into costly and disruptive.

The higher time to mannequin the agent is earlier than the system is dependent upon pretending it’s not there.

MCP and the broader agent ecosystem are already transferring towards extra express delegated authorization. That’s progress. However delegated authorization shouldn’t cease on the consent display screen or token issuance step. The excellence should survive all the way in which to the useful resource server, coverage resolution, and audit document.

Brokers needs to be first-class actors

The central query will not be whether or not an agent is “a person.” It’s not. The query is whether or not the agent is an actor whose habits impacts safety, authorization, privateness, and accountability. The reply is clearly sure.

If an agent is an actor, then our protocols ought to characterize it as one.

The human ought to stay seen because the principal who approved the work. The agent ought to stay seen because the actor that carried out it. The system ought to implement the boundaries between them relatively than collapsing each identities right into a single credential.

Delegation will not be a beauty enchancment to impersonation. It’s a extra correct mannequin of what’s really taking place. And when software program structure fails to mannequin what is definitely taking place, it will definitely paints itself right into a nook.

RELATED ARTICLES

Most Popular

Recent Comments