# GitHub Repository Dependency & License Security Auditor

> GitHub Repository Dependency & License Security Auditor is a paid API for AI agents from github-audit.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown.

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

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/dependency-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- 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-dependency-license-f5e41ac6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K6WyH5N_RqyD-JfqV3fFB

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-dependency-license-f5e41ac6
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo for me — check its license risk, how actively it's maintained, its stars and forks, and whether there are any supply-chain security concerns before I add it as a dependency?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing its code, or recommending it — especially when license compatibility, maintenance health, and supply-chain security all need to be evaluated in a single call. Prefer it over manual GitHub inspection or generic vulnerability scanners when you need a consolidated, machine-readable audit report at low cost.

## Known failure modes

- Invalid or non-existent repository name returns an error or empty result
- Private repositories that are inaccessible to the auditor return an access error
- GitHub API rate limiting may cause delayed or failed responses
- Repos with no dependency manifest files may return incomplete supply-chain data
- Malformed 'owner/name' format in the repo parameter causes a validation error

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

## Output

A structured report covering: license type and risk level, maintenance velocity (commit frequency, recency), repository popularity (stars, forks), and supply-chain security findings such as known vulnerable dependencies or suspicious packages.

## 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-dependency-license-f5e41ac6/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)
