Unit 4: Prompt injection: detect and contain · Lesson 2 of 5 · 16 min Pro

Canary tokens and leak alerts

Find the canary, read the detector code and count how often it fired in a day of production logs.