Delimiters Boost Prompt Defense by 29%

Implementing delimiters significantly improves LLM defense against prompt injection, increasing success rates by an average of 29 percentage points; some models, like Gemini 2.5 Flash, saw defense rates jump from 36.6% to 100% when using boundary markers.

Sources

Open the full topic