{"uid":"cap_LKPKiL0yldbddwBBLzPAZ","slug":"x402-agent-wallet-tools-eip-712-signature-risk-decoder-ba7032cc","name":"x402 Agent Wallet Tools – EIP-712 Signature Risk Decoder","description":"A buyer-side control console for signature risk, EIP-712 review, transaction decoding, ERC20 allowance risk, Permit/Permit2 approvals, transaction simulation summaries, spend guard policy, receipt gate enforcement, and private-key boundaries.","url":"https://x402-wallet.558686.xyz/v1/tools/eip712-signature-risk-decoder","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"tool":"eip712-signature-risk-decoder","input":{"domain":{"name":"Permit2","chainId":8453},"message":{"spender":"0x4444444444444444444444444444444444444444"},"primaryType":"Permit"},"route":"/v1/tools/eip712-signature-risk-decoder","result":{"domain":{},"findings":[],"riskLevel":"riskLevel_example","signatureFamily":"signatureFamily_example"},"project":"x402-agent-wallet-tools","deterministic":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O4dqg5Rku7J4Sq_pqFQkd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an EIP-712 structured message (domain, primary type, spender) and returns a risk assessment including risk level, signature family classification, and domain/message findings for Permit, Permit2, and similar approval signatures.","exampleAgentPrompt":"Before I sign this Permit2 approval on Base (chainId 8453) where the spender is 0x4444444444444444444444444444444444444444, can you decode the EIP-712 signature and tell me its risk level and signature family?","exampleUseCases":[{"title":"Screening suspicious Permit2 approval","prompt":"I just got a MetaMask pop-up asking me to sign a Permit2 message on Base (chainId 8453) with spender 0xDeadBeef00000000000000000000000000000001 — can you decode the EIP-712 domain and message and tell me if this looks risky before I sign?"},{"title":"Auditing DeFi dApp signature requests","prompt":"My DeFi agent is about to auto-sign an EIP-712 Permit message where the domain name is 'Uniswap V2' on chainId 1 and the spender is 0xAb5801a7D398351b8bE11C439e05C5b3259aec9B — check the risk level and signature family for me."},{"title":"Validating token approval before transaction","prompt":"Before my trading bot signs this ERC20 Permit approval, I need you to run the EIP-712 message through the signature risk decoder — the domain is 'DAI Stablecoin' on chainId 137, spender is 0x1111111111111111111111111111111111111111, and the primary type is Permit."}],"resultDescription":"Returns a JSON object with ok status, the echoed input, a result object containing the parsed domain, an array of findings (flagged issues in the domain or message), a riskLevel string (e.g. low/medium/high), and a signatureFamily string identifying the approval standard (e.g. Permit, Permit2). The analysis is deterministic.","failureModes":["Missing required domain.name or domain.chainId returns a validation error","Missing required message.spender field returns a 400-level error","Unrecognized primaryType may result in an unknown signatureFamily classification","Malformed EIP-712 domain object may produce empty findings without error","Network or payment failure returns a 402 or 5xx with no result"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to programmatically assess the risk of an EIP-712 structured signature (especially Permit, Permit2, or similar token-approval types) before signing. It is deterministic and cheap ($0.01 USDC), making it suitable for pre-signing screening in automated pipelines. Prefer this over generic contract decoders when specifically dealing with typed structured data signatures and needing a classified risk level and signature family label.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:23.872Z","isFirstParty":false}