# 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 velocity, dependency health, and supply-chain security signals before code integration.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/github?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-7a22011f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hvpj6b073rSytXTylPnQz

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-7a22011f
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risk, supply-chain security issues, and whether it's still actively maintained?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to vet a GitHub repository before code execution, dependency addition, or integration — especially for license compliance, supply-chain risk assessment, or maintenance health signals. It is purpose-built for pre-adoption due diligence on open source libraries, unlike general GitHub search or code analysis tools.

## Known failure modes

- Repository not found or private (invalid owner/name format)
- GitHub API rate limiting causing partial or failed data retrieval
- Repository exists but has no detectable license (license field empty)
- Network timeout when fetching large repositories with many dependencies
- Malformed repo parameter (missing slash, typo in owner or name)

## 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/github)

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity (recent commit activity, issue response), star and fork counts as popularity signals, and supply-chain security indicators including dependency vulnerabilities and provenance signals.

## 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-7a22011f/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)
