AWS WAF announces automated discovery and protection for LLM, MCP, and A2A endpoints using Amazon Bedrock Guardrails
AWS WAF now offers automated discovery and protection for AI endpoints including LLM, MCP, and A2A services behind API Gateway, ALB, and CloudFront.
AWS WAF has introduced automated discovery and protection for language model (LLM), Model Context Protocol (MCP), and Agent2Agent (A2A) endpoints deployed behind Amazon API Gateway, Application Load Balancers, and Amazon CloudFront. The discovery feature is accessible through the new API Gateway API Portal, which identifies AI endpoints automatically from traffic logs and service configurations without requiring agents or log forwarding.
The API Gateway API Portal recognizes AI endpoints, including undocumented public-facing MCP servers that may appear as shadow APIs. Once identified, customers can enable protection for unprotected AI endpoints using AWS WAF. The protection mechanism relies on the new AWS WAF AI Security managed rule group, which enforces protocol recognition and compliance checks to block malformed MCP and A2A messages.
When content inspection is enabled, the AI Security rule group invokes the Amazon Bedrock Guardrails InvokeGuardrailsCheck API to detect prompt injection, jailbreak attempts, harmful content in requests, and sensitive information in responses. This integration allows customers to combine AI Security with existing AWS Managed Rules or custom rules for comprehensive application protection.
The solution, comprising API Portal and AI Security, provides a complete process from discovering all AI endpoints in an AWS environment to protecting them without requiring custom rule development. Additional fees apply for using AI Security, and Amazon Bedrock charges separately for content inspection calls. API Portal is available in 32 AWS Regions, while AI Security is available in seven specific regions.