# x402broker Dependency Audit

> x402broker Dependency Audit 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, stars/forks, and supply-chain security vulnerabilities before code execution.

## Facts

- Endpoint: GET https://x402broker.com/v1/dependency-audit?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-dependency-audit-1a80b1d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tzMH9N-fx4J5_16T1QTQf

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-dependency-audit-1a80b1d0
```

Example prompt: Can you audit the GitHub repo github.com/expressjs/express for license risk, supply-chain security issues, and check how actively it's being maintained before I add it as a dependency?

## When to prefer this

Choose this endpoint when you need a quick, automated pre-integration risk assessment of a GitHub repository — especially for license compliance, supply-chain security, and maintenance health signals. Prefer this over manual GitHub inspection when you need structured, machine-readable output for agent decision-making workflows, or when evaluating unfamiliar open-source dependencies at scale.

## Known failure modes

- Invalid or non-existent GitHub repository URL returns an error
- Private repositories that are inaccessible return an access error
- GitHub API rate limiting may cause intermittent failures
- Repositories with no dependency files may return incomplete results
- Payment failure via x402 protocol returns 402 error before audit runs

## 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/dependency-audit)

## Output

Returns a structured report covering: license type and risk level, maintenance velocity (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security assessment (known vulnerabilities, suspicious dependencies) for the queried GitHub repository.

## 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-dependency-audit-1a80b1d0/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)
