GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080) · Issue #15479 · developing-today/code

id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080) #15479

New issue
Copy link
New issue
Copy link
In progress
In progress
id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080)#15479
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-programPrimary parent epic id-program (design §3)primary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

Description

@dezren39
dezren39
opened on Nov 26, 2026
Issue body actions

Gap from the #9080 gap analysis (component B of #9078).

What is missing

The hosted ID front door (pkgs/id/hosted-worker/src/worker.ts) routes on X-Binding-Id and X-Jurisdiction, which it expects from an "authenticated internal caller". No such caller exists: the hosted worker has no session or OIDC validation, and the binding ceremony in pkgs/id/src/hosted_binding.rs has no HTTP service calling it. Today anyone who can reach the worker can name any binding.

The SSO relying-party work (#9086, H3 #14261, H6 #14264) is PM-side; nothing owns the ID-side edge.

Done when

  • A request to the ID front door is admitted only after the caller is authenticated (an H-issued session or token, or an ID-key proof) and the binding and jurisdiction are resolved server-side from that identity, never from client headers.
  • Client-supplied X-Binding-Id / X-Jurisdiction are stripped or refused at the public edge.
  • Tests: forged headers are refused; a valid session reaches only its own binding.

Generated by Claude Code

Acceptance criteria

  • Callers are authenticated at the ID front door; the previously trusted X-Bind* header path no longer grants access on its own.
  • Unauthenticated or mis-bound requests are refused with an explicit error.
  • Covered by tests for both the accepted (valid credentials) and refused (missing/forged binding) paths.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 26, 2026
  2. dezren39
    added a parent issue on Nov 26, 2026
    • design(id): ID service, Workers edition — close the gaps on the #5524/#5681 serverless line to a workable hosted equivalent #9080
  3. developing-today-fleet
    added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 26, 2026
  4. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Intake review

    • Liveness: Merged PRs referencing this issue found in a title/body search: docs(id): Workers edition gap analysis for the hosted ID service (#9080) #15487 — none explicitly resolves it, so the issue stays open.
    • Notes: Security-relevant slice of the hosted-ID breakdown under design(id): ID service, Workers edition — close the gaps on the #5524/#5681 serverless line to a workable hosted equivalent #9080: it removes a trust-the-header path, hence priority/high. Depends on the registry slice (id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) #15480).
    • Risks: Scope creep across sibling slices is the main risk; this issue's acceptance criteria (appended to the body) are the boundary.
    • Suggested approach: Work this slice against its acceptance criteria; cross-reference sibling slices rather than re-deciding shared contracts inside this issue.

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-26 02:14 CST
    • Found via: monitor reconciliation (intake enrichment, Duty 2)
    • Task: Intake enrichment — acceptance criteria appended, labels normalized, meta/enriched applied.
    • Expectation: Ready for triage/queue routing as labelled.
    • Links: n/a
  5. dezren39
    added 2 commits that reference this issue on Nov 26, 2026

    feat(id/hosted): authenticate callers at the ID front door (#15479)

    f8ae8a6

    id(hosted-worker): refuse client binding context at public edge (#15479)

    1816509
  6. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress (lane oc-code-04):

    Landed first reviewable slice as PR #15567: front door refuses client-supplied x-binding-id / x-jurisdiction at public edge with 401 client_binding_refused; binding/jurisdiction resolve server-side only.

    • worker.ts extracts assertDirectoryBinding (id: add immutable jurisdiction and migration metadata to hosted directory #3399) for direct unit coverage while unreachable from public edge.
    • front-door.test.ts + cse-blobs.test.ts updated to refusal; DO-direct tests keep CSE threading + usage oracles.
    • Evidence: hosted-worker suite 290/290 pass, typecheck clean, smoke syntax ok (full smoke needs wrangler).
    • Fail-closed only, no deployment.

    Next slice after #15480 (authenticated internal caller registry): accept valid session reaching only its own binding.

  7. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Triage verdict (lane code-i)

    Verdict: Needs real implementation work — not a small fix.

    This is an effort/m, priority/high feature (kind/feature) to authenticate callers at the ID front door instead of trusting X-Binding-Id/X-Jurisdiction headers.

    Assessment:

    • Well-formed: acceptance criteria and intake notes are present (meta/enriched).
    • Progress so far: PR id(hosted-worker): refuse client binding context at public edge (#15479) #15567 (lane oc-code-04) landed the first slice — front door refuses client-supplied x-binding-id / x-jurisdiction at public edge with 401 client_binding_refused; binding/jurisdiction resolve server-side only; hosted-worker suite 290/290 pass.
    • Remaining: next slice (after id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) #15480, authenticated internal caller registry) — accept a valid session reaching only its own binding.
    • Depends on: id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) #15480 (registry slice).
    • Risk: scope creep across sibling slices — stay within the stated acceptance criteria.

    Next: Continue through the design → plan → implement pipeline. The first slice is landed; remaining work is the authenticated-caller slice.


    Triage recorded by lane code-i (task 23854), 2026-11-26.

  8. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 26, 2026
  9. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  10. 9 remaining items

  11. developing-today-fleet
    added
    epic/id-programReprioritization program epic (2026-11-12)
    primary-parent/id-programPrimary parent epic id-program (design §3)
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    and removed
    epic/id-programReprioritization program epic (2026-11-12)
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/id-programPrimary parent epic id-program (design §3)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    on Nov 26, 2026
  12. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage refresh (lane oc-code-07, queue task 24165)

    Prior verdict (lane code-i) stands: needs real implementation, not a small fix. State changes since the last park:

    • PR id(hosted-worker): refuse client binding context at public edge (#15479) #15567 (refuse-everything first slice) was closed as superseded — never merged. The tenancy-registry work (feat(id): read hosted binding status from tenancy registry #15579, plus feat(id): require central tenancy registry for hosted routes #15628) merged instead and re-based the front door on the central registry. Salvageable: exported assertDirectoryBinding extraction + refusal tests as fail-closed spec (commit 1816509).
    • Dependency id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) #15480 remains open/parked (blocked on impl(id): keyless-custody login — OIDC account-pointer binding and OPAQUE password login over a client-held ID key #13710 for authenticated server routes / CLI integration); its reader slices landed, writer slice pending.
    • Remaining id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080) #15479 work is unchanged in kind: authenticate the caller at the registry-authoritative front door (valid session reaches only its own binding; forged/missing binding refused with explicit error), per the acceptance criteria in the body.

    Disposition: re-parking queue task 24165 on #15480 (registry dependency). The old resume condition on PR #15567 is retired — that PR will never merge.

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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-programPrimary parent epic id-program (design §3)primary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.