Skip to content

Track auth/admin integration review fixes and browser validation #66

Closed

Description

@jimhoyd

Auth/admin integration review found three defects in the in-progress implementations:

  • Browser form POSTs failed the strict Origin check because Referrer-Policy: no-referrer causes browsers to omit a usable Origin. Reproduced in the local browser; strict-origin restores forms while preventing path/query token referrers. Null/foreign origins remain rejected.
  • User pagination used an unkeyed private-sort-value digest, allowing offline candidate guesses. Replaced with a process-local HMAC; cursors intentionally expire across worker restart.
  • Removing a primary passkey/OIDC method could leave only one enrolled MFA passkey, which cannot satisfy both factors. Self-service and staged admin removal now preserve an independent usable combination.

These fixes are being verified in urlcode-auth PR #1 and urlcode-admin PR #1. Added focused regressions; browser sign-in, dashboard, filtered directory and account detail were exercised with disposable synthetic accounts. This is not a WCAG conformance or independent security assessment.

Activity

  1. jimhoyd commented on Sep 17, 2026

    @jimhoyd
    CollaboratorAuthor

    Implementation checkpoint is pushed to the separate repositories:

    New coverage includes manual recovery with independent reviewers and delivery activation, staged administrative account/bulk workflows, passkey MFA/trusted devices, localized email copy, durable abuse budgets/backoff and optional Turnstile, complete filtered exports, audited reveal/notes, account detail sections, session filters, recorded method timestamps, dashboard SVG/activity summaries, health adapter and the support-banner host wrapper.

    Fresh source tarballs for all three commits built successfully with a revision/integrity manifest. A clean consumer installed only those tarballs, then passed compiled-worker/scaffold/bootstrap/protected-route/admin smoke tests. The packaged offline auth baseline passed 17/17 checks. Nothing was published. Local artifact manifest: /private/tmp/urlcode-reviewed-packages-v5/source-manifest.json.

    Local browser walkthrough exercised identifier-first sign-in, account, dashboard, filtered directory and masked account detail. It found the form Origin/referrer defect; the correction and two further security/availability regressions are tracked in #66.

    Remaining deployment acceptance: narrow private-auth CI read credential (#64), broader accessibility/device/browser and independent security/recovery/soak validation, real health/sender wiring, and routing every application response through withSupportBanner before enabling impersonation. Live Google/Apple/SES checks remain explicitly deferred and nonblocking. These are draft implementation PRs, not a production-readiness claim or merge request.

  2. jimhoyd commented on Sep 17, 2026

    @jimhoyd
    CollaboratorAuthor

    All three reported defects are fixed in auth 02b03ce and admin 8ef1fd0. Regression tests, local browser checks, clean packaged-install smoke and Node22/24/26 auth CI passed. Broader acceptance remains tracked in #58.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions