Guided security lab
Agent Authorization
A guided exercise on authorizing concrete agent actions: separate authentication from authorization, bind the exact request to the initiating principal and delegated scope, re-authorize changed parameters and keep delegation from amplifying authority across hops.
This exercise uses authored, deterministic examples with fictional names and neutral synthetic content. It calls no tools, APIs, identity providers, agents or models, and it does not predict how any real model behaves.
Learning objectives
- Separate authentication from authorization.
- Distinguish the acting agent identity from the initiating principal and the delegated user or task scope.
- Treat the model's requested action and parameters as a proposal, not as authorization facts.
- Evaluate one exact request against application-recorded policy facts.
- Recognize when a broad capability, a registered tool, a valid credential or a prior allow is insufficient for the proposed request.
- Re-authorize when execution-relevant parameters, resources or destinations materially change.
- Prevent authority amplification across agent and tool hops.
- Distinguish authorization decisions from separate information-flow, output-validation and human-approval controls.
Prerequisites
- Tool Output Injection lab (recommended)
- Trust Boundaries and Model Context lab (recommended)
Action request path and trust flow
A request is authenticated, the model proposes an action, a policy decision point evaluates the exact request and the target tool enforces it. Identity, policy and enforcement are system components; requests and proposals stay variable.
- Signed-in user requestVariable content->
- Identity provider (authentication)System component->
- ModelSystem component->
- Proposed tool callVariable content->
- Policy decision pointSystem component->
- Enforcement at the case toolSystem component
Model-visible request content
What the model reads. It contains no authorization facts.
- User request
Please summarize case K-310.
- Available tool list
case-management: read_case, update_record
Application-side authorization facts
Recorded by the identity provider, delegation service, grant and approval stores, ACL and destination policy outside model text.