Glossary

SSRF protection for AI agents

Stop an agent from being talked into calling your internal network.

The short answer

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

  1. Allow https only.
  2. Reject credentials inside URLs.
  3. Resolve the host and require every address to be public.
  4. Re-check on every redirect, with a hop limit.
  5. Connect to the exact address you checked, so DNS cannot change in between.
  6. Make the only bypass a server setting, never a request or tenant option.

How Bello Bot does it

Related reading

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

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.