{"uid":"cap_f2ZME0mGp7Nlx8hfOCrsA","slug":"402-com-tr-contract-danger-scanner-739f1e57","name":"402.com.tr Contract Danger Scanner","description":"Reads a verified contract's ABI and flags owner-callable abuse functions: mint (dilute), pause (freeze exit), blacklist (block your wallet), setFee/setTax (tax you after entry), withdraw/sweep (pull funds), upgrade (swap logic). An unverified contract is itself a red flag. Diligence a price feed can't give.","url":"https://402.com.tr/api/x402/contract-danger","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"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.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_GccArY5IEtX-0D742vX5-","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":"Reads a verified smart contract's ABI and flags owner-callable abuse functions that could harm token holders, such as mint, pause, blacklist, setFee, withdraw, or upgrade.","exampleAgentPrompt":"Can you scan the contract at 0x1234abcd...5678 on Base and tell me if the owner can mint new tokens, blacklist my wallet, pause trading, or pull funds out — basically flag any dangerous functions before I ape in?","exampleUseCases":[{"title":"Pre-investment rug pull check","prompt":"Before I buy into this new token on Ethereum at 0xabc123...def456, can you scan the contract and let me know if the dev can mint unlimited tokens, blacklist holders, or drain the liquidity? I don't want to get rugged."},{"title":"Audit upgradeable proxy contract","prompt":"I'm looking at a DeFi protocol on Base at 0x9988...7766 and I heard it uses a proxy pattern — can you check the contract ABI and tell me if the owner can swap out the logic contract or make other dangerous upgrades without warning?"},{"title":"Check for hidden fee manipulation","prompt":"I already bought into this token at 0xdeadbeef...cafe on BSC but now I'm worried — can you scan the contract and see if the owner has any functions to jack up the buy/sell tax or set fees after the fact? I want to know if I'm trapped."}],"resultDescription":"A breakdown of the contract's ABI identifying which owner-callable abuse functions are present (mint, pause, blacklist, setFee/setTax, withdraw/sweep, upgrade), plus a note if the contract is unverified (itself a red flag), giving the agent a clear risk picture before a user commits funds.","failureModes":["Contract address not found or not deployed on Base — returns error or empty result","Contract is unverified on Sourcify — ABI unavailable, endpoint flags this as a red flag itself","Invalid address format — returns validation error","Network timeout or upstream Sourcify/RPC failure — 5xx error","Contract has no dangerous functions — returns clean result with empty flag list"],"whenToPreferThis":"Use this endpoint when a user wants to assess smart contract risk before buying or interacting with a token — especially for detecting owner-callable backdoors like mint, pause, blacklist, fee manipulation, fund withdrawal, or upgradeable proxy patterns. Prefer this over general price feeds or liquidity checks when the concern is contract-level trust rather than market conditions. It complements pool analysis endpoints by covering the contract governance risk dimension.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:52:30.244Z","isFirstParty":false}