spotlighting
A technique for defending against indirect prompt injection that isolates untrusted text from instructions through base64 encoding or special delimiters, helping the model distinguish data from instructions and preventing it from executing malicious content.
Timeline (last 90 days)
Microsoft's spotlighting technique marks untrusted text, which can reduce the success rate of prompt injection attacks from over 50% to below 2%.
Spotlighting is a prompt injection defense technique that marks and transforms untrusted text (such as adding delimiters, encoding transformations, and requiring citation markers) so that the model can distinguish system instructions from external data, but it is not absolutely secure and needs to serve as one layer of defense in depth.
All Facts (2)
Microsoft's spotlighting technique marks untrusted text, which can reduce the success rate of prompt injection attacks from over 50% to below 2%.
50%UnverifiedSpotlighting is a prompt injection defense technique that marks and transforms untrusted text (such as adding delimiters, encoding transformations, and requiring citation markers) so that the model can distinguish system instructions from external data, but it is not absolutely secure and needs to serve as one layer of defense in depth.
50%