DevFest Berlin 2024

Can You Outsmart an AI? Adventures in Prompt Hacking
2024-11-23 , Kit-Kat

Ever wondered if you could convince an AI to break its own rules? In this interactive session, your phone becomes your hacking tool as we explore the fascinating world of prompt engineering gone wrong (and right!). Through a series of increasingly challenging games and demonstrations, we'll uncover common vulnerabilities in AI systems and learn how to exploit them. But here's the twist – each successful hack becomes a lesson in defense.


In this talk combined with hands-on elements, participants will engage in a series of live prompt hacking challenges, accessible directly through their mobile devices. The workshop begins with simple prompt injection techniques and progressively moves to more sophisticated manipulation strategies. After each successful hack, I'll analyze what made it work and transform these insights into practical defense mechanisms.

Attendees will learn:
- Common vulnerabilities in AI prompt design
- Practical techniques for prompt injection attacks
- Essential strategies for securing chatbot applications
- Best practices for implementing defensive layers
- Real-world examples of prompt security failures and successes

Perfect for developers working with AI models, security enthusiasts, or anyone interested in building safer AI applications. No specialized tools needed - just bring your phone and creativity! You'll leave with concrete techniques for both testing and securing your AI systems against prompt manipulation attacks.

Tomek combines his roles as a Google Developer Expert and Champion Innovator with hands-on Cloud Architect role, specializing in the intersection of Google Cloud and Generative AI. His work extends beyond implementation to education - through his YouTube channel, tech blog, and open-source projects, he makes Cloud Native development more accessible to all. With deep expertise in Large Language Models and Natural Language Processing, he brings practical AI solutions to real-world challenges. A passionate speaker and educator, Tomek shares his journey and insights with developer communities worldwide.