{"uid":"cap_7uo5uWRbVTefdfLPNHivY","slug":"agentdiet-secret-leak-scanner-61a7859d","name":"AgentDiet Secret Leak Scanner","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.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_1tRt7uTAT1hfn7HOT1QFo","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":"Can you scan the GitHub repo 'myorg/myapp' for any exposed secrets, API keys, or leaked credentials?","exampleUseCases":[{"title":"Pre-launch public repo audit","prompt":"Before I make my project repo 'acme-corp/backend-service' public, can you scan it for any accidentally committed secrets, API keys, or passwords?"},{"title":"CI/CD security gate check","prompt":"Run a secret leak scan on 'devteam/payment-processor' — I need to know if any credentials or tokens have been exposed before we merge this branch."},{"title":"Open source contribution safety check","prompt":"I'm about to submit a pull request to an open source project from my fork at 'johndoe/oss-fork' — can you check if I accidentally left any of my own API keys or secrets in the code?"}],"resultDescription":"Returns a JSON object with a 'status' field indicating scan success, a 'data' object containing detected secret leak findings from the repository, and an 'roi_proof' object showing a compression_ratio_pct (e.g. 91.4%) reflecting how efficiently the scan was performed. The data payload includes identified secrets, credential types, and affected file locations.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty result","Private repository without proper access credentials returns access denied","Rate limiting or payment failure (x402) returns 402 Payment Required","Repository does not exist returns a not-found error","Network timeout on large repositories may return incomplete results"],"whenToPreferThis":"Use this endpoint when you need a fast, low-cost ($0.01 USDC) automated secret leak scan on a specific GitHub repository, especially in agent workflows, CI/CD pipelines, or pre-publication audits where a deterministic, machine-readable result is needed. Prefer this over manual code review or heavier static analysis tools when you need a quick, API-native check without setting up local tooling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:15.794Z","isFirstParty":false,"canonicalSlug":"agentdiet-secret-leak-scanner-61a7859d"}