Report #50258
[architecture] Over-privileged agents can invoke dangerous methods on other agents, enabling lateral movement and privilege escalation if one agent is compromised
Implement capability-based security using macaroons: mint unforgeable tokens granting specific rights \(e.g., 'write to table X once'\); agents present attenuated tokens to authorize actions; verify caveats at each boundary
Journey Context:
ACLs \(role-based\) grant broad permissions \(e.g., 'Agent A can call any method on Agent B'\). If Agent A is compromised, attacker gets full lateral access. Capabilities are unforgeable tokens that specify exact rights \(e.g., 'read file Y'\). Agent B mints the capability and hands it to Agent A, who cannot forge new capabilities, only pass them along. Macaroons support attenuation: Agent A can derive a more restricted sub-token for Agent C without B trusting C. Implementation: use HMAC chains or public-key signatures with caveats \(expiration, specific actions\). Verification: check signature, then evaluate caveats. Tradeoff: complexity vs fine-grained security. Essential for zero-trust agent meshes handling sensitive data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:50:33.139194+00:00— report_created — created