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

Analyzes a GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain/secret-leak security concerns before code execution.

## Facts

- Endpoint: GET https://x402broker.com/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: x402broker.com
- Website: https://x402broker.com
- Canonical page: https://www.zero.xyz/c/x402broker-com-github-repository-security-license-auditor-06404991
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KfBlIlhpwXIorCIrO4GT2

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-06404991
```

Example prompt: Before I add it as a dependency, can you audit the GitHub repo langchain-ai/langgraph for license risk, supply-chain security issues, secret leaks, and how actively it's being maintained?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-use security and compliance snapshot of a GitHub repository — especially for evaluating third-party dependencies, vetting open source libraries before integration, or checking for supply-chain risks and secret leaks. Prefer it over manual GitHub inspection when you need structured, agent-consumable output covering license, security, and maintenance dimensions in a single call.

## Known failure modes

- Repository not found or invalid owner/name format returns an error
- Private repositories inaccessible without authentication return access errors
- GitHub API rate limiting may cause transient failures
- Repositories with no license file may return ambiguous license risk data
- Payment failure (402) if x402 micropayment is not properly handled

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

## Output

Returns a structured assessment of the GitHub repository including license type and associated risk level, maintenance velocity indicators (commit frequency, last activity), popularity signals (stars, forks), supply-chain security findings, and any detected secret or credential leaks.

## 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-06404991/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)
