# x402broker GitHub Repository Security Auditor

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

Audits any GitHub repository for license risk, maintenance health, popularity metrics, and supply-chain security before integrating or executing its code.

## Facts

- Endpoint: GET https://x402broker.com/v1/github-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402broker-github-repository-security-auditor-a2a95d3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z_HC6X2g-830mKd6HNHrN

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-github-repository-security-auditor-a2a95d3f
```

Example prompt: Before I add this library to my project, can you audit the GitHub repo at github.com/langchain-ai/langchain — check its license risk, how actively it's maintained, its stars and forks, and whether there are any supply-chain security concerns?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing its code, or approving it in a software supply chain. It is especially valuable for automated due-diligence pipelines that need to combine license compliance, maintenance health, and security scanning in a single call. Prefer it over manual GitHub inspection or separate SBOM tools when you need a consolidated, machine-readable audit report at low cost ($0.01 per call).

## Known failure modes

- Invalid or non-existent GitHub repository URL returns an error
- Private repositories that are inaccessible may return access-denied or empty results
- GitHub API rate limits may cause transient failures
- Repositories with no dependency manifest files may have incomplete supply-chain analysis
- Payment failure via x402 protocol prevents endpoint access

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

## Output

Returns a structured security and health report for the specified GitHub repository, including license type and risk classification, maintenance velocity indicators (commit frequency, last update), community popularity metrics (stars, forks, contributor count), and supply-chain security findings such as dependency vulnerabilities or suspicious dependency patterns.

## 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-github-repository-security-auditor-a2a95d3f/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)
