Prompt Injection Playground. A Gemini model guards a secret code. Pick a preset attack, switch defenses on or off, and see whether it leaks. Each run gets a verdict: blocked, partially leaked or succeeded. View on GitHub

Pick an attack or write your own

Turn defenses on in the sidebar and see which attacks still get through.