# GitHub Repo Supply Chain & License Security Auditor

> GitHub Repo Supply Chain & License Security Auditor is a paid API for AI agents from preflight.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security before an agent executes or depends on its code.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-github-repo-supply-chain-license-security-3e1a9911
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pyqWP80_TwvV_Gcyyhusm

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 preflight-agentdiet-dev-github-repo-supply-chain-license-security-3e1a9911 -d '<json body>'
```

Example prompt: Can you audit the GitHub repo langchain-ai/langgraph for license risk, supply chain vulnerabilities, and whether it's actively maintained before I add it as a dependency?

## When to prefer this

Use 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 forking it — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer this over manual GitHub inspection or generic search when you need a structured, machine-readable security and compliance report in a single API call.

## Known failure modes

- Invalid or non-existent repository (owner/name not found on GitHub) — returns error
- Private repository that cannot be accessed — returns permission/not found error
- GitHub API rate limiting causing incomplete scan results
- Repository with no license file — license field may be null or unknown
- Network timeout on large repositories with many dependencies

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

## Output

Returns a structured report covering: license type and risk level, repository maintenance velocity (commit frequency, last update), popularity signals (stars, forks), and supply-chain security findings such as vulnerable or suspicious dependencies — enabling an agent or developer to make an informed decision before executing or depending on the code.

## 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/preflight-agentdiet-dev-github-repo-supply-chain-license-security-3e1a9911/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
