Skip to content
Docs

Outbound request safety

Publicus screens every outbound network call an agent or channel makes before it opens a connection. Calls to private, loopback, and link-local addresses are blocked. This protects your workspace from server-side request forgery (SSRF), where a crafted URL tricks the platform into reaching an internal service it should never touch.

The firewall applies to outbound calls from:

  • Channel sends to Slack, Discord, Teams, Telegram, and WhatsApp.
  • API tool calls from Rest / Operation and OpenApi / Operation.
  • MCP server tools.

Before each call, Publicus parses the URL, resolves the hostname to its addresses, and checks every resolved address against the block list. If any address is private or reserved, the call is blocked. Because all resolved addresses must pass, a hostname that points at a private address cannot slip through.

A call is blocked when its target:

  • Uses a scheme other than http or https.
  • Resolves to a loopback address (127.0.0.0/8, ::1).
  • Resolves to a private range (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
  • Resolves to a link-local address (169.254.0.0/16, including cloud metadata endpoints, and IPv6 fe80::/10).
  • Resolves to a unique-local IPv6 address (fc00::/7) or a multicast address.

Redirects are not followed automatically, so a response cannot redirect a call to a blocked address.

Point your agents and channels at public https endpoints. A public API, a hosted service, or a third-party webhook all work without any extra setup. The firewall is transparent to them and only bites when a call targets an internal or reserved address.

If a flow or an agent needs to reach a specific internal host on purpose, the platform operator can add that exact hostname, or an address range, to an allow list through environment configuration. A range opens every host whose addresses fall inside it. The list applies to every workspace on the deployment, so keep it narrow, and never open it to all addresses. The workspace’s Outbound access screen cannot do this: it only narrows.

The private-address block is the same for every workspace. On top of it, the Outbound access screen in your workspace limits which public domains its flows may reach:

  • Domains this workspace may reach: empty means the workspace adds no restriction of its own. Once you add domains, flows reach only those, and a parent domain covers its subdomains (hubspot.com also allows developers.hubspot.com). The list narrows the platform’s own list and can never widen it.
  • Recently blocked: every domain a flow tried to reach and was refused, with how often. Allow adds the domain to your list, and Dismiss clears the entry. A domain the platform’s list refused shows Ask the platform operator instead, because a workspace cannot lift that.
  • Search API key: the secret holding your own key for web search. With none picked, the platform key is used.
The Outbound access screen: Domains this workspace may reach, the Search API key set to the platform key, and Recently blocked with each domain's attempts, Allow or Ask the platform operator, and Dismiss
The Outbound access screen: Domains this workspace may reach, the Search API key set to the platform key, and Recently blocked with each domain's attempts, Allow or Ask the platform operator, and Dismiss

When a call is blocked, the tool or channel fails with a message that the request was blocked because the host resolved to a private or reserved address, naming the host and address involved. The agent run records the failure on the node so you can correct the endpoint and run again.