# 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 velocity, dependency supply-chain security, stars, and forks before integrating or executing code from it.

## Facts

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

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

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo and tell me if it has any license risks, dependency vulnerabilities, or maintenance concerns before I start using it in my project?

## When to prefer this

Choose this endpoint when an AI coding agent needs to vet a GitHub repository before integrating it as a dependency, executing its code, or recommending it to users — especially when license compatibility, supply-chain security, and maintenance health are all required in a single call rather than manually querying GitHub's API.

## Known failure modes

- Invalid or non-existent repository name returns an error
- Private or inaccessible repositories may return permission errors
- GitHub API rate limits could cause intermittent failures
- Repositories with no license file may return incomplete license data
- Malformed owner/name format in the repo parameter causes a validation error

## 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/code-security)

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity (commit frequency, recent activity), community signals (stars and forks), and supply-chain security assessment including dependency vulnerability indicators.

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