# GitHub Repository Security & License Auditor

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

Audits a GitHub repository for license risk, dependency supply-chain vulnerabilities, maintenance velocity, and community health metrics before code adoption or execution.

## Facts

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

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 token-intel-agentdiet-dev-github-repository-security-license-auditor-a88acd89
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo and tell me if it's safe to use — check the license risk, whether it's actively maintained, and if there are any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs a pre-flight safety check on a GitHub repository before cloning, importing, or executing its code. Especially useful for license compliance audits in commercial contexts, supply-chain risk assessment in CI/CD pipelines, or when evaluating unfamiliar open source dependencies. Prefer over manual GitHub browsing when you need a structured, machine-readable risk report in a single API call.

## Known failure modes

- Invalid or non-existent repository (owner/name not found on GitHub) — returns error or empty result
- Private repository not accessible — audit may be incomplete or fail
- GitHub API rate limiting causing partial or failed data retrieval
- Malformed repo parameter (not in owner/name format) — validation error
- Payment failure via x402 protocol — request rejected before processing

## 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://token-intel.agentdiet.dev/v1/repo-audit)

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity indicators (commit frequency, last update), community health signals (stars, forks, contributor count), and supply-chain security assessment including dependency vulnerabilities — enabling go/no-go decisions before integrating or executing code from the repo.

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