Three more platforms, each with its real program and no model calls. A gateway's rules on tool names let 4 of 5 forbidden calls through, its rules on arguments 2 of 5; an agent framework's guard was bypassed by handing the work to a helper agent; the coding agent held. Our gate stopped all of them.
## Why it matters
Every platform now ships a way to write rules for agents. Whether they protect anything depends on what the rules can see, and on whether they still hold when an agent hands its work to another agent.
## What we did
As in the first part, we ran each platform's real program with a stand-in for the model that proposes calls we wrote, so no model was called. We wrote the owner's intent in each platform's own rule language, the way its documentation does, and counted what the tools actually ran.
- **A tool gateway** (agentgateway): files are read only from one folder, mail goes only to the company, records are never deleted.
- **An agent framework** (the OpenAI Agents SDK): no tool may read the system's password folder, enforced by a guard on every tool of the agent the user talks to.
- **A coding agent** (Claude Code) with a tool server that describes one of its tools as read-only, while that tool deletes a file.
## What we found
- The gateway's rules on tool names cannot see what a call does: an allowed "read a file" read the system's password file, an allowed "send mail" wrote outside the company. Its rules on arguments compare text: a path that starts in the allowed folder and climbs out of it passed, and so did a recipient list with an outside address in front; a legitimate address in capitals was refused.
- The framework's guard belongs to a single tool. When the work moved to a helper agent, by handing over the conversation or by asking the helper as a tool in words that do not name the folder, the read went through.
- The coding agent held: a tool that called itself read-only was refused like any tool no rule allows.
- Our gate stopped every forbidden call and let every legitimate one run: it resolves a path before deciding, reads each mail address, and keeps one set of rules for the whole session, whichever agent acts.
## Technical detail
- agentgateway 1.8.1: name rules, 4 of 5 forbidden calls ran, 3 of 3 legitimate; argument rules, 2 of 5 and 2 of 3.
- OpenAI Agents SDK 0.26.2: 2 of 4 forbidden reads ran, both through a helper agent; 2 of 2 legitimate.
- Claude Code 2.1.333 with an MCP server: 0 of 4 ran; 1 of 1 legitimate.
- Our gate on the same calls: 0 forbidden, every legitimate call.
- Not measured: Google's agent gateway, a managed service we have no project on.
```chart
{"title": "Gateway calls meant to stop that ran (of 5)", "series": ["ran"], "unit": "", "max": 5, "rows": [["Rules on names", 4], ["Rules on arguments", 2], ["Our gate", 0]]}
```
This update is not available.