Guardrail
A control placed around a model that checks or constrains its inputs and outputs, such as a prompt-injection classifier, a content filter or a schema validator. Guardrails reduce risk probabilistically and can be bypassed, so authorization for consequential actions must still be enforced outside the model.
- Defined in
- OWASP Top 10 for LLM Applications 2026