Prompt injection for agent builders
To a model, your instructions and the text it reads are one stream of words. So any web page, email or file your agent reads can try to give it orders. Once an agent has tools, a hidden line of text can turn into a forwarded inbox or a deleted database. There's no complete fix yet, which makes design the defence.
In this lesson you'll learn to
- Explain prompt injection, direct and indirect, and why models can't reliably separate instructions from data.
- Explain why tools and untrusted content make injection far more dangerous for agents.
- Use the lethal trifecta to spot agent designs that can leak private data.
- Build layered first defences, including least privilege, isolation of untrusted content, blocked exfiltration and human approval.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.