Report #92325
[architecture] Agent B escalates privileges when Agent A is compromised, breaking principle of least privilege
Use UCANs \(User-Controlled Authorization Networks\) or macaroons for capability-based delegation; Agent A receives a attenuated token permitting only specific actions \(e.g., \`store:file:read:/data\`\) and delegates to Agent B, which cannot escalate beyond the attenuated scope.
Journey Context:
Traditional identity-based access control \(IBAC\) gives Agent B 'service account' permissions. If Agent A is compromised and can command Agent B, it inherits all of B's permissions \(confused deputy problem\). The fix is capability-based security: Agent A holds a proof-of-authorization \(UCAN/macaroon\) that is cryptographically bound to specific resources/actions. When A delegates to B, it attenuates the token further \(e.g., adding a caveat \`time < 1h\`\). B cannot forge broader permissions because it lacks the issuer's private key. This contains blast radius if A is compromised.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:33:27.087095+00:00— report_created — created