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

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, dependency health, and supply-chain security signals before code adoption or execution.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/.well-known/agent-card.json?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- 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-5a2c561f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UMAQMDG-KTRyrsElVgsAl

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-5a2c561f
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risk, 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 an open source GitHub repository before integrating it as a dependency, executing its code, or adopting it into a production workflow — especially when license compliance and supply-chain security are concerns. Prefer it over generic GitHub API calls when you need consolidated security, license risk, and maintenance health signals in a single audited response.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Repository not found or private returns 404-equivalent error
- Rate limiting from GitHub API may cause partial or delayed results
- Pagination cursor mismatch or expired cursor returns error
- Unrecognized or missing license file may result in incomplete license assessment

## 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/.well-known/agent-card.json)

## Output

Returns a structured report for the specified GitHub repository including: license type and compatibility risk, maintenance velocity indicators (commit frequency, last update), popularity metrics (stars, forks), contributor health, and supply-chain security signals such as dependency vulnerability flags and proxy/honeypot 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)"
  },
  "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-5a2c561f/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)
