[Feature]: Setting to disable the hosted plugin catalog feed
Summary
Add a setting to disable the hosted plugin catalog feed.
Problem to solve
The gateway fetches https://clawhub.ai/v1/feeds/plugins when it lists or inspects plugins, and there's no way to turn that off. The URL is hardcoded in official-external-plugin-catalog-source.ts, and OPENCLAW_CLAWHUB_URL doesn't cover it.
Proposed solution
A config key, e.g. plugins.catalog.hosted: false, that skips the hosted feed and uses only the bundled catalog metadata.
Alternatives considered
Blocking the host at the network layer, which works but leaves the request firing.
Impact
Deployments that pin their plugins and restrict egress don't need the feed.
Do you plan to open a PR for this?
Maybe, with maintainer guidance
Codex review: this still needs some work.
Summary Keep open: current main still initiates hosted plugin catalog requests without a persistent opt-out, and multiple deployment reports establish a concrete need for this core control.
Reproducibility: Current source establishes the startup-to-catalog-to-fetch path and missing configuration control; no live reproduction or tests were run during this read-only review.
Maintainer decision needed
- Question: Should persistent hosted plugin catalog disablement use bundled metadata exclusively or retain accepted hosted snapshots?
- Recommendation: Bundled-only disablement: Preserve current defaults; explicit disablement bypasses hosted requests and snapshots across startup, list, inspect, and refresh, with a clear disabled result for explicit refresh.
- Why: Both fit the existing architecture, but they produce different catalog contents and the discussion records no approved configuration contract.
Next step Choose bundled-only or snapshot-preserving disablement and define explicit-refresh behavior before approving the new configuration contract.
Review details
Best possible solution:
Provide a default-preserving control in the existing catalog owner that consistently suppresses hosted feed requests with documented snapshot and refresh semantics.
Do we have a high-confidence way to reproduce the issue?
Current source establishes the startup-to-catalog-to-fetch path and missing configuration control; no live reproduction or tests were run during this read-only review.
Is this the best way to solve the issue?
An owner-level control addresses the deployment need more completely than network blocking or command-specific offline reads, once maintainers choose snapshot and refresh semantics.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- Whether disablement excludes saved hosted snapshots or only network access remains undecided.
- The configuration's scope across startup, listing, inspection, and explicit refresh needs an approved contract.
Codex review notes: model internal, reasoning medium; reviewed against a4d32afaaa32.
Label changes
Label changes:
No label changes.
Label justifications:
P2: Restricted-egress deployments incur unwanted requests and failure noise, but the request concerns an advanced deployment control without evidence of a blocked first-use workflow.impact:other: The concrete impact is unnecessary hosted-catalog egress and repeated failures in offline or restricted deployments.
Evidence reviewed
What I checked:
- Startup reaches the hosted catalog: The plugins prewarm item calls listManagedPlugins with current configuration; the service calls loadOfficialCatalog without an offline or disablement policy. (
src/gateway/server-startup-handler-prewarm.ts:78, a4d32afaaa32) - Cached-only reads still initiate hosted loading: loadOfficialCatalog invokes loadConfiguredHostedOfficialExternalPluginCatalogEntries without arguments before deciding whether to return current facts or await completion. (
src/plugins/management-catalog.ts:290, a4d32afaaa32) - No persistent catalog configuration: The strict plugins configuration object exposes enabled, allow, deny, load, slots, and entries, but no hosted catalog control. (
src/config/zod-schema.root-shape.ts:571, a4d32afaaa32) - Offline loading preserves hosted snapshots: offline:true returns snapshot-or-bundled fallback before the guarded network fetch; existing coverage explicitly expects hosted-snapshot results, so this differs from bundled-only disablement. (
src/plugins/official-external-plugin-catalog-hosted.ts:361, a4d32afaaa32) - Existing workaround is command-specific: The documented marketplace entries --offline command reads the saved feed without refreshing it; it does not disable Gateway catalog requests. Public documentation: https://docs.openclaw.ai/cli/plugins. (
docs/cli/plugins.md:19, a4d32afaaa32) - Merged latency improvement leaves the request intact: GitHub verifies https://github.com/openclaw/openclaw/pull/184921 as merged; its body and commit patch explicitly preserve hosted enrichment while removing the list response's blocking wait. (
src/plugins/management-catalog.ts:277, 7f394ea14e2f)
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
- Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
Reviewed November 3, 2026, 10:40 AM ET / 15:40 UTC.
Same problem from a fake-IP environment (Clash/mihomo, 198.18.0.0/15 + fc00::/7) — supporting this request with an additional reason.
On this host https://clawhub.ai/v1/feeds/plugins is refused by the SSRF guard (Blocked: resolves to private/internal/special-use IP address) on every plugin list/inspect and at gateway startup — 20 blocked lines in one day — and the skill-icon fetches (/api/v1/skill-icons/...) each burn a 5 s timeout. So on fake-IP networks the feed isn't just unnecessary, it actively fails and spams the log.
Related same-class issues: #152765 (remote model catalog refresh ignores ssrfPolicy.allowRfc2544BenchmarkRange) and #168356 (provider discovery hardcodes ~5 s and ignores models.providers.<id>.timeoutSeconds).
One more data point: fake-IP handling in OpenClaw feels regressive — earlier releases handled several of these paths (there are closed issues like #68192, #88984, #55058 for web_fetch/QQ/auth paths), but recent versions re-introduced the same failure shape on the catalog/discovery/plugin-feed paths. A plugins.catalog.hosted: false-style toggle — or consistently honoring the allowRfc2544BenchmarkRange / allowIpv6UniqueLocalRange flags on all three paths — would resolve this class once instead of per-path regressions.
One more data point for this request: the feed is fetched at every gateway start, not only when the plugin view is opened, and there is no way to opt out.
In v2026.10.6 (commit fe06181d) the startup prewarm item plugins (src/gateway/server-startup-handler-prewarm.ts:102-110) calls listManagedPlugins → loadOfficialCatalog() (src/plugins/management-catalog.ts:272-275), which loads the hosted feed https://clawhub.ai/v1/feeds/plugins (src/plugins/official-external-plugin-catalog-source.ts:24) without offline; offline: true (official-external-plugin-catalog-hosted.ts:425) is never passed from this path. This happens with the Control UI disabled, with a restrictive plugins.allow, and with update.checkOnStart: false. On 2026.9.9 we see exactly one request per start, within a minute.
+1 — same here, and confirming @Card4Philippe's finding from a different network setup.
On my host (Clash/mihomo fake-ip, 198.18.0.0/15 + fc00::/7) the hosted feed fires on every gateway start with no opt-out, and each firing is refused by the SSRF guard (Blocked: resolves to private/internal/special-use IP address) plus 5 s timeouts on the skill-icon fetches. It also fires when merely listing/inspecting plugins.
Related same-class reports where fake-IP handling is missing per-path: #152765 (model catalog refresh) and #168356 (provider discovery hardcoded timeout — now fixed on main by #180842, awaiting release). A plugins.catalog.hosted: false-style toggle, or honoring the fake-IP range flags on this path, would resolve this one the same way.
+1, from deployments where outbound access is restricted or there is no network at all. There, the startup fetch can't succeed and can't be turned off. Blocking it at the network layer still leaves a failing request and a warning on every start.
I re-checked current main (c37b72581) and v2026.10.7. The behavior described above is unchanged:
src/gateway/server-startup-handler-prewarm.ts(main L77, v2026.10.7 L103): thepluginsdashboard prewarm item is always scheduled and callslistManagedPlugins({ config }).src/plugins/management-catalog.tsloadOfficialCatalog()(main L273-286): callsloadConfiguredHostedOfficialExternalPluginCatalogEntries()with no arguments. The newcachedOnlypath returns bundled entries right away but still starts the hosted fetch.src/plugins/official-external-plugin-catalog-hosted.ts(main L361):offline: trueis already supported, but nothing in config or env reaches it from this path.
On the open product question: I'd support a persistent, default-preserving setting with bundled-only semantics, for example:
{ plugins: { catalog: { hosted: false } } } // default true
When it is false:
loadOfficialCatalog()skipsloadConfiguredHostedOfficialExternalPluginCatalogEntries()entirely and returnslistOfficialExternalPluginCatalogEntries()withhostedFeaturedAuthoritative: false. It makes no request and does not read hosted snapshots, so the result is deterministic.- The
pluginsprewarm item is omitted, or does a local-only load, so a gateway start makes no catalog request. - Explicit CLI or UI refresh commands either honor the setting or report it clearly ("hosted catalog disabled by plugins.catalog.hosted").
If maintainers would rather have the smaller change, passing offline: true from loadOfficialCatalog() when the setting is off would also stop the network request, while keeping snapshot fallback.
I'm happy to test a build or PR against an egress-restricted gateway and report back.
This issue has been automatically marked as stale after 7 days without qualifying human activity. Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed. A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
Still reproducible on v2026.11.1 — posting to keep this alive.
Re-checked the 2026.11.1 release notes and every commit since 2026-10-27 touching catalog/clawhub/hosted/fake/ssrf/offline: nothing addresses this path. The startup prewarm still calls the hosted catalog loader with no arguments (no offline: true, no config knob), and the config schema still has no plugin-catalog toggle — I verified both against the installed 2026.11.1 build.
On a fake-IP network the hosted feed fetch is refused by the SSRF guard on every gateway start (Blocked: resolves to private/internal/special-use IP address), plus 5 s timeouts on skill-icon fetches when the plugin view is opened. There is still no way to opt out.
Request: either a plugins.catalog.hosted: false-style toggle, or honor the existing fake-IP range handling on this path like the model-catalog side needs in #152765.
This issue has been automatically marked as stale after 7 days without qualifying human activity. Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed. A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
Closing as not planned after the inactivity notice and full retest/update grace. This is an administrative close; the reported problem has not been confirmed fixed. Please reopen with current reproduction details if it still occurs.