{"uid":"cap_xRAVB2dDxS4DXidbIlEkm","slug":"agent402-tools-contract-audit-2d8e2074","name":"agent402.tools Contract Audit","description":"Bundled execution of the Contract audit workflow - Triage a smart contract before an agent interacts with it: verified Solidity source, heuristic vulnerability scan, known-address check, function-selector resolution, and a read-only dry-run of the exact call you plan to make. One x402 payment runs 5 underlying tools (contract-source, solidity-scan, selector-lookup, address-label, tx-simulate); partial-success per step.","url":"https://agent402.tools/api/skill/contract-audit","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"0x-prefixed calldata you intend to send (default: a balanceOf probe)"},"address":{"type":"string","description":"0x-prefixed contract address to audit"},"network":{"type":"string","description":"EVM network (ethereum / base / polygon / arbitrum / optimism, default base)"}}},"responseSchema":{"type":"json","example":{"args":{"data":"0x70a08231000000000000000000000000abf4fabd7c416fb67202e5f9002389fc75e2a9d0","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base"},"pack":"contract-audit","steps":[{"ok":true,"slug":"contract-source","result":{}},{"ok":true,"slug":"solidity-scan","result":{}},{"ok":true,"slug":"selector-lookup","result":{}},{"ok":true,"slug":"address-label","result":{}},{"ok":true,"slug":"tx-simulate","result":{}}],"summary":"5/5 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.022","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.022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6pS7PgCloQzK6pDmc8iEL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits a smart contract by combining verified source retrieval, heuristic vulnerability scanning, known-address lookup, function-selector resolution, and a read-only dry-run of given calldata","exampleAgentPrompt":"Before I interact with this contract, can you audit 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — check the verified source, scan for vulnerabilities, look up if it's a known address, and do a dry-run of a balanceOf call?","exampleUseCases":null,"resultDescription":"Returns a bundled audit report covering: verified Solidity source code, heuristic vulnerability scan findings, known-address database match (flagged/trusted/unknown), resolved function selectors for the contract's ABI, and the result of a read-only dry-run simulation of the provided calldata","failureModes":["Unverified contract source — contract not verified on block explorer, source unavailable","Unknown network — network value not in supported list (ethereum/base/polygon/arbitrum/optimism)","Invalid address — malformed or non-contract address returns error","Simulation failure — calldata reverts or is malformed, dry-run returns revert reason","Rate limit or payment failure — x402 payment not accepted or insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to triage a smart contract before executing a transaction — especially useful for DeFi interactions, NFT contracts, or any unfamiliar contract address where safety verification, source confirmation, and pre-flight simulation are all needed in a single bundled call rather than orchestrating multiple separate lookups","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:45:39.901Z","isFirstParty":false}