# GitHub Repository Dependency & License Security Auditor

> GitHub Repository Dependency & License Security Auditor is a paid API for AI agents from github-audit.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Audits a GitHub repository for license risk, maintenance health, and supply-chain security by analyzing its SBOM, stars/forks, and dependency vulnerabilities.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/sbom-auditor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-github-repository-dependency-license-cb75667c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HxWgd6lxhzjcGOLdcfpKM

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 github-audit-agentdiet-dev-github-repository-dependency-license-cb75667c -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risks, supply-chain vulnerabilities, and whether it's actively maintained?

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs to vet a GitHub repository before adopting it as a dependency — specifically when you need license compliance data, supply-chain risk signals, and maintenance health in a single call. Prefer this over generic GitHub API calls when you want a pre-packaged audit report with risk scoring rather than raw repository metadata.

## Known failure modes

- Invalid or non-existent repository slug returns an error
- Private repository with no public access yields no data
- GitHub API rate limiting may cause intermittent failures
- Repositories with no declared dependencies may return incomplete SBOM data
- Malformed owner/name format triggers input 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://github-audit.agentdiet.dev/v1/sbom-auditor)

## Output

Returns a structured audit report covering: license type and risk level, maintenance velocity indicators (commit frequency, last updated), repository popularity (stars, forks), supply-chain security findings, and dependency vulnerability signals derived from the repository's SBOM.

## 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/github-audit-agentdiet-dev-github-repository-dependency-license-cb75667c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit.agentdiet.dev](https://www.zero.xyz/host/github-audit.agentdiet.dev/llms.txt)
