OWASP field test
LLM06: A practical excessive agency test
RuntimeGuardrails.ai · · AI-assisted educational content
The failure scenario
An assistant intended to draft emails can also send or delete them without approval.
Run a safe staging test
Use a test account and fictional drafts. Attempt an action outside the tool allowlist, and verify the application refuses it. Confirm a permitted high-impact action pauses for explicit approval of its exact details.
Keep evidence of the result
Keep the user's access scope, tool allowlist, denied-action record and human approval record. An agent's promise to ask is not enforcement.
Controls to verify
- Allowlist only the tools each agent needs
- Use least-privilege, user-scoped credentials
- Require human approval for high-impact actions
- Rate-limit and log every tool call
- Review agent permissions regularly
Read the complete OWASP risk guide and sources. This exercise follows the 2025 edition; it is not an official OWASP audit.
Examples are fictional. Test only systems you are authorised to assess, using staging and redacted data. Humans and AI can make mistakes: verify advice before relying on it. A self-assessment does not scan your app or certify its security.