Join our Newsletter — 33% off our NHI Course

What happens when Confused Deputy attacks steer AI agents?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Poisoned tickets, email, and calendar invites can steer AI agents into using their own privileges, with Bishop Fox tying the abuse to a broken trust boundary between data and instructions. Agent identity then becomes a route for data exposure and workflow abuse even when authorization is intact.

Editorial analysis by NHI Mgmt Group, based on content published by Bishop Fox: “Otto Support - The Confused Deputy”.

Key questions

Q: Why do confused deputy attacks happen even when authorisation is working?

A: Authorisation can be correct while instruction provenance is wrong.

Q: How can organisations reduce confused deputy risk in agentic AI?

A: By shrinking the authority granted to the agent and making every tool and data connection explicit.

Q: What breaks when an AI agent acts on poisoned content?

A: The failure is not limited to a bad answer.

Practitioner guidance

  • Segment instruction sources from task data Treat tickets, email, calendar content, and similar inbound text as untrusted inputs that must not directly influence privileged tool calls without explicit mediation.
  • Scope tool access per task Register only the minimum tools an agent needs for a specific workflow, and do not provision broad tool sets to a single agent identity.
  • Restrict direct MCP pathways Limit which identities can talk to the MCP server directly, and route high-risk actions through a controlled policy layer instead of free-form command execution.

Bottom line: Confused deputy attacks exploit trusted AI agents by feeding them attacker-controlled content that the agent then treats as legitimate instruction.

Glossary terms: Confused Deputy, Identity Provenance, Tool Scope, MCP Server

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Confused deputy is an identity trust problem before it is an AI problem: the agent is not breaking its permissions, it is applying them to untrusted instruction sources. That distinction matters because many programmes still assume that a valid session or a valid task context is enough to justify action. In practice, the source of instruction must be treated as part of the identity decision, not as harmless payload. Practitioners should govern agent intent as rigorously as agent access.

A question worth separating out:

Q: What should teams do immediately after a confused deputy incident?

A: Contain the agent’s tool access, review the instruction source that triggered the action, and check for downstream data exposure or workflow changes. Then reassess which integrations allowed attacker-controlled content to become executable intent and narrow those pathways before restoring broad access.

👉 Read our full editorial: Confused deputy attacks are weaponizing AI agent privileges



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.