Report #53893
[architecture] Over-privileged agents causing catastrophic damage when compromised; inability to enforce least-privilege delegation
Implement UCAN \(User Controlled Authorization Networks\) tokens with capability attenuation; each agent delegates a strict subset of its capabilities to downstream agents via signed JWT chains that cannot be escalated or replayed.
Journey Context:
Traditional ACLs or API keys grant broad permissions. When Agent A is compromised, its keys allow full access to all downstream tools. Capability-based security \(like macaroons or UCANs\) allows Agent A to issue a token to Agent B that is only valid for specific actions \(e.g., 'read file X' not 'delete all'\). Attenuation means B can further restrict for C, but cannot escalate. UCANs are the W3C CCG standard for decentralized authorization, using signed JWTs that can be verified offline. Tradeoff: token size increases with chain length vs security. Prevents privilege escalation in deep agent chains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:57:29.172650+00:00— report_created — created