# GitHub Repository License & Supply-Chain Security Auditor

> GitHub Repository License & Supply-Chain 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, star/fork signals, dependency vulnerabilities, and supply-chain security posture before code integration or execution.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/license-compliance-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-repository-license-supply-chain-6e394f9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nNKHlg8RKq6Mb1xFYUYDo

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-repository-license-supply-chain-6e394f9e -d '<json body>'
```

Example prompt: Before I integrate langchain-ai/langgraph into my project, can you run a full audit on it — check the license type, whether it's actively maintained, and if there are any supply-chain or dependency security risks I should know about?

## When to prefer this

Use this endpoint when you need a comprehensive pre-integration or pre-execution risk assessment of a GitHub repository — especially when license compliance, supply-chain security, and maintenance health all matter. Prefer this over a generic GitHub API call when you want a synthesized risk verdict rather than raw metadata.

## Known failure modes

- Invalid or non-existent repository (wrong owner/name format returns error)
- Private repository not accessible via public GitHub API
- GitHub API rate limiting causing partial or failed data retrieval
- Repository with no license file returns unknown license risk
- Very new repos with minimal history produce low-confidence maintenance scores

## 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/license-compliance-scan)

## Output

Returns a structured assessment of the GitHub repository including license type and compliance risk level, maintenance velocity indicators (commit frequency, last update), community signals (stars, forks), dependency vulnerability findings, and overall supply-chain security posture.

## 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-repository-license-supply-chain-6e394f9e/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)
