Tool authorization and human approval
A suggestion is not permission
An agent is an application that may plan steps and request tools toward a goal. Excessive agency arises when its effective permissions exceed the task. OWASP LLM03:2026 and the Agentic Applications 2026 project help identify these risks. CampusHelp can propose a mock library-ticket draft; only the application policy can authorize recording a simulated receipt. No real service is connected.
Bind policy to authenticated context
Use a small allowlist of tools, typed arguments, resource ownership checks and separate credentials scoped to the operation. For the classroom gate, the only action is record_mock_ticket, resource must equal the authenticated team, and the request ID must match an independent approval record. Model-provided role names are not trusted. Deny missing or unknown values; check permission again at execution in a real system.
Approve the exact action
A human reviewer needs the intended action, target, effects and identity before approving. Bind approval to the exact action, team and request, require an authorized reviewer distinct from the requester, and enforce expiry. In the classroom, approval at time 10 with expiry 20 is valid at time 19, not 20. A previously recorded request ID returns duplicate rather than producing another receipt. Real idempotency requires durable atomic state, not just a set in memory.
Monitor bounded behavior
Define step, time and resource budgets and stop on missing approvals or unexpected tool results. The application records action ID, policy version, decision, reason category and correlation ID without storing confidential prompts. If a policy service is unavailable, do not perform a privileged write by default. Separate proposing, approving and executing; revoke permissions and review effects if a release behaves unexpectedly.
Practice without connected tools
Use the mock action records and gate in the lab. For each, identify whether role, resource, approval, expiry or replay prevents acceptance. A result of allow-mock is only a decision string; no tool is invoked. Add one permitted and one denied case, then propose a future authorized concurrency test. Do not test unrelated assistants or use secrets.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Tool authorization and human approval — knowledge check
Review AI trust boundaries, output validation, approvals and PQC migration.
Who grants permission to record a mock ticket?
An approval expires at 20 and the clock is 20. What result is appropriate?
A valid request was already recorded. What should the mock gate return?
Which approval is appropriately bound?
The policy service cannot be reached. What is the safe default for a privileged write?