Bedrock Guardrails previews stateful guardrails: prompt-attack checks use the system prompt and session history, and a security check runs before tool calls
Guardrails move from reading the last message to reading the whole session. What the two new checks are for.
// Key points
- Applications send the system prompt and earlier turns, and Guardrails selects the relevant context for each turn.
- Stateful prompt-attack check: fewer false positives on benign instructions that look like attacks (such as telling a coding agent to ignore generated files), and detection of attacks spread across turns or hidden in tool results.
- Security threat check: reviews prompts and tool calls for malicious domains and IPs and for commands that expose credentials or escalate privileges, and can block, ask the user to confirm or log before a tool runs.
- Gated preview for allowlisted customers in US East (N. Virginia) and US West (Oregon); no pricing or accuracy figures were given.
Builder's takeInjection hidden in tool results is the hardest kind to stop for file-reading agents, like an AI Cloud Drive reading user uploads, and single-turn filters barely help. Whether or not you use Bedrock, put the guardrail before tool execution rather than after the reply, and give it the whole session.
// Background · from #AI agents
Full timeline →- Dec 1 AWS previews IAM Credential Broker: agents use one identity to get short-lived tokens for Snowflake, Salesforce and other outside systems, free during preview
- Dec 1 AgentCore payments launches: shopping agents check out through Stripe, PayPal and Amazon Pay inside the conversation, with buyer approval of items and total on every charge
- Dec 1 Amazon WorkSpaces previews built-in agents: every cloud desktop gets a role-configured agent, with models, connectors and permissions set centrally