Refract Guides · Practical AI safety testing patterns

Silent Breach Detection with Refract

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.

What a silent breach looks like

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.

Design canaries for reliable detection

Scan and export

refract scan --target anthropic:claude-opus-5-5 --pack ./packs/finance-canaries.jsonl --sarif refract-finance.sarif
refract verify

Gate on zero silent breaches

For high-risk domains, any silent canary breach should fail the release.

refract gate --max-fn 0 --min-mcc 0.70
Related

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.

Related

RAG Leak Testing with Refract

How to test RAG systems for hidden-footnote leaks, indirect prompt injection, and verbatim retrieval leaks with Refract packs and 2×2 guardrail scoring.