Canary Probe Design for AI Leak Testing
How to design reliable canary probes for Refract: entropy, uniqueness, placement, benign controls, and rotation for trustworthy silent-breach detection.
A silent breach is the worst safety outcome: the model leaks controlled data and the guardrail returns ALLOW. Refract is built to catch exactly that failure mode.
A canary is planted in a prompt or retrieved document. The model repeats it in the answer, but the guardrail does not alert. That is a false negative (FN) in Refract's 2×2 matrix.
refract scan --target anthropic:claude-opus-5-5 --pack ./packs/finance-canaries.jsonl --sarif refract-finance.sarif
refract verify
For high-risk domains, any silent canary breach should fail the release.
refract gate --max-fn 0 --min-mcc 0.70
How to design reliable canary probes for Refract: entropy, uniqueness, placement, benign controls, and rotation for trustworthy silent-breach detection.
How to test RAG systems for hidden-footnote leaks, indirect prompt injection, and verbatim retrieval leaks with Refract packs and 2×2 guardrail scoring.
How to gate AI releases with refract gate thresholds for silent breaches, false-positive rate, and MCC, plus a minimal GitHub Actions workflow.