Top 3 Strategic Placement Zones for System Prompt Canaries

Effective system prompt canaries are often placed at the beginning or end of the system prompt to detect direct leaks, or embedded contextually within instructions to catch more subtle extraction attempts. A stricter variant involves instructing the model to append a token to every response.

Sources

Open the full topic