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.
Refract has no built-in SageMaker target. Put a LiteLLM proxy in front of the endpoint, LiteLLM signs the SageMaker calls with your AWS credentials, and scan the proxy with the openai_compat target. Or wrap the endpoint in your own webhook: service.
my-jumpstart-model is the LiteLLM alias whose upstream is sagemaker/<endpoint-name>.
openai_compat:my-jumpstart-model --base-url http://localhost:4000/v1
# litellm_config.yaml
model_list:
- model_name: my-jumpstart-model
litellm_params:
model: sagemaker/<endpoint-name>
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AWS_REGION_NAME=us-east-1
litellm --config ./litellm_config.yaml --port 4000
refract scan --target openai_compat:my-jumpstart-model --base-url http://localhost:4000/v1 --battery baseline --concurrency 4 --db ./runs.sqlite --sarif refract-sagemaker.sarif
AWS credentials stay with the LiteLLM proxy. Refract only sees the proxy URL (and the proxy key, if you set one) and never writes either into evidence.
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.