{"uid":"cap_MJefRkce4HA2MKQRiEdpC","slug":"stealthmark-permit2-signature-scope-verifier-29727128","name":"StealthMark Permit2 Signature Scope Verifier","description":"Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).","url":"https://gateway.stealthmark.io/x402/verify-permit2-signature-scope?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":["integer","string"]},"spender":{"type":"string"},"chain_id":{"type":"integer","default":8453},"expiration":{"type":"integer"},"sig_deadline":{"type":"integer"},"trusted_spenders":{"type":"array","items":{"type":"string"}},"current_timestamp":{"type":"integer"},"max_requested_amount":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"risks":{"type":"array","items":{"type":"string"}},"message":{"type":"string"},"spender":{"type":"string"},"chain_id":{"type":"integer"},"verified":{"type":"boolean"},"check_type":{"type":"string"},"unlimited_approval":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PoQO6Gm7BltdT4Jg_mGK5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Permit2 signature's scope on Base mainnet, checking spender address, approval amount, deadlines, and risk flags against a trusted spender list.","exampleAgentPrompt":"Before I sign this Permit2 approval, check if the spender 0xAbC...123 is safe on Base mainnet — the amount is 1000 USDC, expiration is 1735689600, sig deadline is 1735603200, and my trusted spenders list is [0xDef...456]. Flag any risks like unlimited approvals.","exampleUseCases":[{"title":"Pre-approval DeFi safety check","prompt":"I'm about to approve a Permit2 signature for spender 0x1234...abcd on Base mainnet with an amount of 500 USDC, expiration 1740000000, and sig deadline 1739900000. Can you verify the scope and tell me if there are any risks before I sign?"},{"title":"Unlimited approval detection","prompt":"I got a Permit2 request where the spender is 0xDEAD...BEEF and the amount is set to max uint256 — can you check if this looks like an unlimited approval and whether that spender is on my trusted list [0xSafe...0001, 0xSafe...0002]?"},{"title":"Expired permit deadline audit","prompt":"Can you validate a Permit2 signature for spender 0xABCD...1234 on chain 8453 with sig deadline 1700000000 and current timestamp 1720000000 — I want to know if the deadline has already passed and what risks are flagged."}],"resultDescription":"Returns a JSON object with: 'verified' (boolean indicating if the signature scope passes all checks), 'risks' (array of risk strings such as unlimited approval or expired deadline), 'unlimited_approval' (boolean), 'spender' (the spender address evaluated), 'chain_id', 'check_type' (the type of validation performed), and 'message' (a human-readable summary of the result).","failureModes":["Invalid or missing spender address returns an error or unverified result","Expired sig_deadline causes verification failure with deadline risk flagged","Spender not in trusted_spenders list raises a risk flag","Amount exceeding max_requested_amount triggers a risk warning","Malformed amount field (neither integer nor parseable string) causes input validation error","Unsupported chain_id may return an error or unexpected result"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi application needs to programmatically validate a Permit2 signature's scope before execution on Base mainnet — especially when checking for unlimited approvals, untrusted spenders, or expired deadlines. Prefer this over generic on-chain calls when you need a structured risk report with per-field validation and a trusted spender whitelist check in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:33:45.816Z","isFirstParty":false,"canonicalSlug":"stealthmark-permit2-signature-scope-verifier-29727128"}