{"uid":"cap_dKw0QfsXUbGgK6A-usLYT","slug":"preflight-agentdiet-dev-github-repository-security-license-auditor-20b78b1a","name":"GitHub Repository Security & License Auditor","description":"Evaluates any GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security before code execution. (Live x402 v2, IETF MPP & MCP endpoint at https://preflight.agentdiet.dev/v1/secret-leak-scan)","url":"https://preflight.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","minLength":1,"description":"GitHub repository in owner/name format (e.g. modelcontextprotocol/servers or langchain-ai/langgraph)"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","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":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZVwCYiZBxmhVHkHXFbvAA","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"preflight.agentdiet.dev","brandSlug":"preflight-agentdiet-dev-mpp","brandBaseUrl":"https://preflight.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Audits a GitHub repository for license risk, maintenance velocity, stars/forks metrics, dependency supply-chain security, and secret leaks before integrating or executing its code.","exampleAgentPrompt":"Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risks, secret leaks, supply-chain vulnerabilities, and check how actively it's maintained?","exampleUseCases":[{"title":"Pre-integration dependency vetting","prompt":"I'm about to add modelcontextprotocol/servers to my project — can you scan that GitHub repo and tell me if there are any license issues, leaked secrets, or supply-chain security concerns I should know about?"},{"title":"Open source license compliance check","prompt":"My legal team needs to know if huggingface/transformers uses any copyleft or restrictive licenses that could affect our commercial product — can you audit that repo for license risk?"},{"title":"Evaluating a new AI framework's health","prompt":"Before we bet on it for our next sprint, can you check openai/swarm on GitHub for maintenance velocity, how active the contributors are, star and fork counts, and any known security red flags?"}],"resultDescription":"Returns a structured object containing license risk classification, maintenance velocity indicators, repository popularity metrics (stars, forks), supply-chain security findings, and any detected secret leaks or exposed credentials in the repository.","failureModes":["Invalid or non-existent repository (owner/name format incorrect) — returns error","Private repository with no public access — may return partial or no data","GitHub API rate limits hit — may return timeout or degraded results","Repository has no license file — license risk may be indeterminate","Payment not completed (x402) — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adopting it as a dependency, integrating its code, or deploying from it — especially when license compliance, supply-chain security, or secret exposure are concerns. Prefer this over generic GitHub API calls when you need a consolidated security and health summary in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:34.648Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-github-repository-security-license-auditor-755119c7"}