security_webauthn_decode
WebAuthn / passkey response decoder — Offline WebAuthn (passkey) decoder and checker. attestation= a registration attestationObject (base64url, base64 or hex) OR authenticator_data= for a login assertion; optional client_data= (clientDataJSON base64url), rp_id=, origin=, challenge=. Decodes CBOR/COSE: fmt and attStmt summary, rpIdHash, flags (UP, UV, BE, BS, AT, ED), signCount, AAGUID with authenticator name (iCloud Keychain, Google Password Manager, Windows Hello, 1Password, Bitwarden...), credential id, public key (kty, alg ES256/EdDSA/RS256..., curve, x/y). Checks rpIdHash vs rp_id, clientData type/origin/challenge, UP/UV, backup-flag consistency and trailing bytes; verdict OK or FAIL. Does not verify signatures or attestation chains. Malformed data returns 422. Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attestation": "<attestation>"
},
"name": "security_webauthn_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attestation | Yes | o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViUo3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUddAAAAAPv8MAcVTk7MjAtuAgVX170AEKChoqOkpaanqKmqq6ytrq-lAQIDJiABIVggAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAiWCBAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiIQ |