Amazon Bedrock Guardrails adds support for coding use cases
AWS•Announcement••by Amazon Web Services•What's New with AWS
AWS announced expanded capabilities in Amazon Bedrock Guardrails for code-related use cases, enabling customers to protect against harmful content in code while building generative AI applications. This new capability allows customers to leverage existing safeguards offered by Bedrock Guardrails including content filters, denied topics, and sensitive information filters to detect intent to inject malicious code, detect and prevent prompt leakages, and help protect against introducing…
Bedrock Guardrails now checks code-related content for harmful material, malicious code intent, prompt leakage and PII in code, using its existing filters.
Who it is for
Teams building generative AI apps on Amazon Bedrock that accept or produce code and need guardrails for it.
Key points
Covers comments, variable and function names, and string literals in code.
Content filters, denied topics, prompt leakage detection and sensitive information filters need the standard tier.
Available in all AWS Regions where Bedrock Guardrails is supported, via the console and APIs.
AI:AWS WAF gains an AI Security managed rule group and API Gateway gains API Portal, which together find and protect LLM, MCP and A2A endpoints; the feature is now generally available.
AI:AgentCore policy can now evaluate agent actions and gateway inputs with Bedrock Guardrails, to detect and block prompt injection, harmful content and sensitive data before they reach downstream systems.
AI:Claude Code can run as a remote agent on AgentCore runtime, with each coding task in its own isolated session that returns a GitHub pull request for human review.