buygit_audit_repo
Audit any GitHub repository to get license, supply-chain risk, popularity, and repo signals. Determine if it's safe to bundle and what license it uses.
Instructions
Audit any external GitHub repo (not just BuyGit catalog) — returns license + supply-chain risk + popularity + repo signals in one shot. If the repo is already in our catalog, uses the richer cached signals. Otherwise lives-probes the GitHub REST API. Use for "is github.com/X/Y safe to bundle?" or "what license is github.com/X/Y under?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | github.com/{owner}/{repo} URL. Strict github.com host enforcement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Which path satisfied the request — catalog row or live GitHub REST probe. | |
| repo_url | Yes | ||
| listing | No | Present when source = catalog. Cached BuyGit listing with full signals. | |
| audit | No | Present when source = github-live. Live GitHub REST probe + derived signals. | |
| caveat | No | Present when source = github-live. Explains the live-probe limitations. | |
| companion_mcps | No | Recommended companion MCPs to chain with for deeper checks (Socket, OpenSSF, TruffleHog). |