Skip to Main Content
Securitype-citation-124P1

Spotlighting techniques reduce prompt injection success by 80%.

Marking user-provided text with special…Marking user-provided text with special delimiters and encoding transformations reduced injection attack success from 56% to 11% — without any model fine-tuning.

Context & Methodology

Spotlighting works by making user input visually and structurally distinct from system instructions, preventing the model from confusing data with commands.

Applies To

openaianthropicgoogle

Confidence Level

High

Implementation Effort

medium

Recommendation

follow

Execution Priority

P1

Put This Evidence to Work

Use the STCO framework to implement findings like this in structured, testable prompts.

Reflexion improved HumanEval coding benchmark pass@1 from 80.1% to 91.0% by prompting the model to reflect on test failu.Shinn et al., 'Reflexion: Language Agents with Ver…