For most of the last two years, the conversation about AI agent safety has been a conversation about the model: better prompts, better guardrails, better refusals. November 2026 made it clear that the more useful place to look is one layer down. The moment an agent stops talking and starts acting is the tool call, and that is where the real security and governance decisions now live. This month, LangChain shipped a gateway that sits in front of every tool an agent uses, Uber described one serving thousands of internal tools, Google published numbers on checking each proposed call against what the user actually asked for, and NIST set out design tenets that put policy enforcement outside the model entirely. Taken together, they point to a simple idea for engineering leaders: treat the tool call as your security perimeter, and build it like one.
Why the model is the wrong place to draw the line
Large language models read instructions and data through the same channel. An email, a web page or a tool result can carry text that looks like a command, and no amount of prompt hardening fully removes that ambiguity. NIST's
design tenets for agent identity management, published on 27 October, say this directly. Tenet 07 calls for the logic that decides what an agent attempts to be "architecturally separated from the systems that determine what it is allowed to do," and adds that "guardrails alone are insufficient." Tenet 08 asks that deterministic mechanisms remain the primary basis for access decisions, with probabilistic signals used only as inputs.
A recent piece of research shows why this matters even for well designed products.
The Hacker News reported that security firm NebuSec demonstrated how a single malicious web page, opened by Meta's Muse agent, could pull a user's conversation history and memories without an approval prompt, and then chain further flaws to reach the credential store on that user's cloud machine. It was a lab demonstration, NebuSec says the issues were fixed before publication, and Meta had not commented. The lesson is not that Muse was careless. Its design explicitly assumed the agent might be attacked. The lesson is that every layer around the agent has to hold, because the agent itself will eventually read something hostile.
Gateways are becoming the agent control plane
The architectural answer emerging across the industry is a gateway: a single choke point that every tool call passes through, where identity, policy and logging are enforced regardless of what the model decided.
- Uber built an MCP Gateway that, according to InfoQ, fronts more than 800 MCP servers and 5,000 tools. It separates a registry (the control plane holding tool definitions, ownership and enablement) from a proxy that executes calls. Authorization is enforced at both server and tool level, PII can be redacted from responses, and newly discovered tools stay disabled until their owning team reviews and enables them.
- LangChain put LangSmith Tool Gateway into public beta on 19 November. Agents connect to a curated "tool kit" URL and see only the tools in it. Each call resolves to either the user's identity or the agent's own, deny policies can block tools for specific users or keys, approval policies require a person to confirm sensitive calls, and every call is traced with the tool, server, user and outcome.
Several commenters quoted by InfoQ noted that this looks a lot like the API gateways teams have run for years. That is the reassuring part. The patterns are familiar: centralised authentication, scoped access, rate limits, audit. What is new is that the caller is nondeterministic and can be talked into things, which raises the stakes on getting those patterns right.
Give every agent its own identity, and lend it authority narrowly
A gateway is only as good as the identities it reasons about. A common shortcut is to let agents run under a shared service account or a long lived API key. Both the NIST tenets and current IETF work argue against it.
NIST asks for distinct, cryptographically verifiable agent identities, zero standing privilege, and short lived, audience specific grants acquired just in time. An individual IETF Internet-Draft on
agent identity, not yet a standard, goes further in concrete terms:
- Agents must not access tools under shared service accounts.
- Every session is bound to an authenticated sponsor, using delegation rather than impersonation, so audit logs can tell the agent and the human apart.
- Session credentials should live for minutes to hours, never days, and should not be written to disk, environment variables or logs.
- Effective permissions are the intersection of what the agent may do, what the sponsor may do, and what the session scope allows.
That intersection rule is the useful mental model. If an injected instruction persuades an agent to export a customer table, the call should fail not because the model noticed the trick, but because nobody in that delegation chain had the right to do it in that session. When agents hand work to sub-agents, authority should only narrow, never widen.
Check intent, not just permission
Permissions answer "is this agent allowed to send email?" They do not answer "did the user ask it to send this email to that address?" A prompt injection usually stays inside the agent's permissions while steering it toward a goal nobody requested.
Google's
Semantic governance policies, a preview feature in its agent gateway, target exactly this gap. Before a proposed tool call runs, a policy engine compares it with the user's request and the system instructions, treating tool results and documents as untrusted data. On the public AgentDojo benchmark, Google
reports that attack success for a Gemini 2.5 Flash agent fell from 48.7% to 0.9%, while completion of legitimate tasks dropped from 72.7% to 70.1%, averaged over six runs.
Those are strong numbers, and they deserve a careful reading:
- The attacks in the benchmark were fixed, not adapted to the defence. A determined attacker will probe the judge itself.
- The judge is a model reading untrusted content, so its separation of data from instructions is learned behaviour rather than a hard boundary.
- It is one vendor's own evaluation.
The sensible position is to treat intent checking as a valuable second layer on top of deterministic identity and authorization, which is consistent with NIST's tenet that probabilistic signals inform decisions rather than make them.
Do not forget the tools themselves
Governing the call is not enough if the tool on the other end is compromised or abandoned. Help Net Security
covered research from Glow Labs showing coding agents installing deprecated MCP reference servers from archived repositories, apparently drawing package names from model training data in 98% of the sessions examined. The researchers report four high severity flaws in those servers that will not be patched, and more than 17.3 million npm downloads of the deprecated packages since July 2025. Because these servers run through npx, they often appear in no dependency manifest, so traditional software composition analysis never sees them.
The practical fix is unglamorous: maintain an approved registry of tool servers, one per service where possible, prefer the vendor's own server, and block agents from installing anything outside it. Uber's choice to keep auto discovered tools disabled until an owner signs off is the same principle applied internally.
What to do next
If your teams are moving agents from pilots into real workflows, a short checklist covers most of the ground:
- Inventory every tool and MCP server your agents can reach today, including ones developers installed through coding agents.
- Route all tool calls through a gateway you control, whether built in house or bought, and make it the only path to credentials.
- Issue agents their own identities with short lived, delegated credentials, and retire shared keys.
- Define approval thresholds for irreversible or high value actions, and watch for consent fatigue, which NIST flags explicitly.
- Bound spend as well as access. Replit's new Missions product, as The New Stack describes it, has users agree success criteria, a spending limit and approval rules up front, and checks spend at every step. That is a good template for any long running agent.
- Keep logs outside the agent's reach, append only and correlated across agents, tools and models.
None of this needs a new security philosophy. It needs existing disciplines in identity, API management and supply chain security applied to a new kind of caller. At Trishula, this is where our AI and cybersecurity work meets: we help teams design agent architectures where the model can be creative and the perimeter stays boring, predictable and auditable. If you are working out where your own tool call perimeter should sit, we are happy to compare notes.