
SSRF and the network guard
Every URL a customer can type, from MCP servers to custom model endpoints, goes through one guard before a byte leaves.
The Bello Bot network guard sits in front of every customer-supplied URL: connectors, their OAuth endpoints, per-bot MCP servers and custom model URLs. It allows https only, refuses credentials in the URL, blocks private, loopback, link-local and cloud metadata addresses, resolves names itself, and re-checks up to five redirects.
How it fits together
Network guard checks for one outbound request, step by step. Every box is a check in the Bello Bot code, not a promise in a prompt.
What is blocked
- IPv4: this network, 10/8, 100.64/10, 127/8, 169.254/16, 172.16/12, 192.0.0/24, 192.168/16, the documentation and benchmarking ranges, multicast, reserved, and the Azure host endpoint 168.63.129.16. IPv6: loopback and unspecified, IPv4-mapped and NAT64 forms of blocked IPv4 addresses, fc00::/7, fe80::/10, fec0::/10, multicast and documentation ranges.
- URL hosts written as decimal, hex or octal numbers are parsed into IP addresses first, so https://2130706433/ is treated as 127.0.0.1.
DNS rebinding and redirects
- Hostnames are resolved by the guard itself. If any address a name returns is private, the whole name is refused, and the connection goes to the exact address that was checked, so a second DNS answer cannot swap in an internal one.
- 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.
- Guarded clients use no proxy and a 10 second connect timeout.
Scope and the only switch
- 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
- Check URLs with the SSRF risk checker
- SSRF protection for AI agents, defined
- Governing external MCP servers
- Security controls, from the code
- Copyable policy templates
- AI agent governance glossary
- Free governance tools
From the blog
Questions
Can a bot reach 169.254.169.254?
No. The whole 169.254.0.0/16 link-local range is blocked, along with other cloud metadata addresses such as fd00:ec2::254 and 100.100.100.200.
What about a name that resolves to a private address later?
The guard connects only to the address it checked, so a second DNS answer cannot change the target.
Can an org turn the guard off?
No. Only a server setting meant for local development opens it. No request or org setting can.
Keep reading
MCP SSRF risk checker
Paste MCP server or model endpoint URLs, one per line, and see whether the Bello Bot network guard would let a bot reach them.

SSRF protection for AI agents
SSRF protection stops AI agents and their tools from calling internal addresses such as cloud metadata.

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.

Governing external MCP servers
One place that decides which MCP tool calls run, for every bot in the org.
More architecture deep dives
The local device engine bridge · The outcome-only email gateway · Per-bot cloud desktops
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.