liveBook · Manning

Confused deputy problem

The confused deputy problem is a security flaw in which a program or intermediary is induced to use its legitimate authority on behalf of a principal who lacks permission.

How 2 Manning books explain it

Authorization in Action

The confused deputy problem is a security failure in which an authorized intermediary is induced to use its own authority for another principal without correctly applying that principal's permissions.

How it is used
Uses the problem to motivate authorization checks that preserve requester and delegation context across intermediaries.
How deep it goes
Defines the failure and works through gateway, escalation, service-mesh, and agent enforcement scenarios.
Examples
Uses department salary access, tenant support escalation, document indexing, and AI-agent tool invocation as examples.
What you can do after
Evaluate intermediary requests by identifying the initiating authority and constraints that a policy decision must consider.

Read how Authorization in Action explains confused deputy problem →

AI Governance

The confused deputy problem is a security flaw in which a program with legitimate authority is tricked into using that authority on behalf of someone who lacks it.

How it is used
Protects enterprise AI assistants from exposing data through service accounts with broader privileges than their users.
How deep it goes
Defines the flaw and explains user-context queries, including the need to propagate identity through connected components.
Examples
Contrasts a broadly privileged chatbot involved in a data breach with ClaimAssist's customer-scoped queries and excluded records.
What you can do after
Configure assistant queries to use the requesting user's identity and exclude unnecessary sensitive data.

Read how AI Governance explains confused deputy problem →

Also covered in

Related concepts

Questions about confused deputy problem

What is confused deputy problem?

The confused deputy problem is a security flaw in which a program or intermediary is induced to use its legitimate authority on behalf of a principal who lacks permission.

Which Manning books explain confused deputy problem?

Authorization in Action and AI Governance.

What kinds of confused deputy problem are there?

Kinds of confused deputy problem include AI CLI tool.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.