{"uid":"cap_vp0lz231yio3UEX9rT8Ei","slug":"clawcash-solidity-github-repository-audit-49cc9ac8","name":"ClawCash Solidity GitHub Repository Audit","description":"Agent-payable actions from ClawCash merchants. Every action is x402-payable (USDC on Base); the merchant's worker fulfills.","url":"https://gateway.clawca.sh/code-analyzer/audit-solidity-github-repository","method":"POST","headers":{},"bodySchema":{"type":"object","required":["githubUrl"],"properties":{"githubUrl":{"type":"string"}}},"responseSchema":{"type":"object","required":["summary","riskScore","rawReport","truncated","fileCount"],"properties":{"summary":{"type":"string"},"fileCount":{"type":"number"},"rawReport":{"type":"string"},"riskScore":{"type":"number"},"truncated":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3eiM0NogT3x-cItSz9IUJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs an automated security audit of a Solidity smart contract repository on GitHub, returning a risk score, summary, and detailed raw report","exampleAgentPrompt":"Can you run a security audit on my Solidity smart contract repo at https://github.com/myorg/my-defi-protocol and give me a risk score and summary of any vulnerabilities?","exampleUseCases":[{"title":"Pre-deployment DeFi protocol security check","prompt":"Before we go live, run a full security audit on our Solidity contracts at https://github.com/acme-finance/lending-protocol and tell me the risk score and any critical vulnerabilities we need to fix."},{"title":"NFT contract vulnerability scan","prompt":"Can you audit the Solidity code in https://github.com/coolnfts/minting-contracts for any security issues? I want to make sure there are no reentrancy bugs or access control problems before we mint."},{"title":"Third-party smart contract due diligence","prompt":"I'm considering integrating this external protocol into our platform — can you audit their smart contracts at https://github.com/thirdparty/yield-vault and give me a risk assessment?"}],"resultDescription":"Returns a JSON object containing: a human-readable summary of findings, a numeric risk score (higher = more risk), a raw detailed audit report string, a count of Solidity files analyzed, and a boolean indicating whether the report was truncated due to length.","failureModes":["Invalid or inaccessible GitHub URL (repository is private, deleted, or malformed URL)","Repository contains no Solidity files, resulting in zero file count and empty analysis","Large repositories may trigger report truncation (truncated: true), providing partial results","Payment failure via x402/USDC on Base prevents the request from being fulfilled","GitHub API rate limiting or connectivity issues on the merchant worker side cause delayed or failed responses","Malformed input schema (missing required githubUrl field) returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a quick automated security risk assessment of a Solidity smart contract GitHub repository without setting up a local auditing toolchain. It is ideal for pre-deployment checks, due diligence on third-party contracts, or CI/CD security gates. Prefer this over manual audits or generic code review tools when you need a structured risk score and report delivered instantly via an agent-payable API call. Note that for very large repositories the report may be truncated; for exhaustive audits of large codebases, a professional audit firm may be preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:35:35.793Z","isFirstParty":false}