Hexret

AI Security · Prompt injection

Guardrails

Also known as: Guardrail, Model guardrails

The controls that keep a model's behavior inside policy: safety training, system instructions, an input check, a check of the generated reply, and product-side authorization for actions. A guardrail is a stack, not one prompt; an attack succeeds when the assembled system releases restricted help, whichever layer noticed. No layer turns a probabilistic model into a hard boundary.

Where you practice it

Related terms