{"uid":"cap_rPvGhUbKfF7Nyv0ZqG-5W","slug":"patchreview-solidity-patch-security-reviewer-6acac2da","name":"patchreview – Solidity Patch Security Reviewer","description":"Verdict-bearing Solidity code review. Submit a GitHub repo + commit range (or a pasted unified diff) and get severity-rated security findings plus a mandatory verdict: PASS, PASS_WITH_NOTES, or FAIL. Reviews never return without a verdict. $2 USDC per review on Base, no signup.","url":"https://cf-patchreview.odemakindeezekiel5.workers.dev/review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"Base commit SHA, tag, or branch."},"diff":{"type":"string","description":"Pasted unified diff (alternative to repo/base/head)."},"head":{"type":"string","description":"Head commit SHA, tag, or branch."},"repo":{"type":"string","description":"GitHub repo as owner/repo (public)."}}},"responseSchema":{"type":"json","example":{"summary":"Small patch touching withdraw logic; no reentrancy or access-control issues found.","verdict":"PASS_WITH_NOTES","findings":[],"verdict_reason":"No critical issues; two low-severity notes on event ordering."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_73H2dnFOac34Dnt42YyMz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a verdict-bearing security review of Solidity code changes (via GitHub repo+commit range or pasted diff), returning severity-rated findings and a mandatory PASS/PASS_WITH_NOTES/FAIL verdict.","exampleAgentPrompt":"Can you run a security review on the Solidity changes in the ethereum-contracts repo (owner: acme-defi) between commit abc123 (base) and def456 (head) and give me a verdict on whether it's safe to merge?","exampleUseCases":[{"title":"Pre-merge DeFi contract audit","prompt":"Before I merge this pull request, can you audit the Solidity diff between branch main and my feature/withdraw-refactor branch in my repo defi-labs/vault-contracts and tell me if there are any reentrancy or access-control issues?"},{"title":"Pasted diff quick security check","prompt":"I've got a unified diff here from a Solidity contract update — can you review it for security vulnerabilities and give me a PASS or FAIL verdict? Here's the diff: [paste diff]"},{"title":"NFT contract deployment safety gate","prompt":"We're about to deploy — can you check the Solidity code changes between tag v1.2.0 and v1.3.0 in nft-org/drops-contract and confirm there are no critical security findings before we push to mainnet?"}],"resultDescription":"A JSON object containing: a 'verdict' field (one of PASS, PASS_WITH_NOTES, or FAIL), a human-readable 'summary' of the patch and findings, a 'findings' array with severity-rated security issues (may be empty), and a 'verdict_reason' explaining the conclusion. Every response includes a verdict — it is never omitted.","failureModes":["Private or inaccessible GitHub repo — review cannot fetch the diff","Invalid or non-existent commit SHAs/branches — cannot resolve the commit range","Neither repo+commits nor a diff provided — missing required input","Non-Solidity or non-smart-contract code — review may produce irrelevant findings","Payment failure on Base — review not processed, $2 USDC charge required","Malformed unified diff — parsing error returned"],"whenToPreferThis":"Choose this endpoint when you need an automated, verdict-bearing security review specifically for Solidity smart contract patches — especially as a CI gate before deploying on-chain. It is ideal for DeFi teams wanting a low-friction, no-signup audit for individual PRs or commit ranges. Prefer this over generic LLM code review when you need structured severity findings and a machine-readable PASS/FAIL verdict. Best suited for focused patch review (not full codebase static analysis).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:38:30.558Z","isFirstParty":false,"canonicalSlug":"patchreview-solidity-patch-security-reviewer-6acac2da"}