Chat Assistant
Why public-facing deployments need stricter thresholds
Profile files
security.cedar — Tighter injection and jailbreak thresholds
Rule
Threshold
Default threshold
@id("chat-injection-lower-threshold")
@severity("high")
forbid(principal, action == Guardrails::Action::"process_prompt", resource)
when { context has injection_confidence && context.injection_confidence >= 70 };
@id("chat-jailbreak-lower-threshold")
@severity("high")
forbid(principal, action == Guardrails::Action::"process_prompt", resource)
when { context has jailbreak_confidence && context.jailbreak_confidence >= 65 };privacy.cedar — Bidirectional PII protection
trust_safety.cedar — Toxicity and topic restrictions
Restricted topic
Examples
Applying the profile
Customizing topic restrictions
Rollout guidance
Related
Last updated