Check ID: bedrock_guardrail_prompt_attack_filter_enabled
Provider: AWS
Service: bedrock
Severity: HIGH
Categories: gen-ai
Resource type: Other

What this check verifies

Bedrock guardrails have the Prompt attack filter set to HIGH strength to detect and block injection and jailbreak patterns. Guardrails missing this setting or using lower strengths are identified.

Risk

Without HIGH prompt-attack filtering, models are exposed to prompt injection/jailbreaks:
  • Confidentiality: coerced disclosure of sensitive data
  • Integrity: policy evasion and manipulated outputs
  • Operations: unintended tool execution and workflow tampering

Recommendation

Set the Prompt attack filter to HIGH and apply defense in depth:
  • Tag user/external inputs as untrusted for evaluation
  • Combine with denied topics and sensitive-info filters
  • Enforce least privilege and approvals for risky actions
  • Monitor guardrail hits and tune to reduce false negatives

Remediation

aws bedrock update-guardrail --guardrail-identifier <guardrail_id> --content-policy-config 'filtersConfig=[{type=PROMPT_ATTACK,inputStrength=HIGH}]'

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = bedrock_guardrail_prompt_attack_filter_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks