{"uid":"cap_DFIOtkpKCKZxyPkhhW_kj","slug":"base-contract-risk-heuristics-f4480f1e","name":"Base Contract Risk Heuristics","description":"Heuristic risk flags for a Base contract from free public data: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size. Not an audit or financial advice.","url":"https://automaton-tx-explainer.vercel.app/v1/base/contract-risk?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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base contract address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_28roJLi52aLCKF-TbllTr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns heuristic risk flags for a Base network smart contract using free public data, including Sourcify verification status, proxy/admin detection, owner type, dangerous function selectors, and bytecode size.","exampleAgentPrompt":"Can you check the risk flags on this Base contract — 0x4200000000000000000000000000000000000006 — and tell me if it's verified, whether it's an upgradeable proxy, and if it has any mint, pause, or blacklist functions?","exampleUseCases":[{"title":"DeFi token contract safety check","prompt":"Before I interact with this Base token contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, can you run a risk check on it? I want to know if it's Sourcify-verified, has any blacklist or fee selectors, and whether there's an upgradeable proxy setup."},{"title":"Detecting admin control risks","prompt":"I'm evaluating a Base contract at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you tell me what type of owner controls it, whether it has pause or mint functions, and if there's an admin address I should worry about?"},{"title":"Pre-investment contract due diligence","prompt":"I'm about to put money into a Base DeFi protocol using the contract 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 — can you pull the heuristic risk flags on it so I can see if there are any red flags like upgradeability, blacklisting, or unverified bytecode?"}],"resultDescription":"A set of heuristic risk flags for the given Base contract address, including: whether the contract is verified on Sourcify, whether it is an upgradeable proxy and who the admin is, the type of contract owner (EOA, multisig, etc.), presence of risky function selectors (mint, pause, blacklist, fee), and the bytecode size. Not a formal audit or financial advice.","failureModes":["Invalid or non-contract address returns an error or empty flags","Contract not deployed on Base returns not-found response","Sourcify data unavailable leads to unverified status by default","Rate limiting or upstream public data source outage may cause partial results","Malformed address (not matching 0x hex pattern) rejected with validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, free-data-based heuristic risk profile for a Base network contract — especially when checking for common DeFi red flags like upgradeability, dangerous selectors, and unverified source code. Prefer this over manual block explorer checks when automating contract screening at scale. Not a substitute for a formal audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:36:10.393Z","isFirstParty":false,"canonicalSlug":"base-contract-risk-heuristics-f4480f1e"}