{"uid":"cap_f_Yp9fbwPQJIHcqV0wVDJ","slug":"code-diff-security-bug-reviewer-cdae9285","name":"Code Diff Security & Bug Reviewer","description":"Review a source-code diff for likely bugs, missing tests, compatibility problems, unsafe migrations, and security-relevant mistakes. Returns structured findings with file/line evidence and confidence.","url":"https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/code-diff-verifier?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jni8UsqHmC_JPTVUZis_C","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a source-code diff for bugs, missing tests, compatibility problems, unsafe migrations, and security vulnerabilities, returning structured findings with file/line evidence and confidence scores.","exampleAgentPrompt":"Review this git diff for me — check for likely bugs, missing tests, unsafe migrations, and any security issues, and give me structured findings with file and line references and confidence scores.","exampleUseCases":[{"title":"PR security audit before merge","prompt":"Can you analyze this pull request diff for security vulnerabilities and risky patterns before I merge it into main? I want structured findings with file and line numbers and how confident you are about each issue."},{"title":"Database migration safety check","prompt":"I've got a diff for a new database migration script — can you review it for unsafe changes, missing rollback logic, or compatibility problems with the existing schema?"},{"title":"Bug detection in feature branch diff","prompt":"Here's the diff for a new feature I wrote — please check it for likely bugs, any missing test coverage, and anything that might break compatibility with the current codebase."}],"resultDescription":"Returns a structured JSON response containing a list of findings, each with: the affected file path and line number(s), a category (bug, security, missing test, compatibility, unsafe migration), a description of the issue, and a confidence score. Findings are prioritized by severity and confidence.","failureModes":["Empty or malformed diff input returns a validation error","Diff too large may exceed payload limits or timeout","Non-code content (e.g. binary diffs) may produce no findings or an error","Ambiguous context in a diff may result in low-confidence findings","Rate limiting or payment failure returns a 402 or 429 error"],"whenToPreferThis":"Choose this endpoint when you need structured, evidence-backed code review focused specifically on diffs or patches — especially for catching security issues, unsafe migrations, and missing tests at the change level rather than auditing an entire codebase. Prefer it over generic static analysis when you want per-finding confidence scores and file/line traceability in a machine-readable format suitable for agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:33:49.565Z","isFirstParty":false,"canonicalSlug":"code-diff-security-bug-reviewer-cdae9285"}