Skip to content

[Bug]: ClawHub API returns Vercel Security Checkpoint (403) instead of JSON #96820

Closed as not planned

Description

@ars667

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

All ClawHub API endpoints return a Vercel Security Checkpoint HTML page
instead of JSON, making the CLI completely unusable.

Steps to reproduce:
openclaw skills search "calendar"
openclaw skills install @

Result:
ClawHubRequestError: ClawHub /api/v1/search failed (403): ...
(Vercel Security Checkpoint page)

Also: clawhub.io SSL certificate appears to be expired.
curl -i https://clawhub.io/api/v1/skills/calendar/install
→ SSL certificate problem: certificate has expired

Environment:
openclaw 2026.6.10 (aa69b12)

Expected: JSON response from the API.

Fix needed: whitelist CLI user-agent / disable Vercel bot protection
for /api/v1/* endpoints. The current setup blocks all non-browser requests.

Steps to reproduce

openclaw skills search "calendar"
openclaw skills install @

Expected behavior

NOT_ENOUGH_INFO

Actual behavior

ClawHubRequestError: ClawHub /api/v1/search failed (403): ...

OpenClaw version

2026.6.10 (aa69b12)

Operating system

MacOS26.5.1

Install method

No response

Model

Provider / routing chain

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Additionally, the SSL certificate on clawhub.io appears to be expired:

curl -i https://clawhub.io/api/v1/skills/calendar/install
→ SSL certificate problem: certificate has expired

Activity

  1. clawsweeper commented on Jun 25, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 25, 2026, 11:31 AM ET / 15:31 UTC.

    Summary
    Keep open for maintainer handling: the issue has the protected security label, the current default clawhub.ai API no longer reproduces the reported 403/HTML response, and the secondary clawhub.io TLS-certificate failure still reproduces as an external ClawHub/ops concern.

    Reproducibility: Partially. The central default-host 403/HTML failure did not reproduce because live clawhub.ai search and install endpoints returned JSON, but the secondary clawhub.io TLS certificate failure reproduced with curl.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.
    • Include redacted logs or terminal output.

    Next step
    The protected security label plus live legacy-domain TLS failure make this a maintainer/ClawHub-ops routing item, not a safe autonomous OpenClaw source fix.

    Security
    Needs attention: The issue has a concrete TLS/host-security signal: clawhub.io currently fails certificate validation, while no patch was available to review.

    Review details

    Best possible solution:

    Have ClawHub/ops maintainers verify Vercel protection and TLS configuration, renew or retire the legacy clawhub.io route, and keep the OpenClaw CLI default on clawhub.ai unless a source-level fallback is explicitly needed.

    Do we have a high-confidence way to reproduce the issue?

    Partially. The central default-host 403/HTML failure did not reproduce because live clawhub.ai search and install endpoints returned JSON, but the secondary clawhub.io TLS certificate failure reproduced with curl.

    Is this the best way to solve the issue?

    Unclear. Whitelisting CLI traffic or disabling bot protection is plausible if Vercel is still blocking some clients, but the evidence now points first to ClawHub host/TLS maintainer verification rather than an OpenClaw source patch.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The default clawhub.ai 403/HTML failure may have been transient, regional, rate-limit related, or already mitigated before this review; the reporter's exact CLI environment was not reproduced end to end.
    • The clawhub.io certificate failure is live but appears to involve a legacy/non-default ClawHub domain and may require hosted DNS/TLS/Vercel administration outside this source repository.

    Codex review notes: model internal, reasoning high; reviewed against 01ce03c5b13c.

    Label changes

    Label changes:

    • add P2: The report affects ClawHub skill discovery/install availability and TLS trust, but the default API endpoint returned JSON during review and the remaining work needs maintainer/ops verification.
    • add impact:security: The issue includes a live expired TLS certificate failure for a ClawHub domain used for registry API access.
    • add impact:other: The reported failure class is ClawHub registry/API availability for openclaw skills search and install workflows, which does not fit the more specific owned impact labels.
    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • add clawsweeper:not-repro-on-main: Current issue advisory state selects this label.
    • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
    • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
    • add clawsweeper:needs-security-review: Current issue advisory state selects this label.

    Label justifications:

    • P2: The report affects ClawHub skill discovery/install availability and TLS trust, but the default API endpoint returned JSON during review and the remaining work needs maintainer/ops verification.
    • impact:security: The issue includes a live expired TLS certificate failure for a ClawHub domain used for registry API access.
    • impact:other: The reported failure class is ClawHub registry/API availability for openclaw skills search and install workflows, which does not fit the more specific owned impact labels.
    Evidence reviewed

    Security concerns:

    • [medium] Expired TLS certificate on ClawHub legacy domain
      curl to the reported clawhub.io API route failed during TLS validation with an expired certificate, which can break secure registry access for any users or integrations still pointed at that domain.
      Confidence: 0.92

    What I checked:

    • Live issue state: The live issue is open with bug and protected security labels, so this cleanup pass should not auto-close it even though the central clawhub.ai 403 did not reproduce.
    • CLI entry point: openclaw skills search calls searchSkillsFromClawHub, matching the user's reported command path. (src/cli/skills-cli.ts:292, 01ce03c5b13c)
    • Current ClawHub default host: Current main resolves the default ClawHub registry to https://clawhub.ai, not clawhub.io. (src/infra/clawhub.ts:22, 01ce03c5b13c)
    • Current ClawHub search/install paths: Current main maps skills search to /api/v1/search and install resolution to /api/v1/skills/<slug>/install, the same endpoints checked live. (src/infra/clawhub.ts:958, 01ce03c5b13c)
    • Latest release path check: The latest release tag v2026.6.10 also uses https://clawhub.ai as the default ClawHub URL and the same /api/v1/search and install-resolution paths. (src/infra/clawhub.ts:18, aa69b12d0086)
    • Live search endpoint check: Direct curl to https://clawhub.ai/api/v1/search?q=calendar&limit=3 returned HTTP 200 with content-type: application/json and JSON results, so the reported Vercel 403 HTML checkpoint was not reproduced for the default host.

    Likely related people:

    • Patrick-Erichsen: Authored and merged the GitHub-backed ClawHub skills install work and owner-qualified ClawHub skill install/verify follow-ups that touch this CLI surface. (role: feature introducer and recent ClawHub skills contributor; confidence: high; commits: 8f85f949465a, ebd87e7f37b9, 6343e1483faf; files: src/skills/lifecycle/clawhub.ts, src/cli/skills-cli.ts)
    • vincentkoc: Recently maintained ClawHub client/update policy paths and merged/reviewed ClawHub provenance work, including the latest release tag context. (role: recent area contributor and reviewer; confidence: high; commits: 8cd0c11227f6, 1385da8d3f14, 4e9dc6b5d5c4; files: src/infra/clawhub.ts, src/skills/lifecycle/clawhub.ts, src/cli/skills-cli.ts)
    • Alix-007: Recently changed ClawHub request handling and install-resolution JSON bounds in the ClawHub infra client, adjacent to the API error/body behavior in this report. (role: recent security-hardening contributor; confidence: medium; commits: 48853df18c7a, 31f1ce1af630, a6dd20ae9dd0; files: src/infra/clawhub.ts, src/skills/lifecycle/clawhub.ts)
    • joshavant: Local blame in this shallow/grafted checkout attributes the current ClawHub default URL and request helper lines to the current main snapshot commit. (role: current checkout line provenance; confidence: low; commits: 0a14444924e3; files: src/infra/clawhub.ts, src/skills/lifecycle/clawhub.ts, src/cli/skills-cli.ts)
    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-review comments, 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-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2Normal backlog priority with limited blast radius.
    impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.
    impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    clawsweeper:not-repro-on-mainClawSweeper found high-confidence evidence that this issue no longer reproduces on main.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.
    on Jun 25, 2026
  3. steipete commented on Oct 24, 2026

    @steipete
    Contributor

    Thanks for filing this. We're closing older issues that no longer look actionable on current main.

    The default clawhub.ai API now returns JSON for search and install, so we couldn't reproduce the 403 checkpoint page. Please open a fresh issue if you still see it on a current release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:not-repro-on-mainClawSweeper found high-confidence evidence that this issue no longer reproduces on main.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.securitySecurity documentation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions