# GitHub Repository Security & License Auditor

> GitHub Repository Security & License 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-10-21).

Evaluates a GitHub repository for license risk, maintenance health, popularity metrics, and supply-chain security before code integration or execution.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/repo-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-security-license-15c30628
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_clv5fkd_LImXR44CgbMFI

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-security-license-15c30628
```

Example prompt: Before I integrate langchain-ai/langgraph into our codebase, can you audit that GitHub repo for license risks, how actively it's maintained, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing code from it, or recommending it — specifically when license compatibility, maintenance health, and supply-chain security are all needed in a single call. Prefer it over manual GitHub browsing or generic search when you need a structured, machine-readable risk report with supply-chain signals.

## Known failure modes

- Repository not found or is private — returns an error indicating the repo slug is invalid or inaccessible
- Malformed owner/name format — validation error if input does not match expected pattern
- GitHub API rate limiting — may return incomplete data or an error during high-traffic periods
- Repository has no license file — license risk may be reported as unknown or high-risk by default
- Payment not authorized — HTTP 402 returned if x402 payment is not completed

## 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-audit)

## Output

Returns a structured report covering the repository's license type and risk classification, maintenance velocity indicators (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security findings such as vulnerable or suspicious dependencies.

## 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-security-license-15c30628/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)
