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

Scans a GitHub repository for license risk, maintenance velocity, dependency vulnerabilities, and supply-chain security issues

## Facts

- Endpoint: GET https://token-intel.agentdiet.dev/v1/secret-leak-scan?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-486e67c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C14UbWTQhHkYxayIWcXIK

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-486e67c8
```

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

## When to prefer this

Choose this endpoint when an AI coding agent needs to vet a GitHub repository before using it as a dependency, integrating its code, or recommending it — particularly when license compliance, supply-chain risk, or maintenance health are decision factors. Prefer this over generic GitHub API calls when you need a pre-packaged security and compliance verdict rather than raw metadata.

## Known failure modes

- Repository not found or private — returns error if owner/name is invalid or inaccessible
- Rate limiting on GitHub API — may return partial data or timeout for very large repos
- Malformed repo parameter — returns validation error if not in owner/name format
- Network timeout for repos with extremely large dependency trees

## 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/secret-leak-scan)

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity indicators (commit frequency, last activity), community signals (stars, forks), dependency vulnerability findings, and 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/token-intel-agentdiet-dev-github-repository-security-license-auditor-486e67c8/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)
