GebSecure Docs v0.1.0

Architecture · All ADRs

ADR 0011 — SSRF-safe outbound networking for every customer-controlled URL

Architecture decision record — status: Accepted.

Status: Accepted

Decision#

@gebsecure/net.safeFetch is the only way services call customer-controlled URLs (webhooks, notifications, OAuth endpoints, connectors, MCP servers). It:

  • requires https (plain http only in development);
  • rejects credentials embedded in URLs;
  • resolves DNS once and rejects any non-public address (RFC 1918, loopback, link-local, CGNAT, ULA, multicast, NAT64, cloud metadata);
  • pins the connection to the validated IP (DNS-rebinding defense);
  • never follows redirects implicitly;
  • bounds response size and time.

Consequences#

Private-network targets require explicit configuration (EXECUTION_ALLOW_PRIVATE_NETWORKS in development, per-connection private allow-lists for self-hosted services).