{"uid":"cap_DNkfgpCLrVmGz0-SZpW9V","slug":"agent402-tools-solidity-smart-contract-security-scanner-ed28ca27","name":"agent402.tools Solidity Smart Contract Security Scanner","description":"Deterministic static pattern scan of Solidity smart-contract source text - a fixed ruleset flagging tx.origin authentication, delegatecall, selfdestruct, unchecked low-level calls, unchecked .send(), floating pragmas, block-timestamp dependence, weak block-derived randomness, value-call reentrancy surface, inline assembly, ecrecover, and missing SPDX headers. Returns line-anchored findings with severities.","url":"https://agent402.tools/api/solidity-scan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"source":{"type":"string","description":"Solidity source text to scan (max 512KB)."}}},"responseSchema":{"type":"json","example":{"lines":7,"summary":{"low":1,"high":2,"info":1,"medium":1},"findings":[{"line":4,"rule":"tx-origin","message":"tx.origin used - authentication via tx.origin is phishable; use msg.sender.","snippet":"require(tx.origin == msg.sender);","severity":"high"}],"disclaimer":"Deterministic heuristic pattern check - not a compiler, not an audit."}},"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_o4F3ti9AUpQuTjuxmsexV","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":"Runs a deterministic static analysis scan on Solidity source code, flagging common security vulnerabilities using a fixed ruleset","exampleAgentPrompt":"Can you scan this Solidity contract source code for security vulnerabilities? I want to check it for things like tx.origin authentication, delegatecall, selfdestruct, unchecked low-level calls, and floating pragmas.","exampleUseCases":null,"resultDescription":"A list of flagged security issues found in the submitted Solidity source, including which vulnerability patterns were detected (e.g., tx.origin auth, delegatecall usage, selfdestruct, unchecked .send(), floating pragma, block-timestamp dependence) with relevant details about each finding.","failureModes":["Source text exceeds 512KB limit — request rejected","Invalid or non-Solidity text submitted — may produce empty or misleading results","Payment of $0.01 USDC not fulfilled — 402 Payment Required response","Malformed JSON request body — 400 error","Network timeout for very large contracts near the size limit"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, rule-based static analysis of Solidity smart contract source code without setting up a local toolchain. It is ideal for quick pre-deployment security checks, CI pipeline integration via AI agents, or auditing third-party contracts. Prefer it over full formal verification tools when speed and cost matter and a fixed-ruleset scan is sufficient. Not suitable for runtime analysis, fuzzing, or detecting logic-level business vulnerabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:04.891Z","isFirstParty":false}