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

Audits a GitHub repository for license risk, maintenance health, popularity metrics, and supply-chain/dependency security before integrating or executing its code.

## Facts

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

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-3d76ce0b
```

Example prompt: Before I integrate it into my project, can you audit the GitHub repo langchain-ai/langgraph for license risks, maintenance health, dependency vulnerabilities, and supply-chain security issues?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs a pre-integration security and license check on any GitHub repository — especially before adding a new open source dependency, merging external code, or executing code from an unfamiliar project. Prefer this over manual GitHub browsing when you need a structured, machine-readable risk report combining license, maintenance, and supply-chain signals in a single call.

## Known failure modes

- Invalid or non-existent repository slug returns an error (repo not found)
- Private repositories inaccessible without credentials return an access error
- GitHub API rate limiting may cause intermittent failures
- Malformed owner/name format triggers validation error
- Repositories with no dependency manifests may return incomplete supply-chain data

## 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-secops-auditor)

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity indicators (commit frequency, last update), community popularity (stars, forks), and supply-chain security findings including dependency vulnerabilities and potential risks before code execution.

## 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-3d76ce0b/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)
