
SSRF protection for AI agents
Stop an agent from being talked into calling your internal network.
SSRF protection for AI agents blocks server-side requests to addresses the agent should never reach, such as cloud metadata endpoints, localhost and private networks. Because agents fetch URLs from prompts, documents and tool settings, the guard must check every resolved address and every redirect, not just the hostname a user typed.
Why agents raise SSRF risk
A classic SSRF bug needs an attacker to find a URL parameter. An agent hands that parameter to anyone who can put text in front of it: an email, a web page, a ticket. A connector or model URL that resolves to 169.254.169.254 or 10.0.0.1 can leak credentials or reach internal admin panels.
A practical checklist
- Allow https only.
- Reject credentials inside URLs.
- Resolve the host and require every address to be public.
- Re-check on every redirect, with a hop limit.
- Connect to the exact address you checked, so DNS cannot change in between.
- Make the only bypass a server setting, never a request or tenant option.
How Bello Bot does it
- The network guard allows https only, rejects credentials in the URL, and requires every address a host resolves to be public. It checks every redirect hop, up to five, and connects to the exact address it checked, so a DNS answer cannot change between check and connect.
- It covers connectors, their OAuth endpoints, per-bot MCP servers and custom OpenAI-compatible model URLs. The only switch that opens it is a server setting for local development; no request or org setting can turn it on.
- A custom OpenAI-compatible base URL must start with http(s) and goes through the same network guard as connectors, so it cannot reach private addresses.
Related reading
- MCP gateway
- Per-bot cloud desktop
- Security controls, from the code
- Compare Bello Bot with other AI agent products
- Guides to running AI agents safely
- The Bello Bot blog
- Free AI agent governance grader
From the blog
Questions
Does SSRF protection cover custom model URLs?
In Bello Bot, yes. A custom OpenAI-compatible base URL goes through the same network guard as connectors.
Can an org admin turn the guard off?
No. The only switch is a server setting for local development. No request or org setting can open it.
Keep reading

Securing MCP in production: SSRF, private addresses and approvals
How to secure MCP servers and clients in production: https only, DNS-pinned private address blocking, redirect checks, cloud metadata ranges, and a person approving each sensitive tool call.

An MCP gateway for teams: connect any server, govern every call
Bello Bot connects bots to any MCP server through a network guard, per-bot grants and org rules, and serves MCP itself so Claude Code and Cursor act as you, under the same rules.

Model Context Protocol gateway
An MCP gateway governs how AI agents reach Model Context Protocol servers: grants, policy, network rules and an audit trail on every tool call.
Security
Approvals, policy engine, network guard, Mailman and secrets.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.