{"uid":"cap_wWyAHc5Ch8HX814VXR9qP","slug":"devx-smart-contract-pre-audit-quick-check-4564ce36","name":"DevX Smart-Contract Pre-Audit (Quick Check)","description":"Quick Solidity pre-audit check, $0.90 USDC on Base: send source or a verified contract address + chain; the same automated engine returns the verdict (grade, score, security and owner-trust risk), severity counts, the top 5 findings with location and fix, and owner powers found (mint, pause, blacklist, fees, upgrade). Triage, not a human audit; failed runs not charged. Every finding with code and detail: POST /v1/audit ($99). By DevX.","url":"https://scaudit.madebydevx.com/v1/quick?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain for address mode (default base): ethereum, mainnet, eth, base, optimism, op, arbitrum, arb, polygon, matic, bsc, bnb, gnosis, avalanche, avax, linea, scroll, sepolia, base-sepolia, or the numeric chain id"},"source":{"type":"string","maxLength":256000,"description":"Solidity source of one file (or a flattened file). Use this OR sources OR address."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Deployed contract address whose source is verified on Sourcify (proxies: implementation is analysed too)"},"sources":{"type":"object","description":"Multi-file project: {\"contracts/Vault.sol\": \"...\", ...} (max 60 files, 250 KB total). Standard library paths (@openzeppelin/ etc.) are skipped.","additionalProperties":{"type":"string"}},"requestKey":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$","maxLength":128,"minLength":8,"description":"Optional idempotency key: same payer + requestKey + input within 7 days returns the stored report without a second charge."}}},"responseSchema":{"type":"json","example":{"tier":"quick","result":{"tier":"quick","verdict":{"grade":"F","label":"NOT production-ready: critical issues","score":30,"counts":{"low":0,"high":0,"info":0,"medium":0,"critical":1},"security_risk":"critical","owner_trust_risk":"none","production_ready":false},"full_report":{"url":"/v1/audit","price_usd":"99.00"},"owner_powers":[],"top_findings":[{"ref":"F-01","file":"input.sol","line":3,"title":"Reentrancy: state written after external call in withdraw()","category":"reentrancy","severity":"critical","recommendation":"Update state before the external call (checks-effects-interactions) or add a reentrancy guard."}],"more_findings_in_full_report":0},"status":"paid","payment":{"status":"paid","network":"eip155:8453","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","amount_raw":"90000"},"operation_id":"5d0c7a3e-1f2b-4c6d-8e9f-0a1b2c3d4e5f"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lc6BgnCD_5gDIV3YrcGxe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an automated Solidity security pre-audit returning a grade, score, severity counts, top 5 findings with fixes, and owner privilege detection — for $0.90 USDC per call.","exampleAgentPrompt":"Can you do a quick security pre-audit on this Solidity contract source — I need the grade, score, top findings with fixes, and whether it has any dangerous owner powers like minting or pausing? Run it on Base.","exampleUseCases":[{"title":"Pre-deploy vulnerability triage","prompt":"I just wrote this Solidity token contract and want to know if there are any critical or high severity issues before I deploy it to Base — can you run a quick audit and tell me the grade, top findings, and whether there are any owner privileges I should be aware of?"},{"title":"Scanning a third-party contract address","prompt":"Can you audit this deployed contract at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want to know the security score, any critical findings, and whether it has blacklist or upgrade powers?"},{"title":"DeFi protocol owner-privilege check","prompt":"Before I invest in this DeFi protocol, can you quick-scan their contract source for owner powers like minting, pausing, or fee changes, and give me a production-readiness verdict and security grade?"}],"resultDescription":"A JSON response with a verdict object containing a letter grade (A–F), numeric score, security_risk and owner_trust_risk levels, production_ready flag, severity counts (critical/high/medium/low/info), up to 5 top findings each with file, line number, title, category, severity, and a recommended fix, plus a list of owner powers detected (mint, pause, blacklist, fees, upgrade), payment confirmation details, and an operation ID. If a full report is available, a URL and price for the full audit is included.","failureModes":["Invalid or non-checksummed contract address returns a validation error","Contract address not verified on Sourcify returns an error (source unavailable)","Solidity source exceeds 256,000 character limit returns a size error","Multi-file project exceeds 60 files or 250 KB total returns a size error","Unsupported chain identifier returns an error","Failed runs are not charged — a payment error or engine failure results in no USDC deduction","Duplicate requestKey with different input within 7 days may return a conflict error"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.90 USDC) automated triage of a Solidity contract — either from source code or a verified on-chain address — and want a structured verdict with a grade, severity counts, top findings, and owner privilege detection without waiting for a human audit. Prefer the sibling full-audit endpoint (/v1/audit at $99) when you need exhaustive findings beyond the top 5. Use this for pre-deployment checks, third-party contract due diligence, or investment screening on any major EVM chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:37:25.878Z","isFirstParty":false,"canonicalSlug":"devx-smart-contract-pre-audit-quick-check-4564ce36"}