{"uid":"cap_eEYz8gZI85PZZxj2vgc9V","slug":"signcheck-pre-sign-safety-check-0cc59446","name":"SignCheck Pre-Sign Safety Check","description":"Pre-sign safety check for AI agent wallets. Decodes a transaction, an EIP-712 signature request (EIP-2612 Permit, Permit2 allowance and transfer, EIP-3009 TransferWithAuthorization as used by x402, Seaport orders), an EIP-7702 delegation, or an x402 payment (402 terms + the payload about to be sent) into plain English, and returns SAFE / CAUTION / DANGER with risk flags: unlimited or EOA approvals, setApprovalForAll, fake USDC / Permit2 domains, x402 overpay / wrong payTo / wrong asset, ownership and proxy changes, OFAC SDN counterparties. The paid tier adds on-chain facts (EOA vs contract, token metadata) and an eth_call simulation on Base, Ethereum or Base Sepolia. Read-only, informational.","url":"https://signcheck.agentgate.workers.dev/v1/check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"tx.to"},"data":{"type":"string","description":"tx.data (0x hex)"},"from":{"type":"string","description":"tx.from (enables simulation)"},"chain":{"type":"string","description":"base (default), ethereum, base-sepolia or a chain id"},"value":{"type":"string","description":"tx.value in wei"}},"description":"Search intents: transaction simulation api, signature safety check, permit phishing detection, eip712 decoder, wallet drainer check, pre sign check"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"kind":{"type":"string"},"tier":{"type":"string"},"chain":{"type":"object"},"flags":{"type":"array"},"action":{"type":"string"},"engine":{"type":"string"},"onchain":{"type":"object"},"summary":{"type":"string"},"verdict":{"type":"string"},"sanctions":{"type":"object"},"risk_score":{"type":"number"},"counterparties":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"kind":"transaction","tier":"full","chain":{"id":8453,"name":"Base"},"flags":[{"code":"SPENDER_IS_EOA","message":"The token allowance goes to 0x3c1A…8d6F, a plain wallet (no contract code). Legitimate apps approve contracts; approvals to wallets are how drainer kits steal funds.","severity":"critical"},{"code":"UNLIMITED_APPROVAL","message":"Grants an UNLIMITED allowance to 0x3c1A…8d6F.","severity":"medium"}],"action":"erc20_approve","engine":"signcheck-0.1","onchain":{"block":52942270,"chain":"Base","tokens":[{"name":"USD Coin","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6}],"available":true,"simulation":{"success":true}},"summary":"Approve 0x3c1A…8d6F to spend UNLIMITED USDC from your wallet","verdict":"DANGER","sanctions":{"list":"US Treasury OFAC Specially Designated Nationals (SDN) list","matches":0,"list_date":"2026-10-21","evm_addresses":124},"risk_score":75,"counterparties":[{"type":"eoa","label":null,"roles":["spender"],"address":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VZQmJ5MDjoOVVSm1mtBqo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes Ethereum transactions, EIP-712 signatures, EIP-7702 delegations, and x402 payments into plain English with SAFE/CAUTION/DANGER verdicts and risk flags including OFAC SDN screening.","exampleAgentPrompt":"Before I sign this transaction, check if it's safe — the contract is 0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F on Base and the calldata is 0x095ea7b3000000000000000000000000... can you decode what it does and tell me if there are any red flags like unlimited approvals or OFAC-sanctioned addresses?","exampleUseCases":[{"title":"Detect wallet drainer approval","prompt":"I just got a signature request asking me to approve a token spend — the spender is 0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F and the calldata starts with 0x095ea7b3. Can you run a pre-sign safety check on Base and tell me if this looks like a drainer or a legitimate app?"},{"title":"Screen x402 payment before sending","prompt":"I'm about to send an x402 payment — the payTo address is 0xAbCd...1234 and the asset is USDC on Base. Before I authorize it, can you check whether the amount is correct, the recipient isn't sanctioned, and the domain looks legitimate?"},{"title":"Validate Seaport NFT order","prompt":"Someone sent me a Seaport order to sign for an NFT trade. The tx.to is the Seaport contract and here's the calldata: 0x... Can you decode the order on Ethereum, check if the counterparty is on any OFAC list, and tell me if there's anything suspicious before I sign?"}],"resultDescription":"A JSON object containing: verdict (SAFE, CAUTION, or DANGER), numeric risk_score (0-100), plain-English action summary, array of risk flags each with code, message, and severity (critical/medium/low), decoded action type (e.g. erc20_approve, setApprovalForAll), counterparties with roles and EOA/contract classification, OFAC SDN screening results, and (paid tier) on-chain facts including token metadata, block number, and eth_call simulation success/failure.","failureModes":["Missing required 'to' query parameter returns 400 error","Unrecognized or unparseable calldata may return generic transaction kind with limited flags","Unsupported chain ID returns error or falls back to Base","On-chain simulation unavailable on free tier or when 'from' address is omitted","Network timeout or RPC failure may prevent simulation result","Malformed hex data returns decode error"],"whenToPreferThis":"Choose SignCheck when an AI agent or wallet needs a pre-signature safety gate before authorizing any Ethereum transaction, EIP-712 permit, Permit2 request, EIP-7702 delegation, or x402 payment. It uniquely combines human-readable decoding, structured risk flags, OFAC SDN screening, and optional eth_call simulation in a single read-only call — making it ideal for autonomous agent wallets that must avoid drainers, phishing signatures, and sanctioned counterparties without requiring the agent to parse raw ABI data itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:37:27.482Z","isFirstParty":false,"canonicalSlug":"signcheck-pre-sign-safety-check-0cc59446"}