# GitHub Repository Supply Chain & License Security Auditor

> GitHub Repository Supply Chain & License Security Auditor is a paid API for AI agents from polymarket-odds.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, dependency supply-chain vulnerabilities, stars, and forks before code execution or adoption.

## Facts

- Endpoint: POST https://polymarket-odds.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: polymarket-odds.agentdiet.dev
- Website: https://polymarket-odds.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-github-repository-supply-chain-license-a82ea573
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9nXuNiviGaBwSGZrFCRss

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 polymarket-odds-agentdiet-dev-github-repository-supply-chain-license-a82ea573 -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 that GitHub repo — I want to know the license risk, how actively it's maintained, its stars/forks, and any dependency security issues?

## When to prefer this

Use this endpoint when you need a quick, pre-integration security and compliance check on any GitHub repository — especially before adding a new open-source dependency, onboarding a third-party library, or auditing a codebase for license exposure. Prefer it over manual GitHub inspection when you need structured, machine-readable risk signals covering license, maintenance, and supply-chain dimensions in a single call.

## Known failure modes

- Repository not found or private (invalid owner/name format returns error)
- GitHub API rate limiting causing incomplete or failed scan
- Repository with no package manifest may return limited dependency data
- Ambiguous or missing license file results in uncertain license risk classification
- Network timeout if repository has an unusually large dependency tree

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

## Output

Returns a structured report including license risk classification, maintenance velocity indicators, GitHub stars and forks counts, supply-chain security findings, and dependency vulnerability signals for the specified repository.

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