{"uid":"cap_8CL5YLF9fQpPLNhjPyCFa","slug":"preflight-agentdiet-dev-github-repository-security-license-auditor-ad6c65e2","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":"POST","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_KR2ZBi1ScKEMsIqWde3WF","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":"Scans a GitHub repository for license risk, maintenance health, supply-chain security, and secret leaks before code execution or dependency adoption.","exampleAgentPrompt":"Before I add it as a dependency, can you audit the langchain-ai/langgraph GitHub repo for any license risks, leaked secrets, supply-chain vulnerabilities, and check how actively it's being maintained?","exampleUseCases":[{"title":"Pre-adoption dependency risk check","prompt":"I'm thinking of using huggingface/transformers in our production codebase — can you audit it for license compatibility, secret leaks, and supply-chain security issues before I propose it to the team?"},{"title":"Open source project health evaluation","prompt":"Can you check the maintenance health of vitejs/vite for me? I want to see its commit velocity, stars, forks, and whether it's still actively supported before we migrate to it."},{"title":"Security review before code execution","prompt":"Before I run any code from the modelcontextprotocol/servers repo, can you scan it for hardcoded secrets, suspicious dependencies, and any license red flags I should know about?"}],"resultDescription":"Returns a structured report covering license risk classification (e.g. GPL/AGPL flags), repository maintenance velocity (commit frequency, last commit date), popularity signals (stars, forks), supply-chain security findings (vulnerable or suspicious dependencies), and any detected secret or credential leaks present in the repository.","failureModes":["Invalid or non-existent repository slug returns an error (repo not found)","Private repositories inaccessible without credentials return an access-denied error","Rate limits on GitHub API may cause partial or delayed results","Malformed owner/name format (missing slash or extra segments) causes validation failure","Very large repositories may timeout or return incomplete dependency scan results"],"whenToPreferThis":"Use this endpoint when an AI agent or developer needs a quick, pre-execution security gate on a GitHub repository — especially before adopting a new open-source dependency, running third-party code, or onboarding a repo into a CI/CD pipeline. Prefer it over manual GitHub browsing or generic code review tools when you need a structured, machine-readable risk report covering license, maintenance, secrets, and supply-chain concerns in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:46:12.519Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-github-repository-security-license-auditor-755119c7"}