Back to archive
By Ivan VydrinAI7 min read21 September 2025Updated 29 July 2026< 50 views

Testing Your AI's Defenses: Prompt Injection Lessons from Gandalf

Lakera's Gandalf game reveals the real architecture of LLM defenses: system prompt, input guard, output guard, and why each layer leaks. Here's how to turn those lessons into an adversarial test suite for your own AI app.