# GitHub Repository Supply Chain & License Security Auditor

> GitHub Repository Supply Chain & License Security Auditor is a paid API for AI agents from github-audit.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown.

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, and dependency supply-chain security before integrating or executing code.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Activations on Zero: 0
- Provider: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-github-repository-supply-chain-license-0b994da4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ongTNSS4AE33rFaRpcaVO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability github-audit-agentdiet-dev-github-repository-supply-chain-license-0b994da4
```

Example prompt: Before I integrate langchain-ai/langgraph into our codebase, can you audit its GitHub repo for license risk, supply chain vulnerabilities, and whether it's actively maintained?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a quick, pre-integration safety check on a GitHub repository — covering license compliance, supply-chain dependency risk, and maintenance health in a single call. Prefer it over generic CVE scanners when you need repo-level metadata (stars, forks, velocity) combined with license risk, or over raw GitHub API calls when you want a pre-structured risk assessment without building the logic yourself.

## Known failure modes

- Invalid repo format (not owner/name) returns a validation error
- Private or non-existent repository returns a not-found error
- GitHub API rate limiting may cause intermittent failures
- Repository with no dependency files may return limited supply-chain data
- Network timeout if GitHub is slow to respond

## How this service works

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://github-audit.agentdiet.dev/v1/repo-supply-chain-scan)

## Output

Returns a structured report including license type and risk rating, repository maintenance velocity (commit frequency, last updated), popularity signals (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious patterns — giving an agent or developer a clear go/no-go signal before integrating or running code from the repository.

## Request schema (JSON Schema)

```json
{
 "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-audit-agentdiet-dev-github-repository-supply-chain-license-0b994da4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit.agentdiet.dev](https://www.zero.xyz/host/github-audit.agentdiet.dev/llms.txt)
