{"uid":"cap_o2jXTuKt1gVRTWzM8eWJ5","slug":"token-contract-risk-scanner-98166b57","name":"Token Contract Risk Scanner","description":"Token/contract risk scan inspired by the top x402 earner: contract bytecode, ERC-20 metadata, high-risk function selectors, proxy/admin hints, and a pay/avoid/manual-review score for agent spend. Price 0.25 USDC on Base via x402. Free preview: https://x402-market-intel-mcp.mtree.workers.dev/preview/token_contract_risk_scan?source=x402_manifest. Demo: https://x402-market-intel-mcp.mtree.workers.dev/demo/token_contract_risk_scan. Contact: https://x402-market-intel-mcp.mtree.workers.dev/contact.","url":"https://x402-market-intel-mcp.mtree.workers.dev/v1/x402/token_contract_risk_scan","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["address"],"properties":{"chain":{"type":"string"},"address":{"type":"string"},"rpc_url":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"chain":"base","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"response":{"ok":true,"chain":"base","flags":["no_contract_code"],"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","verdict":"avoid_no_code","freshness":{"source":"live JSON-RPC code/storage/metadata probe","observed_at":"2026-06-18T05:24:58.000Z"},"risk_score":15,"next_action":"Avoid autonomous interaction until a deeper audit or trusted listing is available.","generated_at":"2026-06-18T05:24:58.000Z","product_shape":"one_contract_in_one_risk_score_out","buyer_decision":{"reason":"no_contract_code","decision":"avoid_or_deep_audit","spend_cap_usdc":0},"selector_hints":[],"token_metadata":{"name":null,"symbol":null,"decimals":null,"known_token":null,"total_supply":null},"evidence_summary":{"rpc_url":"https://mainnet.base.org","known_reference":null,"live_code_bytes":0,"metadata_complete":false,"proxy_or_admin_flag":false},"execution_policy":{"stop_conditions":["bytecode changes","symbol/decimals mismatch","upgrade/admin flag appears","mint/ownership selectors require unknown trust","tx_preflight verdict is not sign_with_cap"],"max_autonomous_spend_usdc":0,"require_known_token_metadata_match":false,"require_tx_preflight_for_every_call":true},"recommended_action":"Pair this result with tx_preflight_for_agents; never approve or trade solely from metadata.","admin_proxy_evidence":{"admin_slot_tail":"0x","eip1967_admin_slot_set":false,"implementation_slot_tail":"0x","eip1967_implementation_slot_set":false}}},"exampleRequest":{"chain":"base","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vEl8fSPPY93S2ACEkmidG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans an EVM token/contract address for bytecode-level risks, high-risk function selectors, proxy/admin patterns, and ERC-20 metadata, returning a pay/avoid/manual-review verdict for agent spending decisions","exampleAgentPrompt":"Before my agent spends any USDC on this token, scan the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base and tell me whether I should pay, avoid, or manually review it — I want to see the bytecode risk flags, any proxy or admin hints, and the overall verdict.","exampleUseCases":null,"resultDescription":"Returns a structured risk report including: ERC-20 metadata (name, symbol, decimals), contract bytecode analysis, detected high-risk function selectors (e.g. mint, pause, blacklist), proxy/admin pattern hints, and a final verdict of 'pay', 'avoid', or 'manual-review' to guide agent spend decisions.","failureModes":["Invalid or non-existent contract address returns error or empty result","Non-EVM or unsupported chain address causes lookup failure","Contract with no bytecode (EOA address) returns no analysis","Network timeout or RPC failure when fetching on-chain data","Payment failure via x402 (insufficient USDC balance or misconfigured payment header) blocks the call"],"whenToPreferThis":"Use this endpoint when an AI agent needs to evaluate whether a token contract is safe to interact with before committing funds — particularly in automated DeFi workflows, agentic payment pipelines, or any scenario where the agent must decide to pay/avoid without human review. Prefer over generic blockchain explorers when you need a structured, machine-readable verdict rather than raw explorer data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:52.408Z","isFirstParty":false}