Attenuating Delegation Chain
also known as Attenuated Capability Chain, Cannot-Widen Delegation, Attenuating Authorization Token, Invocation-Bound Capability Token
Carry authority down a multi-hop agent delegation as a signed, append-only chain in which each child link is no wider than its parent on every facet, so a verifier can reject widening offline.
This pattern helps complete certain larger patterns —
- specialisesDelegated Agent Authorization★— Have an agent act for a principal using scoped, short-lived, revocable delegated credentials rather than the principal's own static secrets, so each action stays attributable across the principal-to-agent-to-subagent chain and a compromise is contained.
Context
A person gives an agent a task, and the agent completes it by spawning sub-agents and calling tools over protocols such as the Model Context Protocol and Agent-to-Agent messaging. Authority has to travel with the work, because the sub-agent that queries a database or moves money needs something the resource server will accept. In most deployments what travels is a bearer credential minted for the top of the chain, or nothing at all: a scan of roughly two thousand public Model Context Protocol servers found that every one of them lacked authentication. The enforcement point at the third hop therefore has no record of what the person actually granted at the first.
Problem
A bearer credential states what its holder may do, not what its holder was delegated. Once it is handed down, every hop holds the authority the first hop held, so an agent that has been prompt-injected somewhere in the middle of the call tree can spend the whole grant; in one measurement a compromised sub-agent under bearer delegation could reach all 8,100 actions available in the environment. Narrowing the credential at each hop through the authorization server helps, but it puts a round trip on the critical path of every delegation and still leaves the resource server trusting a scope claim it has no way to check. Nothing in the credential ties a child to its parent, so no enforcement point can answer whether the authority in front of it is narrower than what the person signed.
Forces
- Delegation has to be cheap at the point of use, since an orchestrator that must call an authorization server before every sub-agent hop pays a round trip per hop, yet the enforcement point still has to be able to check the grant it is handed.
- The narrower a child credential, the less a hijacked sub-agent can reach; but over-narrowing breaks legitimate work the parent could not foresee when it minted the child, and narrowing cannot be undone from inside the chain.
- Scope alone does not bound a delegation tree, because an agent can stay inside its allowed tool list and still recurse without limit or spend without limit, so remaining depth and budget need facets of their own.
- An append-only chain is self-describing and verifiable without the issuer, but it grows with every hop and outlives the issuer's ability to withdraw it, so revocation and rotation have to be handled outside it.
- Enforcement cost has to vanish next to model inference; a measured chain check runs at about 2.6 microseconds per decision, negligible against a model call, but only while verification stays local.
Example
A travel agent books a trip and hands a hotel sub-agent a delegation link that allows only the booking tool, only for one named city, only up to 400 euros, valid for one hour, with one hop left. The sub-agent reads a poisoned page and tries to mint a child link that also carries the refund tool. The hotel's booking service walks the chain, finds a tool the parent never held, and rejects the call before it runs. The refusal needs no call back to the travel agent's authorization server.
Diagram
Solution
Therefore:
Represent the grant as a credential chain rooted in a link the principal signed. The root states the authority actually delegated across a fixed facet set: which tools may be invoked, which argument values are legal, how much may be spent, how many further hops remain, and how long the grant stays valid. When a holder delegates, it derives a child link offline by restricting one or more facets and signing the result. It cannot add a tool the parent did not carry, raise a spend ceiling, or extend a validity window, and the depth facet forces the child to record at least one hop fewer than its parent. An enforcement point that holds the root trust anchor walks the chain from root to leaf, checks each signature, and checks each facet for monotone narrowing; the first widened link fails the entire chain. Because the check is local it needs no call to the authorization server, and because the chain is append-only it doubles as the provenance record for the action it authorised. Revocation, key rotation, and short root lifetimes remain the issuer's responsibility, since a link already handed out cannot be withdrawn by the chain itself.
What this pattern forbids. A child link must not authorize any tool, argument value, spend ceiling, depth or validity window that its parent did not already carry, and the depth facet must decrease at every hop; a verifier must reject the whole chain at the first widened link, and no hop may act on authority it cannot present as a signed chain back to the principal's root.
And the patterns that stand alongside it, or against it —
- alternative-toAgent Privilege Escalation✕— Anti-pattern: let an agent's effective permissions be the union of its own identity, the identities of its tools, and the identities of the services those tools call.
- alternative-toTool Over-Broad Scope✕— Anti-pattern: grant the agent tools scoped so broadly that a single hallucinated argument can escalate into a privilege incident.
- complementsEphemeral Agent Identity★— Mint each agent run a short-lived identity of its own, scoped to one task and provisioned just-in-time, then revoke it on completion so no standing credential outlives the work.
- complementsDeontic Token Delegation·— Reify obligations, permissions, and prohibitions as transferable deontic tokens that agents pass along the delegation chain with provenance, so duty and accountability transfer with the work, not only the credentials to perform it.
- alternative-toProgressive Delegation★— Stage the human-to-agent handoff over time: the agent starts producing drafts a human always reviews; its autonomy expands action-by-action as measured trust accrues.
- complementsPolicy-Gated Agent Action (KRITIS)★— Each agent action passes through a policy gate (NIS2, EU AI Act, BSI rules) and is tagged with Run ID + Model Digest + Policy Hash for WORM-audit reconstruction.
- complementsProvenance Ledger★★— Log every agent decision and state change with enough metadata to explain or reverse it later.
- complementsSigned Agent Card★— Cryptographically sign an agent's published capability card so a consuming agent can verify it was issued by the claimed domain before binding to or delegating to it, closing the spoofing gap in agent-to-agent discovery.
- complementsMonotonic Privilege Confinement★— Let a task-derived action policy change during a run, but admit an update automatically only when a decision procedure proves it narrows the permitted set, so privileges shrink freely and widen only on approval.
Neighbourhood
Click any neighbour to follow the language. Scroll to zoom, drag to pan.