AWS Bedrock SigV4 Targets in Refract
How to run Refract scans against AWS Bedrock with SigV4 credential resolution, without logging or storing secrets in the record chain or SARIF output.
The local alternative to a hosted frontier target: run an open-weight model such as gpt-oss:120b on your own GPU, so no prompt or answer leaves the machine. Prototype packs and calibrate a guardrail here, then re-run the same pack against your production model (for example anthropic:claude-opus-5-5) before you ship.
Everything after ollama: is the exact Ollama model tag. Refract calls http://localhost:11434 unless OLLAMA_HOST or --base-url points elsewhere.
ollama:gpt-oss:120b
# OpenAI's open-weight gpt-oss-120b: a 65 GB download that fits on one 80 GB GPU
ollama pull gpt-oss:120b
refract scan --target ollama:gpt-oss:120b --pack ./packs/finance-canaries.jsonl --db ./runs.sqlite --sarif refract-ollama.sarif
refract matrix --scan scan-a1b2c3d4 --db ./runs.sqlite --intervals
Ollama scans default to --concurrency 1; raise it only when your GPU has headroom.
Ollama targets need no API key. Refract records prompts, responses, and 2×2 verdicts only, never the contents of your local model files or environment.
refract gate --scan scan-a1b2c3d4 --db ./runs.sqlite --max-fn 0 --max-fp-rate 0.05 --min-mcc 0.70
How to run Refract scans against AWS Bedrock with SigV4 credential resolution, without logging or storing secrets in the record chain or SARIF output.
How to gate AI releases with refract gate thresholds for silent breaches, false-positive rate, and MCC, plus a minimal GitHub Actions workflow.
How Refract detects AI silent breaches, canary leaks that a guardrail misses, using synthetic high-entropy canaries, benign controls, and SARIF 2.1.0 CI gating.