1"""SSRF protection and security utilities.23This is an **internal** module (note the `_security` prefix). It is NOT part of4the public `langchain-core` API and may change or be removed at any time without5notice. External code should not import from or depend on anything in this6module. Any vulnerability reports should target the public APIs that use these7utilities, not this internal module directly.8"""910from langchain_core._security._exceptions import SSRFBlockedError11from langchain_core._security._policy import (12 SSRFPolicy,13 validate_hostname,14 validate_resolved_ip,15 validate_url,16 validate_url_sync,17)18from langchain_core._security._transport import (19 SSRFSafeSyncTransport,20 SSRFSafeTransport,21 ssrf_safe_async_client,22 ssrf_safe_client,23)2425__all__ = [26 "SSRFBlockedError",27 "SSRFPolicy",28 "SSRFSafeSyncTransport",29 "SSRFSafeTransport",30 "ssrf_safe_async_client",31 "ssrf_safe_client",32 "validate_hostname",33 "validate_resolved_ip",34 "validate_url",35 "validate_url_sync",36]
Findings
✓ No findings reported for this file.