Input screening
Every prompt is sent to Lakera Guard before it reaches OpenAI, catching injection attempts early.
A public demo showing how to gate OpenAI requests with Lakera Guard prompt injection detection. Try safe prompts and attack examples side by side.
User → Lakera Guard → if safe → OpenAI → Response
→ if flagged → Block + show detailsEvery prompt is sent to Lakera Guard before it reaches OpenAI, catching injection attempts early.
Flagged prompts are blocked server-side. OpenAI is never called when a threat is detected.
See safe vs. blocked status, detector breakdown, and whether an AI response was generated.
Use built-in sample prompts including normal requests, direct injection, and indirect RAG-style attacks.