{"uid":"cap_6sWi7WZl5MhXj3j_IltE_","slug":"defi-shield-hazel-vercel-app-c2f862b0","name":"DeFi Shield Contract Risk Analyzer","description":"","url":"https://defi-shield-hazel.vercel.app/api/defi/contract-risk","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain to analyze (default: base)"},"address":{"type":"string","description":"Smart contract address (0x + 40 hex chars)"}}},"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":{"input":{"body":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"type":"http","method":"POST","bodyType":"json"}},"response":{"chain":"base","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","deployer":null,"findings":["Contract is a proxy — implementation can be changed","Contract is upgradeable — logic can be changed"],"is_proxy":true,"risk_score":25,"abi_summary":{"hasPause":false,"hasUpgrade":true,"hasBlacklist":false,"hasHiddenMint":false,"hasSelfDestruct":false,"totalAdminCount":1,"hasFeeManipulation":false},"analyzed_at":"2026-06-13T04:22:07.596Z","goplus_data":{"buy_tax":"0","holders":[{"tag":"","address":"0x8da91a6298ea5d1a8bc985e99798fd0a0f05701a","balance":"160000000.151753","percent":"0.037839711326964802","is_locked":0,"is_contract":0},{"tag":"","address":"0xb026ba5501c9fcdb5b4b746c37e349cd61b81b22","balance":"158707811.660177","percent":"0.037534111080371763","is_locked":0,"is_contract":0},{"tag":"","address":"0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb","balance":"134547022.964006","percent":"0.031820128150198070","is_locked":0,"is_contract":1},{"tag":"","address":"0xee7ae85f2fe2239e27d9c1e23fffe168d63b4055","balance":"120433332.962081","percent":"0.028482265931919441","is_locked":0,"is_contract":1},{"tag":"","address":"0x0ccc149f4c01a2eada3e9f915ca7628920901623","balance":"86991146.922079","percent":"0.020573249277568748","is_locked":0,"is_contract":0},{"tag":"","address":"0xfa9b1c421ea3fb9974ef155729304f8d3a8c0294","balance":"80000000.072","percent":"0.018919855662565615","is_locked":0,"is_contract":0},{"tag":"","address":"0xf76f5123c6b1c49c21adc8903cc571bd875eea4b","balance":"80000000.072","percent":"0.018919855662565615","is_locked":0,"is_contract":0},{"tag":"","address":"0xf747d90a25310d437bcc11fe69c01cdd14794afc","balance":"80000000.072","percent":"0.018919855662565615","is_locked":0,"is_contract":0},{"tag":"","address":"0xead133f856c70234e530723faf546d88a1baeef2","balance":"80000000.072","percent":"0.018919855662565615","is_locked":0,"is_contract":0},{"tag":"","address":"0xe7a12de9afbcb35ec2b7223795702f2b44a80ed9","balance":"80000000.072","percent":"0.018919855662565615","is_locked":0,"is_contract":0}],"is_proxy":"1","sell_tax":"0","is_in_cex":{"listed":"1","cex_list":["Binance"]},"cannot_buy":"0","token_name":"USD Coin","trust_list":"1","is_honeypot":"0","holder_count":"9169016","token_symbol":"USDC","total_supply":"4228362070.979544","transfer_tax":"","owner_address":"0x4fc7850364958d97b4d3f5a08f79db2493f8ca44","is_open_source":"1","creator_address":"0x6aAFF8af0ae8017725312C388bA3745dfE91185B","creator_balance":"0.199885","creator_percent":"0.000000","honeypot_with_same_creator":"0"},"savingsMath":{"message":"This analysis costs your agent ~$0.32 to do itself (3 LLM calls + orchestration). You paid $0.05. Saved $0.27 this call. At 20 checks/day: $5.40/day, $162/month in savings.","savedPerDay":"$5.40 (at 20 checks/day)","savedPerCheck":"$0.27","savedPerMonth":"$162","defiShieldCost":"$0.05","selfServiceCost":{"breakdown":"3 LLM calls (~24000 input tokens) + API orchestration + amortized dev time","devTimeCost":"$0.10","apiCallsCost":"$0.050","llmInferenceCost":"$0.162","totalSelfService":"$0.32"},"savingsMultiplier":"6.4x cheaper"},"contract_name":"FiatTokenProxy","recommendation":"MEDIUM_RISK — proceed with caution","admin_functions":["upgradeTo","upgradeToAndCall"],"source_verified":true,"response_time_ms":260}},"exampleRequest":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SENQSWfxmHd069bNlmTTS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a smart contract's risk profile including risk scoring, admin privilege detection, and deployer history analysis","exampleAgentPrompt":"Can you run a full risk analysis on the smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want to see the risk score, any admin or owner privilege flags, and a breakdown of the deployer's history before I interact with it.","exampleUseCases":null,"resultDescription":"Returns a structured risk score for the contract, flags indicating admin or privileged roles detected in the contract, analysis of the deployer wallet's history and reputation, and a list of identified risk factors or vulnerabilities.","failureModes":["Invalid or unrecognized contract address returns error","Contract not deployed on specified chain returns not-found error","Unverified contract bytecode limits analysis depth","Network timeout when fetching on-chain data","Unsupported chain identifier returns validation error"],"whenToPreferThis":"Use this endpoint when you need a comprehensive smart contract risk assessment combining risk scoring, admin/owner privilege detection, and deployer analysis in a single call — particularly before a DeFi interaction, investment, or integration. Prefer this over generic blockchain explorers when you need structured risk scoring and centralization detection rather than raw contract data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:00.847Z","isFirstParty":false}