Documentation
¶
Overview ¶
Package ssrf provides SSRF-safe HTTP transport that blocks connections to private/reserved IP addresses. Used by OIDC and CIMD adapters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPrivateIP ¶
IsPrivateIP returns true if the given IP is in a private or reserved range.
func NewSafeTransport ¶
NewSafeTransport returns an http.Transport that blocks connections to private/reserved IP addresses. Used for outbound HTTP requests (OIDC discovery, CIMD fetch, etc.) to prevent SSRF attacks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.