ConfusedDeputy

Guard against privilege confusion by binding authority checks to the upstream caller, not the executing deputy

Society · Protocols · bootstrap 0.11.0

Mechanism

An Agent that holds Permission on behalf of one principal is tricked by a less-privileged caller into exercising that authority for the caller's benefit. The classic 1988 Hardy framing: a privileged compiler asked to write debug output to a billing file ends up corrupting the billing file because access was checked against the compiler's identity, not the requesting user's. In LLM systems the same shape appears as prompt injection: an Actor with tool access is induced by adversarial input to invoke its tools on the attacker's behalf, because permission was bound to the agent process, not to the upstream request that motivated each tool call.

Invariants

Preconditions

Postconditions

Failure modes

Where this came from

—

Builds on

Identity