{"uid":"cap_rFKKB4Gcq6XfMf0JkumaP","slug":"secret-leak-scanner-for-git-repositories-11c843e0","name":"Secret Leak Scanner for Git Repositories","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"repo":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_xjYLPk_oq3IYtEjXKWWrS","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":"Scans a GitHub repository for exposed secrets, credentials, and sensitive data leaks.","exampleAgentPrompt":"Scan the GitHub repo 'myorg/my-backend-service' for any leaked secrets or exposed API keys and tell me what you find.","exampleUseCases":[{"title":"Pre-deployment security audit","prompt":"Before I push my project public, can you scan the repo 'acme-corp/payment-service' to make sure there are no hardcoded API keys or credentials in the codebase?"},{"title":"Open source repo credential check","prompt":"I just made my repo 'john-doe/ml-pipeline' public on GitHub — can you check it for any accidentally committed secrets or tokens I should remove?"},{"title":"CI/CD pipeline secret detection","prompt":"Run a secret leak scan on the repository 'devteam/infrastructure-scripts' and let me know if any sensitive credentials or environment variables are exposed in the code."}],"resultDescription":"Returns a JSON object with status 'ok', scan data containing any detected secret leaks or findings, and an roi_proof object showing compression ratio (e.g. 91.4%) indicating how efficiently the scan summarized findings.","failureModes":["Missing or invalid 'repo' query parameter returns empty or error data","Repository not found or private repo without access returns no results","Rate limiting or payment failure (402) if USDC balance insufficient","Malformed input schema causes request rejection","Very large repositories may time out or return partial results"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.01 USDC) automated scan of a GitHub repository for exposed secrets, API keys, or credentials. Prefer this over manual code review or heavier SAST tools when you need a fast signal about secret exposure risk in a specific repo, especially in CI/CD pipelines or pre-deployment checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:35.824Z","isFirstParty":false,"canonicalSlug":"secret-leak-scanner-for-git-repositories-11c843e0"}