Report #24663
[architecture] Confused deputy attacks where Agent A tricks Agent B into performing actions outside Agent A's authority \(e.g., deleting another user's data\)
Replace identity-based access control with capability-based security: Agent A must present an unforgeable capability token \(cryptographic bearer token\) scoped to specific actions/resources when invoking Agent B; Agent B validates the token signature and capability scope without trusting Agent A's identity alone.
Journey Context:
Simple API keys or mTLS authenticate the agent but not the action. If Agent A is compromised, it uses Agent B's general-purpose API to wreak havoc. RBAC helps but doesn't prevent the confused deputy \(Agent B checks 'Is this Agent A?' but not 'Should Agent A do this specific thing?'\). Capabilities \(like Macaroons or SPIFFE SVIDs with workload attestation\) bind authority to the specific request. The tradeoff is complexity—distributing and revoking capabilities is harder than role checks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:48:31.092535+00:00— report_created — created