Check what your guardrails do when they time out
Guardrails fail open, skip channels and reset per environment unless someone reads the settings. What to check on Copilot Studio, Foundry, Bedrock and Google.
Any guardrail that calls out to another service has to do something when that service does not answer. I would find out what, before anything else, because it decides what the control is worth on a bad day.
Copilot Studio can call an external threat detection service before every tool invocation: it sends the prompt, the conversation history, earlier tool outputs and the proposed tool call to an endpoint you choose, and waits for a verdict. If the endpoint does not answer within one second, the default is to allow the call. You can change that to block. The feature is also configured per environment, with no tenant-wide switch, so a new environment starts without it. Both facts are in Microsoft’s documentation. Neither is wrong for a preview feature. A security team still has to know them before it signs off.
My company is a Microsoft partner and builds on AWS as well, so I write this as a user of these platforms. Each documents its limits; the work is in reading them and configuring around them.
The defaults worth knowing
Fail-open timeouts. The question to ask of any external check is what happens when it is slow or down, and whether that answer is acceptable for the tools this agent can call.
Channels the filter does not see. Amazon Bedrock Guardrails has a prompt attack filter, and its documentation states that the filter does not evaluate tool results or tool definitions. Tool results are where indirect prompt injection arrives: the document the agent retrieved or the ticket it read. A separate check on tool output is needed, for example a standalone ApplyGuardrail call. The same documentation notes that with InvokeModel, prompt attacks are filtered only on content wrapped in input tags. Bedrock’s PII masking, likewise, does not apply to model invocation logs or to tool-call arguments and results.
Intervention points you have to switch on. Microsoft Foundry’s agent guardrails, in preview, can inspect user input, the tool call, the tool response and the output. Tool call and tool response scanning happen only if you configure those intervention points. An agent guardrail also fully overrides the model’s guardrail, so a thin agent policy can remove protection the model deployment had. Spotlighting, which marks third-party documents as low trust, is unavailable for Foundry agents.
Policies that do not stack. AWS can enforce a guardrail on every Bedrock call across an organization, which is the right place for a floor. Its documentation notes that organization-level policies resolve to one effective policy, so a guardrail attached higher in the tree is not automatically added to one attached lower. Google’s Model Armor has floor settings per project and, since October 2026, organization policies that require filters in every template. The question on every platform: can a team below the floor remove it?
What a classifier can and cannot do
Many guardrails are classifiers, and classifiers can be beaten. In October 2025 a group including Nasr, Carlini and Tramèr published adaptive attacks that got past twelve published prompt-injection defenses with success rates above 90 percent for most of them, against reported rates near zero. Earlier research reported evasion rates of up to 100 percent in some cases against six guardrail systems, including Azure’s Prompt Shields, using character injection and adversarial techniques. Guard models carry the same warning: Meta’s card for Llama Guard 4 says it may itself be vulnerable to prompt injection.
The classifiers stay on. They are one layer, and the others should be deterministic: a rule evaluates the same way whatever the prompt says. A policy engine at the tool boundary that decides, from the caller’s identity and the arguments, whether this call is allowed at all. AgentCore Policy, generally available since March 2026, does this at the gateway and can run in log-only mode first. An allow list for where the agent can send data, since several 2025 exploits leaked through image URLs. A human approval before anything irreversible or outbound. And a design rule for the agent itself: if it has untrusted input, private data and an outbound channel in one session, remove one of them or add a gate. Simon Willison calls that the lethal trifecta.
A short list to check this week
- For every external or asynchronous check: what happens on timeout, and is that set to block for agents that can act?
- For every filter: which channels does it see? User input, retrieved documents, tool results, tool definitions, outputs.
- For every environment or project: is the guardrail inherited from a floor, or does each team configure its own?
- For every agent: is there a deterministic policy on tool calls, and an approval step before irreversible actions?
- For every classifier: when did the vendor last update it? Microsoft began rolling out a new Prompt Shields classifier in October 2026.
The caveat is that every check adds latency and some add cost, and false positives are real: Microsoft’s October update is described as a rebalancing between detection and unnecessary filtering. A guardrail that blocks legitimate work invites the team that owns the agent to switch it off. So tune them, in log-only mode first, and keep the deterministic layer tight enough that a classifier miss is survivable.
I wrote up the per-platform configuration checks in the QueryNow guide to AI agent guardrails.