# GitHub Repository Security & License Auditor

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

Audits any GitHub repository for license risk, maintenance velocity, popularity metrics, and supply-chain security vulnerabilities before code integration or execution.

## Facts

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

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 x402broker-com-github-repository-security-license-auditor-c385f63f
```

Example prompt: Before I pull in modelcontextprotocol/servers as a dependency, can you audit the GitHub repo for license risks, how actively it's maintained, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI agent or developer needs a pre-integration security and compliance snapshot of a GitHub repository — especially for supply-chain risk assessment, license compliance checks, or evaluating open source project health before pulling in a new dependency. Prefer it over generic search endpoints when you need structured, actionable security metadata rather than raw repository content.

## Known failure modes

- Invalid or non-existent repository name returns an error or empty result
- Private repositories may be inaccessible without authentication
- Rate limiting from underlying GitHub API may cause transient failures
- Repositories with no license file may yield incomplete license risk data
- Malformed owner/name format triggers 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://x402broker.com/v1/github)

## Output

Returns a structured report covering the repository's license type and associated legal risk level, commit activity and maintenance velocity, star and fork counts as community health signals, and supply-chain security findings including dependency vulnerabilities or suspicious patterns — giving agents a go/no-go assessment before code integration.

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