{"uid":"cap_plof6k2NJfA6EhxP76xaf","slug":"brainiac-crypto-intent-safety-analyzer-16492b5a","name":"BRAINIAC Crypto Intent Safety Analyzer","description":"Read a caller-supplied EVM transaction or an EIP-712 typed-data message and describe the transfer, approval, permit, or outer call it encodes. Known selectors are transfer, transferFrom, approve, increaseAllowance, setApprovalForAll, permit, multicall, aggregate, and execute. The score is a local penalty count. It does not simulate the call or read a chain.","url":"https://www.brainiac.software/api/v1/crypto-security/intent-safety?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"typed_data":{"type":"object","required":["primaryType","message"],"properties":{"types":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"type":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":40}},"domain":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"message":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"primaryType":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"transaction":{"type":"object","required":["data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^(0x)?[0-9a-fA-F]*$","maxLength":100000},"value":{"type":"string","pattern":"^(0x[0-9a-fA-F]+|\\d+)$"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"status":"partial","result_id":"a1b2c3d4e5f60718293a4b5c6d7e8f90","received_at":"2026-11-12T12:00:00.000Z","missing_items":[{"check":"chain_state_not_read","detail":"No chain state was read. This response is local static analysis only.","reason":"not_supported"}],"intent_safety_score":55,"human_readable_intent":"Approve 0x2222222222222222222222222222222222222222 to spend the maximum uint256 of the token at 0x833589fcd6edb6e08f4c7…","unintended_transfers_risk":55}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nBS8mEg5SuTOkiEpVBjhO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes EVM transaction calldata or EIP-712 typed data to score intent safety and detect unintended token transfer risks","exampleAgentPrompt":"Before I sign this transaction, can you analyze its calldata — 0x095ea7b30000000000000000000000002222222222222222222222222222222222222222ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — and tell me the intent safety score, what it actually does in plain English, and whether there's any risk of unintended token transfers?","exampleUseCases":[{"title":"Token approval risk check before signing","prompt":"I'm about to approve a DeFi protocol to spend my USDC. The transaction data is 0x095ea7b3000000000000000000000000SomeAddress000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — can you tell me the intent safety score, what it's actually doing, and if there's any risk of losing funds I didn't intend to?"},{"title":"EIP-712 typed data intent verification","prompt":"My wallet is asking me to sign this EIP-712 typed data with primaryType 'Permit' and a message granting allowance — can you decode it into plain English and score how safe it is to sign, flagging any unintended transfer risks?"},{"title":"Agent pre-flight transaction safety check","prompt":"Before my DeFi agent submits this raw transaction with calldata 0xa9059cbb to 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, run a safety check on the intent and tell me the safety score and whether any unintended transfers could happen."}],"resultDescription":"Returns an intent_safety_score (0-100, higher is safer), a human_readable_intent string explaining in plain English what the transaction or typed data will do onchain, and an unintended_transfers_risk score (0-100, higher means more risk of unintended token movements).","failureModes":["Invalid or malformed calldata hex returns a parsing error","Transaction data field missing or empty causes validation failure","EIP-712 typed data missing required primaryType or message fields returns schema error","Ambiguous or unknown contract ABI may produce a low-confidence or generic intent description","Payment of 0.04 USDC via x402 on Base must succeed before the endpoint responds"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to validate the safety of an EVM transaction or EIP-712 signing request before execution — especially for token approvals, permit signatures, or any raw calldata that could result in token loss. Preferred over generic contract decoders when you need both a human-readable explanation AND a quantified risk score for unintended transfers in a single pay-per-call, no-account-required API call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:49:04.048Z","isFirstParty":false,"canonicalSlug":"brainiac-crypto-intent-safety-analyzer-16492b5a"}