{"uid":"cap_TouA0EBG97FSM0-MUM374","slug":"webauthn-assertion-challenge-origin-signature-counter-binding-verifier-76140022","name":"WebAuthn Assertion Challenge/Origin/Signature/Counter Binding Verifier","description":"WebAuthn assertion challenge/origin/signature/counter binding. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","url":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-08/webauthn3-registered-key-assertion-challenge-origin-signature-counter-binding?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["webauthnAssertion"],"properties":{"webauthnAssertion":{"type":"object","required":["data","claim"],"properties":{"data":{"type":"object","required":["authenticator_data_hex","client_data_json_base64","expected_challenge_hex","rp_id","public_key_spki_base64","signature_hex","algorithm","allowed_origins","require_user_verification","stored_counter"],"properties":{"rp_id":{"type":"string","maxLength":253,"minLength":1},"algorithm":{"enum":["ES256","RS256","EdDSA"]},"signature_hex":{"type":"string","pattern":"^(?:[0-9a-fA-F]{2})+$","maxLength":1024,"minLength":2},"stored_counter":{"type":"integer","maximum":4294967295,"minimum":0},"allowed_origins":{"type":"array","items":{"type":"string","maxLength":256,"minLength":1},"maxItems":16,"minItems":1},"authenticator_data_hex":{"type":"string","pattern":"^[0-9a-fA-F]{74}$","maxLength":74,"minLength":74},"expected_challenge_hex":{"type":"string","pattern":"^(?:[0-9a-fA-F]{2})*$","maxLength":8192,"minLength":0},"public_key_spki_base64":{"type":"string","maxLength":2048,"minLength":4},"client_data_json_base64":{"type":"string","maxLength":4096,"minLength":4},"require_user_verification":{"type":"boolean"}},"additionalProperties":false},"claim":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^[0-9a-f]{64}$","maxLength":64,"minLength":64}]}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JTkpdd1hqLgkPk5a39RCf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a WebAuthn assertion by reconstructing the fully typed result and comparing its canonical SHA256 claim against authenticator data, client data, signature, and counter binding.","exampleAgentPrompt":"Verify this WebAuthn assertion for me: the RP ID is 'example.com', the algorithm is ES256, the allowed origin is 'https://example.com', the stored counter is 5, user verification is required, and I have the authenticator data hex, client data JSON, public key SPKI, signature hex, and expected challenge hex — please check the full binding and compare the SHA256 claim.","exampleUseCases":[{"title":"Passkey login assertion validation","prompt":"I just received a WebAuthn assertion from a user trying to log in with their passkey. The RP ID is 'myapp.io', algorithm is ES256, allowed origin is 'https://myapp.io', stored counter is 12, user verification is required. Can you verify the authenticator data, signature, and client data JSON to confirm it's a valid, non-replayed assertion?"},{"title":"FIDO2 counter replay attack detection","prompt":"I need to check a FIDO2 assertion to make sure it's not a replay attack — the stored counter is 42, the RP ID is 'secure.bank.com', algorithm is RS256, and I have all the hex-encoded authenticator data, signature, expected challenge, and the base64 public key SPKI. Please validate the counter binding and full SHA256 claim."},{"title":"Cross-origin WebAuthn origin validation","prompt":"Can you validate this WebAuthn assertion for my multi-origin app? The allowed origins are 'https://app.example.com' and 'https://admin.example.com', RP ID is 'example.com', algorithm is EdDSA, user verification is not required, and I have the client data JSON, authenticator data, signature, and public key — please confirm the origin binding and SHA256 claim match."}],"resultDescription":"Returns whether the WebAuthn assertion is valid by verifying that the reconstructed fully typed result's canonical SHA256 matches the supplied claim, confirming correct challenge binding, origin, signature cryptographic validity, and counter progression.","failureModes":["Invalid or mismatched SHA256 claim — assertion data does not hash to the claimed value","Signature verification failure — public key does not verify the signature for the given algorithm","Counter not greater than stored counter — possible replay attack detected","Origin not in allowed origins list — assertion rejected","User verification flag not satisfied by authenticator data flags","Malformed hex or base64 inputs causing parsing errors","RP ID hash mismatch in authenticator data","Unsupported algorithm specified"],"whenToPreferThis":"Use this endpoint when you need a fully typed, spec-compliant WebAuthn assertion verification that reconstructs the complete binding and compares a SHA256 canonical claim — ideal for server-side FIDO2/passkey authentication flows where you need to validate challenge, origin, counter, and cryptographic signature in one call without running your own WebAuthn library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-05T18:38:32.949Z","isFirstParty":false,"canonicalSlug":"webauthn-assertion-challenge-origin-signature-counter-binding-verifier-76140022"}