Report #70741
[architecture] Confused deputy attacks in privilege delegation chains
Implement capability-based access control \(ZCAP-LD or macaroons\) with attenuation: Agent A delegates to B by issuing a derived capability token scoped to specific resources/actions \(time-bound, IP-bound\); B cannot forge capabilities or escalate privileges; verify capability chains cryptographically before executing sensitive operations; log all capability invocations with caveats.
Journey Context:
In delegation chains, Agent B acts on behalf of Agent A. If B is compromised or tricked, it can abuse A's privileges \(the confused deputy\). Simple bearer tokens \(OAuth2\) allow B to use A's token arbitrarily. Capability-based security \(like ZCAP-LD\) binds authority to specific actions via unforgeable tokens that can be further attenuated \(restricted\) when passed down the chain. This prevents privilege escalation. Alternative: RBAC with static roles—too coarse for dynamic multi-agent delegation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:19:15.402179+00:00— report_created — created