Defending Against Prompt Injection: Privilege Separation, Structured Outputs, and the Limits of Current Defenses
No single control stops prompt injection — but layering four concrete patterns (privilege separation, structured outputs, instruction hierarchy, spotlighting untrusted content) gives defenders a workable stack. This post synthesizes what actually works, and is honest about what remains unsolved.