Defending LLM - Prompt Injection @LiveOverflow
Defending LLM - Prompt Injection  @LiveOverflow
Uploaded May 2023 | Updated September 2026, 2 weeks ago
After we explored attacking LLMs, in this video we finally talk about defending against prompt injections. Is it even possible?


LEARN ON HEXTREE (ad)
Learn hacking on Hextree: hextree.io
Watch this video and more on Hextree: app.hextree.io/courses/yt-llm-security/attacking-llms
Join the Hextree Discord: discord.gg/xgQpCQCpvy

Watch the complete AI series:
youtube.com/playlist?list=PLhixgUqwRTjzerY4bJgwpxCLyfqNYwDVB

Language Models are Few-Shot Learners: arxiv.org/pdf/2005.14165.pdf
A Holistic Approach to Undesired Content Detection in the Real World: arxiv.org/pdf/2208.03274.pdf

CHAPTERS
00:00 - Intro
00:43 - AI Threat Model?
01:51 - Inherently Vulnerable to Prompt Injections
03:00 - It's not a Bug, it's a Feature!
04:49 - Don't Trust User Input
06:29 - Change the Prompt Design
08:07 - User Isolation
09:45 - Focus LLM on a Task
10:42 - Few-Shot Prompt
11:45 - Fine-Tuning Model
13:07 - Restrict Input Length
13:31 - Temperature 0
14:35 - Redundancy in Critical Systems
15:29 - Conclusion
16:21 - Checkout LiveOverfont

Hip Hop Rap Instrumental (Crying Over You) by christophermorrow
soundcloud.com/chris-morrow-3 CC BY 3.0
Free Download / Stream: bit.ly/2AHA5G9
Music promoted by Audio Library youtu.be/hiYs5z4xdBU

SUPPORT
Per video: patreon.com/join/liveoverflow
Per month: youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join
Buy my handwriting font (ad): shop.liveoverflow.com

WATCH, FOLLOW & READ
Second channel: youtube.com/LiveUnderflow
Twitch: twitch.tv/LiveOverflow
Twitter: twitter.com/LiveOverflow
Instagram: instagram.com/LiveOverflow
TikTok: tiktok.com/@liveoverflow_
LiveOverflow blog: liveoverflow.com
Hextree blog (ad): hextree.io/blog

#LLMSecurity #ArtificialIntelligence #LiveOverflow

(ad) LiveOverflow YouTube channel is supported by advertisement and product placement.
Defending LLM - Prompt InjectionThe Three JavaScript Hacking LegendsTroubleshooting AFL Fuzzing Problems | Ep. 03The End Of Humans In MinecraftVelocity Exploit on Paper?Reading Player Position with DLL Injection - Pwn Adventure 3Exploit Dev Pitfall Corrupted ShellcodeCan We Find a New Exploit Strategy? | Ep. 13The Worlds Hardest Hacking Competition - Pwn2Own Documentary (Part 1)Finding iOS Kernel Exploit // SockPuppet Jailbreak - CVE-2019-8605Found a Crash Through Fuzzing? Minimize AFL Testcases! | Ep. 05Sudo Exploit for (old) Ubuntu 20.04 LTS
LiveOverflow |

Defending LLM - Prompt Injection

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER