Constrain Delegated Authority and Background Work
Preserve user, tenant, action, and audience restrictions across trusted services, queued jobs, and authorization caches.
You’re reading a preview. Premium includes the full lesson and specialist practice. View the full curriculum.
Authentic identity can still carry excessive authority
A confused deputy is a service that uses its own authority to perform an operation the requesting actor is not entitled to cause. Unlike forged-header impersonation, the identities can all be authentic. The failure is the permission relationship between the user's request and the downstream operation.
AdjustmentDesk's support service has a valid workload credential for the ledger service. A support employee may view customer accounts and request an investigation, but only billing approvers may create a credit adjustment. The support service accepts an adjustment request and calls the ledger using its broad service credential without preserving the employee's action restriction.
Genuine user: support employee
Genuine workload: support-service
Selected account: inside the correct tenant
Requested action: create credit adjustment
Missing rule: user is not entitled to this privileged action