# 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-17).

Audits a GitHub repository for license risk, maintenance health, popularity signals, and supply-chain security vulnerabilities before code integration or execution.

## Facts

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

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

Example prompt: Can you audit the GitHub repo langchain-ai/langgraph — I need to know if its license is safe for commercial use, how well it's maintained, and whether there are any supply-chain security red flags before I integrate it into my project?

## When to prefer this

Choose this endpoint when you need a pre-flight security and compliance check on a GitHub repository before integrating it as a dependency, executing its code, or recommending it to users. It is purpose-built for coding agents that need to vet open source libraries for license risk (e.g. GPL vs MIT vs Apache), maintenance health, and supply-chain threats in a single call, rather than manually querying GitHub API, OSSF Scorecard, and license databases separately.

## Known failure modes

- Repository not found or private — returns 404-style error
- Invalid repo format (not owner/name) — returns validation error
- GitHub API rate limiting — may return error or degraded response
- Repository has no detectable license — license risk may be inconclusive
- Supply-chain data unavailable for very new or obscure repos

## 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-audit)

## Output

Returns a structured assessment of the repository including license type and commercial-use risk, maintenance velocity metrics (commit frequency, last activity), popularity signals (stars, forks, contributor count), and supply-chain security findings such as vulnerable or malicious 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)"
  }
 }
}
```

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