# GitHub Repo Security & License Auditor

> GitHub Repo Security & License Auditor is a paid API for AI agents from serp-extract.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 supply-chain vulnerabilities, stars, and forks before integrating or executing its code.

## Facts

- Endpoint: GET https://serp-extract.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: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-github-repo-security-license-auditor-7a555864
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w58T5J2T9DdPLO1AgyvA3

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 serp-extract-agentdiet-dev-github-repo-security-license-auditor-7a555864
```

Example prompt: Before I add it to my project, can you audit the langchain-ai/langgraph GitHub repo for license risk, how actively it's maintained, and any supply-chain security issues?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a fast pre-flight check on a GitHub repository before integrating, forking, or executing its code — especially when license compliance, dependency risk, or supply-chain trust are concerns. Prefer this over manual GitHub browsing when you need structured, machine-readable audit results covering multiple risk dimensions in a single call.

## Known failure modes

- Invalid repo format (not owner/name) returns a validation error
- Private or non-existent repository returns a 404-style not-found error
- GitHub API rate limiting may cause transient failures
- Repositories with no dependency manifest may return incomplete supply-chain data
- Payment not fulfilled results in HTTP 402 response

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

## Output

Returns a structured report covering: detected license type and associated legal risk level, maintenance velocity metrics (commit frequency, last commit date), repository popularity signals (stars, forks), and supply-chain security findings such as suspicious dependencies or known vulnerability flags.

## 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)"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp-extract-agentdiet-dev-github-repo-security-license-auditor-7a555864/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
