Core
Prompt Injection and Defense
Prompt injection is the attack where untrusted text smuggles instructions into a model's context and overrides the system's intent. It comes in two flavors: direct, where the user types the attack, and indirect, where a poisoned document or tool output the model later reads carries it. You cannot fully prevent it, so a competent FDE designs the system so that a successful injection cannot reach anything that matters.
a free account unlocks the core curriculum tier · no card
Related course lessons
- Show the model’s data paths, enforced capabilities and audit evidence →
30 min · Premium
The FDE Engagement · syllabus - Give the model evidence it can safely use →
25 min · Premium
Production AI Agents for FDEs · syllabus - Lab: attack the boundary between a proposal and permission →
60 min · Premium
Production AI Agents for FDEs · syllabus
Related concepts
Practise this in questions
LLM & GenAI FundamentalsYour agent reads customer emails and can issue refunds. Defend it against prompt injection. →hard · PremiumRAG & Agent System DesignYour agent reads emails and can issue refunds. Harden it against prompt injection. →hard · PremiumRAG & Agent System DesignYour agent reads customer emails, queries a private database, and can send messages. Harden it against prompt injection. →hard · PremiumSystem Design & Production EngineeringYour agent writes and runs code against user data. Design the sandbox. →hard · PremiumAI Security, Privacy & GovernanceThreat-model a multi-agent system where agents call each other. Where are the trust boundaries and how does one compromise spread? →hard · PremiumRAG & Agent System DesignYour agent platform calls each customer's Salesforce, Slack, and email on their behalf. Design credential isolation. →hard · Premium
