# GitHub Repo Supply Chain & License Security Auditor

> GitHub Repo 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 (last checked 2026-10-23).

Scans a GitHub repository for license risk, dependency vulnerabilities, maintenance health, and supply-chain security concerns before integrating or executing code.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-repo-supply-chain-license-security-e4f87a61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cWojRPefz3RpbJoA-QPsh

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-repo-supply-chain-license-security-e4f87a61 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risk, supply-chain vulnerabilities, and maintenance health?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing its code, or recommending it to others — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer this over generic search or README-reading approaches when you need structured, machine-readable risk signals rather than raw repository metadata.

## Known failure modes

- Invalid or nonexistent repository (owner/name not found on GitHub) returns an error
- Private repositories that are inaccessible to the scanner return an access error
- GitHub API rate limiting may cause transient failures
- Repositories with no dependency manifest files may return incomplete dependency analysis
- Malformed repo string (not in owner/name format) triggers validation error

## 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 covering the repository's license type and associated risk level, maintenance velocity indicators (commit frequency, last commit date), community signals (stars, forks), and supply-chain security findings including dependency vulnerability flags and any suspicious package patterns.

## 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-repo-supply-chain-license-security-e4f87a61/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)
