Skip to content

Glossary: AI Security and Guardrails

Sandwich defense

Also written: sandwich

A prompt defense that repeats your key instruction after the untrusted text.

Where the book teaches it

Related terms

Spotlighting