OWASP field test
LLM10: A practical unbounded consumption test
RuntimeGuardrails.ai · · AI-assisted educational content
The failure scenario
A single user triggers repeated expensive model requests or an agent loop.
Run a safe staging test
In an isolated test environment with a small budget, exercise oversized inputs, repeated requests and tool-loop limits. Verify request caps, timeouts and spending enforcement stop work before the agreed limit is exceeded.
Keep evidence of the result
Record actual limit responses, token/tool-step caps and alert delivery. An alert without an enforced cap may arrive after costs are incurred.
Controls to verify
- Rate-limit per user and per IP
- Cap input length and output tokens
- Limit agent steps and tool calls
- Set timeouts on every model call
- Configure spending caps and alerts
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.