{"name":"onyx_signature_guard","tier":"metered","price_usdc":"0.03","endpoint":"https://onyx-actions.onrender.com/v1/onyx_signature_guard","method":"POST","input_schema":{"type":"object","properties":{"typed_data":{"type":"object","description":"The full EIP-712 typed-data object the agent is about to sign: {domain, primaryType, types, message}."}},"required":["typed_data"]},"description":"Pre-signature firewall for OFF-CHAIN drains — the check before your agent signs an EIP-712 typed-data message (Permit, Permit2, Seaport order). These drain a wallet with no on-chain approval: the signature itself is the authorization. Give the typed-data; Onyx identifies what it authorizes, flags unlimited token-permit values, EOA/unverified spenders, NFT-order signatures, and bad deadlines, and returns a SIGNED ALLOW/REVIEW/BLOCK + plain-English explanation. Covers the #2 wallet-drain vector that on-chain tx checks miss entirely.","when_to_use":"Call this before your agent signs ANY EIP-712 typed-data message (Permit, Permit2, Seaport order, or any off-chain signature request) — these drain wallets with no on-chain transaction, so the tx gates never see them. Gate on the verdict: BLOCK = refuse to sign, REVIEW = human approval, ALLOW = sign.","vs_alternatives":"Human wallet add-ons (Blockaid, Wallet Guard) simulate signatures for people with a UI; there is no signed, machine-readable x402 tool an autonomous agent can gate on. This decodes the Permit/Permit2/Seaport intent, screens the spender on-chain, and returns one signed go/no-go — the off-chain-drain gate for agents that the on-chain tx checks structurally cannot cover.","example_request":{"typed_data":{"domain":{"name":"USD Coin","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"primaryType":"Permit","message":{"owner":"0xYou","spender":"0x1111111111111111111111111111111111111111","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935","deadline":"9999999999"}}},"example_response":{"ok":true,"primary_type":"Permit","verdict":"BLOCK","risk_score":85,"authorizes":"token approval-by-signature (Permit) to spender 0x1111...","summary":"BLOCK (risk 85/100): signing this authorizes an UNLIMITED token permit to an EOA spender."},"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":true,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}