Repository navigation
Conversation
The API now verifies the WebAuthn assertion itself (challenge bound to the login code, origin, digest recomputed server-side, signature against the stored public key). It needs the raw authenticatorData and clientDataJSON, which the client already computed but never sent. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…lient GET /transaction/:id/advanced-details now requires auth and vault membership, so a plain <a href> to the API no longer works. Fetch the JSON with the api client and open it in a new tab via a blob URL. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Member
Author
Merge checklist
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Companion to infinitybase/bako-safe-api branch
guimroque/hake(sign-in hardening after the Nov 2026 account-takeover incident).authenticatorDataandclientDataJSONonPOST /auth/sign-in. The client already computed both and never sent them.GET /transaction/:id/advanced-detailsnow requires auth and vault membership, so the plain<a href>to the API no longer works. Fetch the JSON through the authenticatedapiclient and open it in a new tab via a blob URL.Changes
core/utils/webauthn/webauthn.ts:signChallangealso returnsclientData(hex of the raw clientDataJSON)auth/services/methods.ts:signMessageWebAuthnsendsauthenticatorData+clientDataJSONtransactions/services/methods.ts:TransactionService.openAdvancedDetails(id)TransactionCard/Details.tsx,DetailsDialog.tsx: button calls the service instead of linking to the APIDeploy order
API and UI must ship together. Until both are live, WebAuthn login fails (old API rejects the new fields as unknown; new API requires them). Merge the API first, wait for the ECS deploy, then merge this.
Verification
tsc --noEmit: no new errors (142 pre-existing in the repo, none in the touched files)eslintclean on the touched filessignMessageWebAuthn🤖 Generated with Claude Code