Repository navigation
fix(agents): scope custom provider baseUrl SSRF trust by origin - #80751
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. source-reproducible: current main reaches guarded provider fetch with fake-IP or broad allowPrivateNetwork policy only, so a configured private custom/local baseUrl lacks exact-origin trust. The linked issue also provides concrete config, logs, and curl sanity evidence. Real behavior proof Next step before merge Security Review detailsBest possible solution: Have a maintainer/security owner approve the trust boundary and SDK surface; if approved, land this PR and keep the non-blocking edge/docs items in #81963 as follow-up. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main reaches guarded provider fetch with fake-IP or broad allowPrivateNetwork policy only, so a configured private custom/local baseUrl lacks exact-origin trust. The linked issue also provides concrete config, logs, and curl sanity evidence. Is this the best way to solve the issue? Unclear until maintainer/security policy review signs off. The implementation is narrow and well covered, but exact-origin private-network trust plus SDK exposure is a policy/API decision rather than a purely mechanical fix. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 346a773b1894. |
cff86b6 to
47a929f
Compare
47a929f to
0e44c7d
Compare
0e44c7d to
7ae83f2
Compare
7ae83f2 to
3cdcbb4
Compare
Multi-lane review on rebased headCodex quota was exhausted at rebase time, so I substituted a multilane Claude review with four parallel Opus subagent review lanes against
In-scope fix applied on top of the rebase
Maintainer questions surfaced by the review
P2 follow-ups (deferred, not blocking this PR)Test coverage gaps — none are currently broken, just untested edges:
Docs:
IPv6 zone-id literal in What was verified
Happy to spin off the maintainer-question items or the deferred P2s as separate issues / PRs if you want them tracked. |
…oud metadata blocked
The SsrFPolicy.allowPrivateNetwork flag was respected for private-IP
ranges but not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal). BlueBubbles
already passes allowPrivateNetwork:true for Private API calls against
http://localhost:1234, but isBlockedHostnameNormalized ignored the
policy and kept blocking the outbound fetch — BB attachment download
failed SSRF.
Pass the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted into private-network access, skip the hostname family
block. Split BLOCKED_HOSTNAMES so cloud-instance metadata endpoints
stay blocked even with the explicit opt-in (closes the CWE-918 hole
where metadata.google.internal would otherwise leak GCE IAM creds):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork (BB Private API,
local LiteLLM proxies).
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Replaces post-build shell script ~/.openclaw/patches/versions/2026.3.11/
proxy-ssrf-localhost.sh.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…oud metadata blocked
SsrFPolicy.allowPrivateNetwork was respected for private-IP ranges but
not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal), so any caller
that explicitly opted into private-network access (local LLM proxies
like LMStudio / Ollama / ComfyUI / LiteLLM at localhost:*, mDNS-bound
services on the home LAN) still had its outbound fetch blocked by
isBlockedHostnameNormalized.
Thread the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted in, skip the hostname-family block. Split
BLOCKED_HOSTNAMES so cloud-instance metadata endpoints stay blocked
even with the explicit opt-in (closes the CWE-918 hole where
metadata.google.internal would otherwise leak GCE IAM credentials):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork.
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…claw#80751) * fix(agents): scope provider SSRF trust by origin * fix(provider): preserve explicit private-network deny * docs(provider): document exact-origin SSRF trust * test(provider): cover exact-origin SSRF edges * docs(provider): align local model private-origin guidance * refactor(ssrf): keep policy merging in infra * test(ssrf): cover exact-origin trust through guard * test(ssrf): block sibling private-origin redirects * fix(provider): keep loopback trust origin-scoped * fix(provider): block metadata origin trust * fix(ssrf): keep metadata rebinding blocked * fix(ssrf): block cloud metadata origins * fix(ssrf): block ipv6 metadata origins * fix(ssrf): block embedded metadata origins * test(ssrf): cover embedded link-local metadata * test(provider): cover custom anthropic proxy classification * test(provider): widen transport policy mock * test(plugin-sdk): assert metadata-IP allowedOrigins entries are rejected Plugin authors can construct an SsrFPolicy that lists any well-formed http(s) origin in allowedOrigins. The abuse-resistance lives one layer deeper, in resolvePinnedHostnameWithPolicy's metadata/link-local block. Add an SDK-level smoke test asserting that contract directly: - AWS/Alibaba IMDS IPv4 literals, GCP metadata canonical hostname, IPv6 ULA metadata literal, and non-metadata link-local IPv4 entries build a policy via ssrfPolicyFromHttpBaseUrlAllowedOrigin and are then rejected at resolvePinnedHostnameWithPolicy. - DNS rebinding from a trusted private DNS origin to a metadata IP is rejected even when the request hostname is origin-trusted. This would fail if the SDK helper or resolveSsrFPolicyForUrl ever short-circuited past the metadata block. * chore(docs): regenerate baselines after upstream rebase upstream/main moved between rebases; the merged source state for the PR's `src/config/schema.help.ts` change and the upstream plugin-sdk surface changes both produce different hashes than the committed baselines, so `config:docs:check` and `plugin-sdk:api:check` would fail. Regenerated via `pnpm config:docs:gen` + `pnpm plugin-sdk:api:gen` on Crabbox; both baselines verified with their respective `--check` generators. * test(plugin-sdk): assert SSRF blocked error class * fix(lint): satisfy exact-origin PR lint rules * docs: clarify custom provider origin trust * chore(docs): refresh plugin sdk api baseline --------- Co-authored-by: Peter Steinberger <[email protected]>
…oud metadata blocked
SsrFPolicy.allowPrivateNetwork was respected for private-IP ranges but
not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal), so any caller
that explicitly opted into private-network access (local LLM proxies
like LMStudio / Ollama / ComfyUI / LiteLLM at localhost:*, mDNS-bound
services on the home LAN) still had its outbound fetch blocked by
isBlockedHostnameNormalized.
Thread the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted in, skip the hostname-family block. Split
BLOCKED_HOSTNAMES so cloud-instance metadata endpoints stay blocked
even with the explicit opt-in (closes the CWE-918 hole where
metadata.google.internal would otherwise leak GCE IAM credentials):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork.
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…oud metadata blocked
SsrFPolicy.allowPrivateNetwork was respected for private-IP ranges but
not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal), so any caller
that explicitly opted into private-network access (local LLM proxies
like LMStudio / Ollama / ComfyUI / LiteLLM at localhost:*, mDNS-bound
services on the home LAN) still had its outbound fetch blocked by
isBlockedHostnameNormalized.
Thread the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted in, skip the hostname-family block. Split
BLOCKED_HOSTNAMES so cloud-instance metadata endpoints stay blocked
even with the explicit opt-in (closes the CWE-918 hole where
metadata.google.internal would otherwise leak GCE IAM credentials):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork.
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…oud metadata blocked
SsrFPolicy.allowPrivateNetwork was respected for private-IP ranges but
not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal), so any caller
that explicitly opted into private-network access (local LLM proxies
like LMStudio / Ollama / ComfyUI / LiteLLM at localhost:*, mDNS-bound
services on the home LAN) still had its outbound fetch blocked by
isBlockedHostnameNormalized.
Thread the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted in, skip the hostname-family block. Split
BLOCKED_HOSTNAMES so cloud-instance metadata endpoints stay blocked
even with the explicit opt-in (closes the CWE-918 hole where
metadata.google.internal would otherwise leak GCE IAM credentials):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork.
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…claw#80751) * fix(agents): scope provider SSRF trust by origin * fix(provider): preserve explicit private-network deny * docs(provider): document exact-origin SSRF trust * test(provider): cover exact-origin SSRF edges * docs(provider): align local model private-origin guidance * refactor(ssrf): keep policy merging in infra * test(ssrf): cover exact-origin trust through guard * test(ssrf): block sibling private-origin redirects * fix(provider): keep loopback trust origin-scoped * fix(provider): block metadata origin trust * fix(ssrf): keep metadata rebinding blocked * fix(ssrf): block cloud metadata origins * fix(ssrf): block ipv6 metadata origins * fix(ssrf): block embedded metadata origins * test(ssrf): cover embedded link-local metadata * test(provider): cover custom anthropic proxy classification * test(provider): widen transport policy mock * test(plugin-sdk): assert metadata-IP allowedOrigins entries are rejected Plugin authors can construct an SsrFPolicy that lists any well-formed http(s) origin in allowedOrigins. The abuse-resistance lives one layer deeper, in resolvePinnedHostnameWithPolicy's metadata/link-local block. Add an SDK-level smoke test asserting that contract directly: - AWS/Alibaba IMDS IPv4 literals, GCP metadata canonical hostname, IPv6 ULA metadata literal, and non-metadata link-local IPv4 entries build a policy via ssrfPolicyFromHttpBaseUrlAllowedOrigin and are then rejected at resolvePinnedHostnameWithPolicy. - DNS rebinding from a trusted private DNS origin to a metadata IP is rejected even when the request hostname is origin-trusted. This would fail if the SDK helper or resolveSsrFPolicyForUrl ever short-circuited past the metadata block. * chore(docs): regenerate baselines after upstream rebase upstream/main moved between rebases; the merged source state for the PR's `src/config/schema.help.ts` change and the upstream plugin-sdk surface changes both produce different hashes than the committed baselines, so `config:docs:check` and `plugin-sdk:api:check` would fail. Regenerated via `pnpm config:docs:gen` + `pnpm plugin-sdk:api:gen` on Crabbox; both baselines verified with their respective `--check` generators. * test(plugin-sdk): assert SSRF blocked error class * fix(lint): satisfy exact-origin PR lint rules * docs: clarify custom provider origin trust * chore(docs): refresh plugin sdk api baseline --------- Co-authored-by: Peter Steinberger <[email protected]>
…oud metadata blocked
SsrFPolicy.allowPrivateNetwork was respected for private-IP ranges but
not for the loopback/local hostname family (localhost,
localhost.localdomain, *.localhost, *.local, *.internal), so any caller
that explicitly opted into private-network access (local LLM proxies
like LMStudio / Ollama / ComfyUI / LiteLLM at localhost:*, mDNS-bound
services on the home LAN) still had its outbound fetch blocked by
isBlockedHostnameNormalized.
Thread the policy into isBlockedHostnameNormalized. When the caller has
explicitly opted in, skip the hostname-family block. Split
BLOCKED_HOSTNAMES so cloud-instance metadata endpoints stay blocked
even with the explicit opt-in (closes the CWE-918 hole where
metadata.google.internal would otherwise leak GCE IAM credentials):
- ALWAYS_BLOCKED_CLOUD_METADATA_HOSTNAMES — checked before
allowPrivateNetwork; metadata.google.internal stays blocked.
- LOOPBACK_HOSTNAMES — passes under allowPrivateNetwork.
Under allowPrivateNetwork:
- loopback aliases + .localhost / .local pass (LAN service case)
- .internal stays blocked (cloud metadata + enterprise reserved domains)
- ordinary public hostnames pass
Regression coverage: metadata.google.internal blocked under
{allowPrivateNetwork:true} and {dangerouslyAllowPrivateNetwork:true};
.internal suffix table covering bar.compute.internal etc.
Upstream PR candidate. (See also: upstream PR openclaw#80751 which restructured
SSRF policy resolution along origin-allowlist lines; this patch will
need porting on rebase past v2026.5.13.)
…claw#80751) * fix(agents): scope provider SSRF trust by origin * fix(provider): preserve explicit private-network deny * docs(provider): document exact-origin SSRF trust * test(provider): cover exact-origin SSRF edges * docs(provider): align local model private-origin guidance * refactor(ssrf): keep policy merging in infra * test(ssrf): cover exact-origin trust through guard * test(ssrf): block sibling private-origin redirects * fix(provider): keep loopback trust origin-scoped * fix(provider): block metadata origin trust * fix(ssrf): keep metadata rebinding blocked * fix(ssrf): block cloud metadata origins * fix(ssrf): block ipv6 metadata origins * fix(ssrf): block embedded metadata origins * test(ssrf): cover embedded link-local metadata * test(provider): cover custom anthropic proxy classification * test(provider): widen transport policy mock * test(plugin-sdk): assert metadata-IP allowedOrigins entries are rejected Plugin authors can construct an SsrFPolicy that lists any well-formed http(s) origin in allowedOrigins. The abuse-resistance lives one layer deeper, in resolvePinnedHostnameWithPolicy's metadata/link-local block. Add an SDK-level smoke test asserting that contract directly: - AWS/Alibaba IMDS IPv4 literals, GCP metadata canonical hostname, IPv6 ULA metadata literal, and non-metadata link-local IPv4 entries build a policy via ssrfPolicyFromHttpBaseUrlAllowedOrigin and are then rejected at resolvePinnedHostnameWithPolicy. - DNS rebinding from a trusted private DNS origin to a metadata IP is rejected even when the request hostname is origin-trusted. This would fail if the SDK helper or resolveSsrFPolicyForUrl ever short-circuited past the metadata block. * chore(docs): regenerate baselines after upstream rebase upstream/main moved between rebases; the merged source state for the PR's `src/config/schema.help.ts` change and the upstream plugin-sdk surface changes both produce different hashes than the committed baselines, so `config:docs:check` and `plugin-sdk:api:check` would fail. Regenerated via `pnpm config:docs:gen` + `pnpm plugin-sdk:api:gen` on Crabbox; both baselines verified with their respective `--check` generators. * test(plugin-sdk): assert SSRF blocked error class * fix(lint): satisfy exact-origin PR lint rules * docs: clarify custom provider origin trust * chore(docs): refresh plugin sdk api baseline --------- Co-authored-by: Peter Steinberger <[email protected]>
Ready for maintainer / security-policy review. Refs #80732.
What this PR does
OpenClaw's SSRF guard blocks outbound HTTP requests whose hostname resolves to a private, loopback, link-local, or CGNAT IP. That's the right default — it prevents a compromised model or a malicious prompt from probing the host's internal network or hitting cloud metadata endpoints (
169.254.169.254, the GCP/AWS attack surface).It also blocks the legitimate case where the operator deliberately configures a custom or self-hosted LLM provider at a private address. Every call to a
baseUrllikehttp://127.0.0.1:1234/v1(LM Studio),http://localhost:11434/v1(Ollama),http://10.0.0.5:8000/v1(vLLM on a LAN VM), orhttp://192.168.1.10:8080/v1(llama-server) fails today withSsrFBlockedError. The only escape hatch isrequest.allowPrivateNetwork: true, which is a blanket opt-in that trusts every private IP — far too broad for a routing decision driven by a single configured endpoint.This PR adds exact-origin trust. When a
customorlocalprovider is configured with a private/loopbackbaseUrl, only that exactscheme://host:portis trusted; everything else (different ports, redirects to other origins, metadata addresses, other private hosts) stays blocked. The configured origin is resolved per request inside the guarded fetch's redirect loop, so the trust travels with the request but doesn't widen the policy.Practical effect:
provider.lmstudio.baseUrl: "http://127.0.0.1:1234/v1"works out of the box — without enablingallowPrivateNetworkand without weakening the guard for any other origin.Safety properties preserved
The exact-origin trust is narrow and revocable:
request.allowPrivateNetwork: falsedisables exact-origin trust even when the origin matches.http://10.0.0.5:8000does not authorizehttp://10.0.0.5:9000.169.254.0.0/16), cloud metadata literals, IPv6 metadata, and IPv6-embedded IPv4 metadata forms (NAT64, 6to4-style) stay rejected regardless of origin trust.allowedOriginsentries for metadata / link-local origins still fail at the resolver.endpointClass: "custom" | "local". OpenAI, Anthropic, Bedrock, and other native providers remain on the default policy.Maintainer questions
endpointClass: "custom" | "local"the right SSRF boundary for configured model provider endpoints?allowedOriginsthrough the plugin SDK SSRF policy acceptable, or should the origin helper stay internal to core fetch-guard code?Real behavior proof
Behavior or issue addressed: Operator-configured custom/local model provider
baseUrlvalues that point at a private/self-hosted OpenAI-compatible endpoint should work without broadrequest.allowPrivateNetwork, but trust must stay scoped to the exact configured origin and must not permit metadata targets.Real environment tested: OpenClaw source at rebased PR head (
7ae83f2230105653a77de66a077ab5e0984cde45), real HTTP servers bound to the host private IPv4 address and loopback, and the actualbuildGuardedModelFetchprovider transport path used for OpenAI-compatible model requests. The proof server implemented the OpenAI-compatiblePOST /v1/chat/completionsshape and used redacted private-IP/loopbackbaseUrlvalues.Exact steps or command run after this patch:
Evidence after fix: Terminal output from the exact-head proof command showed successful configured private/loopback requests and blocked different-port, explicit-deny, and metadata destinations. The summarized result was:
{ "proof": "custom/local provider private baseUrl exact-origin SSRF policy", "realEnvironment": { "endpoint": "OpenAI-compatible HTTP servers bound to host private IPv4 and loopback", "privateBaseUrl": "http://<private-ip>:43913/v1", "loopbackBaseUrl": "http://127.0.0.1:40589/v1", "requestPath": "/v1/chat/completions", "repoHead": "7ae83f2230105653a77de66a077ab5e0984cde45" }, "configuredOriginRequest": { "status": 200, "ok": true, "serverReceivedRequests": 1 }, "differentPortRequest": { "blocked": true, "errorName": "SsrFBlockedError", "serverReceivedRequest": false }, "explicitDenyRequest": { "blocked": true, "errorName": "SsrFBlockedError", "serverReceivedRequest": false }, "implicitLoopbackOriginRequest": { "status": 200, "ok": true, "serverReceivedRequests": 1 }, "implicitLoopbackDifferentPortRequest": { "blocked": true, "errorName": "SsrFBlockedError", "serverReceivedRequest": false }, "metadataLiteralRequest": { "blocked": true, "errorName": "SsrFBlockedError" }, "metadataNonLinkLocalRequest": { "blocked": true, "errorName": "SsrFBlockedError" }, "metadataIpv6Request": { "blocked": true, "errorName": "SsrFBlockedError" }, "metadataEmbeddedIpv6Request": { "blocked": true, "errorName": "SsrFBlockedError" }, "metadataHostnameRequest": { "blocked": true, "errorName": "SsrFBlockedError" } }Observed result after fix: The configured private and loopback provider origins returned HTTP 200 through the guarded model transport. Different ports, explicit deny, and metadata/cloud-metadata destinations remained blocked. This confirms the change is exact-origin scoped rather than a broad private-network opt-in.
What was not tested: A full LM Studio/vLLM/Ollama binary was not launched; this proof used a minimal OpenAI-compatible self-hosted endpoint to isolate the SSRF policy behavior. Hosted GitHub CI runs after the PR is marked ready; investigate any real failures. The dedicated
Real behavior proofworkflow re-runs on each push.Validation
Post-rebase checks on
e3f22a18743a0bce780702cd57aea1989013b4c8(rebased ontoorigin/mainat02f2e08493; conflict was limited to the regenerabledocs/.generated/config-baseline.sha256baseline hash; one additional commit on top adds an SDK-boundary smoke test):Coverage added for:
baseUrlexact-origin trust without broadallowPrivateNetworkrequest.allowPrivateNetwork: falsedisabling exact-origin trustcustomallowedOriginsentries for metadata / link-local origins still rejected at the resolver (SDK-boundary smoke test)Review notes
/review --base origin/mainhad no actionable P0/P1/P2 findings on pre-rebase headcff86b616874203a22f8914734ae8f58d4d81ed9.origin/main(02f2e08493), focused SSRF/provider regression tests, architecture guards, and generated-baseline checks passed one3f22a18743a0bce780702cd57aea1989013b4c8.allowedOrigins) is the additional commit on top of the rebase.test(provider): widen transport policy mockand verified with focused TypeScript diagnostics plus the affected Vitest shard.