Rebuff's Canary Token: The Post-Response Attack Tripwire
The fourth layer of Rebuff's defense injects unique 'canary tokens' into prompts; if this secret token appears in the LLM's output, it signals a successful prompt leakage or injection, allowing the system to learn from the detected attack.