# 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.01/call, status unknown (last checked 2026-11-21).

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

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/paid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- 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-2a727526
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6782ZJOQ2yOCFfwIzSQDP

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-2a727526 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adding it as a dependency, executing its code, or integrating it into a pipeline — especially when license compliance, supply-chain security, and maintenance health all need to be assessed in a single call. Prefer this over manual GitHub browsing or generic search when you need structured, machine-readable risk signals.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repository returns 404 or access denied
- GitHub API rate limiting may cause partial results or timeout
- Payment failure via x402 returns 402 with payment instructions
- Malformed owner/name string with spaces or special characters rejected

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

## Output

Returns a structured report covering license risk classification, maintenance velocity (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security findings including dependency vulnerability flags and proxy/honeypot indicators for the given GitHub repository.

## 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/github-audit-agentdiet-dev-github-repository-security-license-auditor-2a727526/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)
