# x402broker.com GitHub Repository Security Auditor

> x402broker.com 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 a GitHub repository for license risk, maintenance velocity, dependency health, and supply-chain security before integrating or executing its code.

## Facts

- Endpoint: GET https://x402broker.com/v1/code-security?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-com-github-repository-security-auditor-27eaf305
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QSotpLzzdmhVvmBX6-c51

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-auditor-27eaf305
```

Example prompt: Can you audit the GitHub repo https://github.com/expressjs/express and tell me if it has any license risks, supply-chain vulnerabilities, or signs of being abandoned before I use it in my project?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to vet a GitHub repository before integrating its code, executing it, or approving it as a dependency — particularly when license compliance, supply-chain integrity, or project abandonment risk are concerns. Ideal for coding agents, CI/CD pipelines, and procurement workflows requiring automated open-source due diligence.

## Known failure modes

- Invalid or non-existent GitHub repo URL returns an error response
- Private repositories that are inaccessible to the auditor return an access-denied error
- GitHub API rate limiting may cause transient failures or incomplete results
- Repos with no dependency manifest files may return partial results with missing dependency analysis
- Malformed repo parameter may result in 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/code-security)

## Output

Returns a structured security report for the specified GitHub repository, including license risk classification, maintenance velocity indicators (commit frequency, last activity), community health signals (stars, forks), and supply-chain/dependency vulnerability findings.

## 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-auditor-27eaf305/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)
