tubeshowcase●1,670,700 videos♡ My collection 0
← Learn to Code

Learn to Code05:46

Episode 3: Direct Prompt Injection Explained | AI Red Teaming 101

Microsoft Developer ↗

From the creator

Welcome back to AI Red Teaming 101! In this episode, Dr. Amanda Minnich from Microsoft’s AI Red Team dives into one of the most common and impactful vulnerabilities in generative AI systems: direct prompt injection. Learn how attackers can manipulate model behavior by injecting malicious instructions into the input stream, and why this works at a fundamental level. Amanda walks through real-world examples, including a viral chatbot incident at a car dealership, and explains how prompt injection bypasses guardrails by exploiting how models interpret context. What You'll Learn: How direct prompt injection works and why it’s so effective How generative models interpret input as a single stream Real-world consequences of unmitigated prompt injection ✅ Chapters: 00:00 - Welcome back & episode overview 00:13 - What is direct prompt injection? 00:36 - How AI applications process input 01:00 - System prompts, user input, and retrieved data 01:34 - Flattening into a single context window 02:00 - How attackers override instructions 02:40 - Case study: $1 SUV chatbot attack 03:40 - Why the model followed the prompt 04:20 - Broader implications across industries 05:00 - Key lesson: clever prompting, not code 05:30 - What’s next: indirect prompt injection ✅ Links & Resources: AI Red Teaming 101 Episodes: aka.ms/airt101 AI Red Teaming 101 Labs & Tools: aka.ms/airtlabs Microsoft AI Red Team Overview: aka.ms/airedteam ✅ Speakers: Amanda Minnich – Principal Research Manager, Microsoft

Published 2025-07-09 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code