# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from github-audit.agentdiet.dev, paid per call via MPP, $0.010000/call, status unknown (last checked 2026-10-23).

Audits a GitHub repository for license risk, dependency supply-chain vulnerabilities, maintenance velocity, and community health metrics before code integration.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-github-repository-security-license-auditor-c487e003
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XumRDHH3EZZgkKPzCgBKn

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 github-audit-agentdiet-dev-github-repository-security-license-auditor-c487e003
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo and tell me about its license risks, how actively it's maintained, and whether there are any supply-chain security concerns I should know about before using it in production?

## 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 a user — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer over manual GitHub browsing when automated, structured security assessments are needed at scale or as part of an agentic workflow.

## Known failure modes

- Invalid or non-existent repo format returns an error — must be owner/name format
- Private repositories inaccessible without auth return a not-found or forbidden error
- Rate limiting by GitHub API may cause transient failures
- Repos with no license file may return incomplete license analysis
- Payment required (HTTP 402) if x402 micropayment not included

## 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://github-audit.agentdiet.dev/)

## Output

Returns a structured audit report for the specified GitHub repository including license type and risk rating, maintenance velocity indicators (commit frequency, last activity), community health signals (stars, forks, contributor count), and supply-chain security flags for 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)"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-audit-agentdiet-dev-github-repository-security-license-auditor-c487e003/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit.agentdiet.dev](https://www.zero.xyz/host/github-audit.agentdiet.dev/llms.txt)
