File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ export function createMcpPinnedFetch(resolvedIP: string): FetchLike {
6767 * per request and rejects private/reserved/loopback targets (honoring
6868 * `ALLOWED_MCP_DOMAINS` and self-hosted localhost rules).
6969 *
70+ * Note: a caller-provided `AbortSignal` in `init` only bounds the HTTP request,
71+ * not the validation DNS lookup — Node's `dns.lookup` does not accept a signal,
72+ * so a hanging resolution can extend the overall call past the caller's timeout
73+ * by up to the OS DNS timeout. Acceptable here because all consumers are
74+ * best-effort, non-blocking flows (OAuth discovery and RFC 7009 revocation).
75+ *
7076 * @throws McpSsrfError if a request URL resolves to a blocked IP address
7177 */
7278export function createSsrfGuardedMcpFetch ( ) : FetchLike {
You can’t perform that action at this time.
0 commit comments