Report #23041
[architecture] Low-privilege agent delegates to high-privilege agent, bypassing access controls — the sudo-via-delegation attack
When Agent A delegates to Agent B, Agent B's effective permissions are the intersection of \(Agent A's permissions, Agent B's permissions\), not the union. Implement permission scoping at the orchestrator level, never at the agent level.
Journey Context:
In multi-agent systems, different agents often have different tool access levels: a research agent might only read, while an execution agent can write. The attack vector: a compromised or manipulated research agent crafts a delegation that causes the execution agent to perform unauthorized writes. This is the multi-agent equivalent of privilege escalation via sudo. The naive approach — just do not give the research agent the ability to delegate to the execution agent — is too restrictive and defeats the purpose of multi-agent orchestration. The correct fix is to apply the principle of least privilege at the delegation boundary: when Agent A delegates to Agent B, the orchestrator computes the effective permission set as the intersection of A's and B's permissions. If A does not have write permission, then even though B does, B's writes are blocked for this particular delegation. This must be enforced by the orchestrator, not by the agents themselves, because agents cannot be trusted to self-enforce permissions — a compromised agent will simply ignore self-restrictions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T17:05:07.140005+00:00— report_created — created