A confused deputy is a trusted program tricked into misusing its own authority on someone else's behalf. Agents make ideal deputies because they act with the user's tokens. An injected instruction or a careless OAuth proxy can make them perform actions the attacker could never authorize directly.
Read in this order
- OfficialAWS IAM: The confused deputy problemStart here: the problem explained with a clear cloud example and fix.
- ArticleChatGPT Plugin Exploit Explained: From Prompt Injection to Accessing Private DataThe confused deputy in an agent, with injected text driving plugin actions.
- VideoBlack Hat Asia 2026 | Remote Server, Local Root. Welcome to MCP.Shows how untrusted OAuth metadata becomes an execution boundary failure. 31 min.