# GitHub Repository Supply Chain & License Security Auditor

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

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

## Facts

- Endpoint: GET https://token-intel.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: token-intel.agentdiet.dev
- Website: https://token-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/token-intel-agentdiet-dev-github-repository-supply-chain-license-fc7e93e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DjBW4fJ2cl2vuuB3C9SSO

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 token-intel-agentdiet-dev-github-repository-supply-chain-license-fc7e93e8
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you do a full supply-chain and license security audit on that GitHub repo — I need to know if it's safe to use, actively maintained, and doesn't have risky dependencies?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adding it as a dependency, executing its code, or adopting it in a project — especially when license compliance, supply-chain integrity, and maintenance health all need to be assessed in a single call. Prefer this over manual GitHub inspection or generic vulnerability scanners when you need a consolidated, agent-ready risk summary for automated decision-making.

## Known failure modes

- Invalid or non-existent repo format (e.g. missing owner or name) returns an error
- Private repositories may not be accessible and return an authorization error
- GitHub API rate limits could temporarily block scans
- Repos with no dependency manifests may return incomplete dependency analysis
- Network timeout if GitHub is unresponsive

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

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity (commit frequency, last update), community health indicators (stars, forks), supply-chain security findings including vulnerable or suspicious dependencies, and an overall risk assessment to inform safe integration decisions.

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