Dispatches
Essays··6 min read

The Guardrail That Never Saw the Request

CoreBreak, disclosed at Black Hat 2026, exploited a structural flaw across three major agent stacks: guardrails placed at the LLM boundary cannot see tool calls, giving agents a second decision surface that bypasses all enforcement. The bypass is architectural, not adversarial — and the fix is sidecar instrumentation across every execution boundary, not just the model.

The escalation arrived at 03:42 CET on 19 October. A payment agent running in a European fintech had approved 14 transactions totaling €247,000, and every one bypassed the approval threshold. The agent had been in production for six weeks. The guardrails were live. The logs showed no guardrail denials, because if you bypass the model, you bypass all of them.

At Black Hat 2026, researchers Aviyam Ivgi and Hedi Ingber showed one structural flaw running through three of the largest agent stacks: AWS Bedrock AgentCore with the Strands SDK, Google's Agent Development Kit, and Vercel's AI SDK harness. They named that flaw CoreBreak. AWS patched CVE-2026-18830 (CVSS 8.6), Google patched CVE-2026-18236 (CVSS 9.3, critical), and Vercel patched CVE-2026-64650 and CVE-2026-64651. All three vendors had put enforcement where the agent could reach it.

The operator's problem was not that the guardrail was tuned wrong or that a jailbreak prompt slipped through. The problem was that the agent called a tool directly, and the guardrail sat in a layer the tool call never touched. The architecture assumed the LLM was the only decision surface. The agent had two.

This is not a prompt-injection story. It is an architecture story, and the failure mode is the same regardless of whether the bypass is deliberate or accidental. Guardrails wrapped around the model cannot see execution paths that do not route through the model. In 2026 agent stacks where a single user request fans out to N tool calls and M LLM calls, the guardrail surface multiplies. A guardrail at the user-facing entry does not see a tool-output injection. A response-side guardrail does not see what happened five steps earlier in the trajectory. Coverage gaps are structural, not just classifier-quality.

The deployment topology that fails looks like this: guardrails sit as an input filter before the LLM and an output filter after it. User → App → Input Guardrail (validate) → LLM → Output Guardrail (validate) → App → User. Works fine for a chatbot. Breaks in a multi-turn agent where the LLM generates a tool call, the tool executes server-side, and the tool result feeds back into the next LLM turn without re-validating. If the tool returns a malicious payload, or if the agent misinterprets a benign tool output as an instruction, the guardrail that validated the user's original prompt never sees it.

The sidecar pattern is the fix. Guardrails Sidecar Injection is the fastest path to securing and controlling runtime behavior without changing your core application code. It runs alongside your primary container, intercepting traffic and enforcing rules before data flows to the main process. The sidecar pattern provides a method for attaching auxiliary services to a main LLM agent without modifying its core logic. The main LLM agent is surrounded by multiple sidecar services, including but not limited to a logging service, a guardrails service, a memory management service, an explanation generator service, and a resource monitor service.

In a sidecar topology, the guardrail is not a request-response sandwich around the model. It is a policy layer that intercepts every interaction: user to agent, agent to tool, tool to agent, agent to user. The framework exposes a sidecar server mode that presents a /v1/chat/completions-compatible HTTP API, enabling guardrails to be added to existing agentic stacks without modifying application code. Add guardrails before and after LLM calls without changing the application LLM.

NVIDIA explicitly states in the NeMo Guardrails README that the toolkit is not recommended for production as-is. It is the most architecturally complete open-source guardrail framework but production deployments require additional hardening beyond the out-of-box configuration. The hardening is not about tuning the PII classifier or adding a jailbreak dataset. It is about putting the guardrail in the execution path for every decision surface the agent exposes, not just the LLM.

Latency is the trade the operator has to make. A 60ms guardrail call on every request adds up at scale. Typical production stack: NeMo Guardrails orchestrating both LlamaGuard 3 8B (for detailed hazard classification) and Llama Prompt Guard 2 86M (as a fast first-pass gate). End-to-end overhead in the production deployment runs at roughly 1.2 to 1.5 seconds per direction with a gpt-4o-class judge and about 400 prompt tokens per call. That is per decision. An agent trajectory with four tool calls and five LLM turns costs 9 guardrail evaluations if you instrument every boundary, or 1 guardrail evaluation if you only wrap the user-facing entry. The second number is faster. The first number catches the tool bypass.

The cost stack changes. Guardrail classifiers are small. LlamaGuard 3 8B in FP8 needs under 10GB VRAM. Llama Prompt Guard 2 (86M mDeBERTA-based backbone, approximately 0.3B total parameters) needs under 1GB VRAM. You can co-host them on the same node that runs your primary model if the primary model is not a 405B monster. The decision is whether you route every tool call through a judge or whether you accept that some trajectories will reach production unexamined.

False positives hurt differently in a sidecar world. The pre-guardrail classifier blocks 4% of legitimate user inputs because they happen to share lexical features with red-teamed jailbreaks. Frontier models typically over-refuse on 5% to 20% of borderline benign prompts. In a request-response model that denial surfaces once. In a multi-turn agent that denial can block a trajectory mid-execution, which means the user sees partial output and an unexplained stop. The operator's Monday morning problem is not just the false-positive rate in isolation; it is how that rate compounds across a 10-turn trajectory where each turn is independently judged.

The fintech operator's fix took 11 hours to deploy. They forked the agent's tool-call handler, added a synchronous guardrail check before tool execution, accepted the 140ms P95 latency hit, and set the approval threshold to a hard gate that no tool could override. The agent slowed down. Nothing bypassed a guardrail again. On 9 June 2026, a senior scientist from the US National Institute of Standards and Technology (NIST) published a peer-reviewed paper in a major journal featuring a mathematical proof that AI guardrails can always be defeated and can never provide robust cybersecurity for AI systems. That proof applies to prompt-level adversarial inputs. It does not apply to architectural gaps where the guardrail was never in the path to begin with. Those you fix with plumbing, not math.

The lesson CoreBreak teaches is not that guardrails are broken. It is that guardrails are only as complete as the surface area they cover. A production team that treats guardrails as a finish line ships a fragile system. Symptoms appear within weeks. The agent you deployed has more decision surfaces than you instrumented. The first time a tool returns something the original guardrail never imagined, you will find out which surfaces you missed.


Tarry Singh is the founder and CEO of Real AI (realai.eu), an enterprise AI advisory and deployment firm working with global enterprises on production agent systems, model risk, and AI sovereignty strategy. He also leads Earthscan (earthscan.io) for Energy AI, and is a founding contributor to the EU-funded HCAIM and PANORAIMA programmes for responsible AI education across European universities. He writes at tarrysingh.com.

Cartouche
The Guardrail That Never Saw the Request · Dispatches, 21 October 2026 · T. Singh