{"uid":"cap_CY64RZuddI7bh0VH3FnjR","slug":"proxy-upgrade-detector-fa514753","name":"Proxy / Upgrade Detector","description":"Reads the EIP-1967 proxy slots live: is the contract upgradeable, what's the current implementation, and WHO can upgrade it. Flags the dangerous case — an EOA admin that can swap the logic at any block with no timelock/multisig. Upgradeability is a rug vector static scans miss.","url":"https://402.com.tr/api/x402/proxy-check","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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FtR0cTKQLdvAzwEwUkvZ6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads EIP-1967 proxy storage slots on a contract to detect upgradeability, current implementation address, and admin/upgrader identity — flagging dangerous EOA-controlled upgrades with no timelock or multisig.","exampleAgentPrompt":"Check whether the contract at 0x1234...abcd is upgradeable, who the upgrade admin is, and whether it's just an EOA that could swap the logic without any timelock or multisig.","exampleUseCases":[{"title":"DeFi rug risk pre-investment check","prompt":"Before I ape into this new yield farm, can you check if the contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is an upgradeable proxy and whether the upgrade admin is just a plain wallet with no timelock?"},{"title":"Token contract security audit","prompt":"I'm about to list this token on our platform — audit the contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 for proxy upgradeability and tell me if a single EOA controls the implementation with no multisig protection."},{"title":"Protocol due diligence for DAO proposal","prompt":"Our DAO is considering integrating with this lending protocol at 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE6 — can you read its EIP-1967 proxy slots and tell us who can upgrade it and whether there's any timelock or multisig in place?"}],"resultDescription":"Returns whether the contract is an upgradeable proxy (EIP-1967 compliant), the current implementation contract address, the admin/upgrader address, the type of upgrade authority (EOA vs multisig vs timelock), and risk flags indicating whether the setup represents a dangerous single-point-of-control rug vector.","failureModes":["Invalid or non-existent contract address returns an error or empty proxy data","Contract is not a proxy — returns non-upgradeable result with no implementation/admin slots","RPC timeout or chain data unavailability causes failed fetch","Malformed address string returns a validation error","Non-EIP-1967 proxy patterns may not be fully detected"],"whenToPreferThis":"Use this endpoint when you need to assess smart contract upgradeability risk, specifically the EIP-1967 proxy pattern, and want to know whether an EOA (single wallet) controls upgrades without a timelock or multisig. Prefer this over static analysis tools when you need live on-chain slot reads rather than bytecode inspection, since static scans miss runtime proxy configurations. Ideal as a pre-investment or pre-integration security check for DeFi protocols and token contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:10:58.973Z","isFirstParty":false}