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

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, dependency vulnerabilities, and supply-chain security signals.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/github-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-28
- 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-76ee6f1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lBA74FOcgUy1c8Rh2fOYI

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-76ee6f1d -d '<json body>'
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo for license risks, supply-chain vulnerabilities, and maintenance health before I add it as a dependency?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to vet a GitHub repository before executing its code, adding it as a dependency, or recommending it to users — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer it over manual GitHub browsing when you need a structured, machine-readable risk report in a single API call.

## Known failure modes

- Repository not found or set to private — returns an error indicating the repo is inaccessible
- Invalid owner/name format — returns a validation error for the repo field
- GitHub API rate limiting — may return a timeout or partial result
- Repository exists but has no license file — license risk field returns unknown or high-risk flag
- Network or upstream API failure — generic 5xx error response

## 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/v1/github-scanner)

## Output

Returns a structured report covering license type and risk level, repository maintenance velocity (commit frequency, last push date), community signals (stars, forks, watchers), dependency vulnerability findings, and supply-chain security flags — giving an agent or developer a pre-execution trust assessment for the 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-76ee6f1d/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)
