# GitHub Repository Supply-Chain & License Security Auditor

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

Scans a GitHub repository for license risk, dependency supply-chain vulnerabilities, maintenance velocity, and community health metrics before code use or execution.

## Facts

- Endpoint: POST https://mcp-security.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: mcp-security.agentdiet.dev
- Website: https://mcp-security.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/mcp-security-agentdiet-dev-github-repository-supply-chain-license-594651d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mnHZtRYrMU-nITtzbFzFU

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 mcp-security-agentdiet-dev-github-repository-supply-chain-license-594651d9 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you run a full supply-chain and license audit on it — I need to know if there are any license risks, security issues, or signs it's poorly maintained?

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs to vet a GitHub repository before adding it as a dependency, executing its code, or building on it — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer this over generic GitHub API calls when you need a consolidated security and risk summary in a single call rather than assembling raw metadata yourself.

## Known failure modes

- Invalid or non-existent repo format (owner/name) returns an error
- Private or access-restricted repositories cannot be scanned
- Rate limiting from GitHub API may delay or fail scans for very large repos
- Repos with no dependency manifest files may return incomplete supply-chain data
- Payment failure (HTTP 402) if x402 micropayment is not properly handled

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

## Output

Returns a structured assessment covering: license type and risk level, supply-chain security findings across dependencies, maintenance velocity indicators (commit frequency, last activity), community health signals (stars, forks, contributor count), and any flagged vulnerabilities or suspicious packages in the repository's dependency tree.

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