{"uid":"cap_9UsDVSMX0t6vLuta_q-91","slug":"preflight-agentdiet-dev-github-repository-security-license-risk-auditor-eb493bf1","name":"GitHub Repository Security & License Risk 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/repo-risk-score)","url":"https://preflight.agentdiet.dev/v1/repo-risk-score?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_YJAaDXduAr3oAMs7aFJSj","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":"Evaluates a GitHub repository for license risk, maintenance health, popularity signals, and supply-chain security before integrating or executing its code","exampleAgentPrompt":"Before I integrate langchain-ai/langgraph into our project, can you run a full security and license audit on it — check the license risk, how actively it's maintained, its stars and forks, and any supply-chain concerns?","exampleUseCases":[{"title":"Pre-integration dependency vetting","prompt":"I'm about to add the repo huggingface/transformers as a dependency in our production app — can you audit it for license risk, check if it's still actively maintained, and flag any supply-chain security issues?"},{"title":"Open source license compliance check","prompt":"Our legal team needs to know if the license on facebook/react is safe for commercial use — can you pull a license risk score and any compliance flags for that repo?"},{"title":"Abandoned repo risk assessment","prompt":"Someone on my team wants to use the repo tiangolo/fastapi — can you check whether it's still being actively maintained, how popular it is, and whether there are any security or dependency concerns I should know about?"}],"resultDescription":"Returns a structured risk assessment for the specified GitHub repository, including license risk classification, maintenance velocity indicators (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious package patterns","failureModes":["Invalid or non-existent repo slug returns an error (e.g. typo in owner/name format)","Private or inaccessible repositories cannot be analyzed","GitHub API rate limits may cause transient failures","Repos with no license file may return ambiguous license risk","Payment failure (HTTP 402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when an AI agent or developer needs a quick, automated pre-flight check on a GitHub repository before adopting it as a dependency, executing its code, or recommending it — particularly when license compliance, supply-chain safety, and maintenance health all need to be assessed in a single call. It is especially useful in agentic coding workflows where the agent must vet third-party code before use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:34:43.761Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-github-repository-security-license-risk-auditor-925326e2"}