# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from x402-audit.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Audits a GitHub repository for license risk, maintenance velocity, dependency vulnerabilities, and supply-chain security signals before code execution.

## Facts

- Endpoint: GET https://x402-audit.agentdiet.dev/v1/code-security?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: x402-audit.agentdiet.dev
- Website: https://x402-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/x402-audit-agentdiet-dev-github-repository-security-license-auditor-baa71a9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7wZUFt4FaUFGcBYdeL9R4

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 x402-audit-agentdiet-dev-github-repository-security-license-auditor-baa71a9d
```

Example prompt: Before I integrate it into my project, can you audit the GitHub repo langchain-ai/langgraph 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 needs to vet a GitHub repository before executing, integrating, or recommending its code — especially when license compliance, supply-chain safety, or maintenance health are concerns. Prefer it over generic web search when you need structured, machine-readable security signals rather than raw search results.

## Known failure modes

- Invalid or non-existent repository (owner/name format wrong or repo not found on GitHub)
- Private repository that cannot be accessed
- GitHub API rate limiting causing incomplete data
- Repository with no detectable license or dependency manifest
- Timeout if GitHub is slow to respond

## 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://x402-audit.agentdiet.dev/v1/code-security)

## Output

Returns a structured report covering the repository's license type and associated legal risk, maintenance velocity (commit frequency, last activity), star and fork counts as popularity signals, dependency vulnerability findings, and overall supply-chain security assessment.

## 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/x402-audit-agentdiet-dev-github-repository-security-license-auditor-baa71a9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.agentdiet.dev](https://www.zero.xyz/host/x402-audit.agentdiet.dev/llms.txt)
