# GitHub Repo Dependency & License Security Auditor

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

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security signals before code integration.

## Facts

- Endpoint: GET https://json-repair.agentdiet.dev/v1/dependency-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: json-repair.agentdiet.dev
- Website: https://json-repair.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/json-repair-agentdiet-dev-github-repo-dependency-license-security-29150e4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_13YGGS6Lhe74k7nUOH9N6

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 json-repair-agentdiet-dev-github-repo-dependency-license-security-29150e4b
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit it for license risk, maintenance health, and supply-chain security issues?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-integration security gate on a GitHub repository — specifically when license compliance, dependency vulnerability scanning, and maintenance health are all needed in a single call. Prefer this over raw GitHub API calls when you need a synthesized risk summary rather than raw metadata, and when supply-chain security signals (honeypot flags, malicious package detection) are required alongside standard repo metrics.

## Known failure modes

- Invalid or non-existent repo format returns an error (repo must be in owner/name format)
- Private repositories that cannot be accessed by the auditor return an access error
- GitHub API rate limits may cause transient failures or incomplete data
- Repos with no dependency manifest files may return partial results with missing supply-chain data
- Payment not completed (HTTP 402) if x402 payment header is missing or insufficient

## 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://json-repair.agentdiet.dev/v1/dependency-audit)

## Output

Returns a structured JSON object containing license risk classification, maintenance velocity indicators (e.g. commit frequency, last push date), repository popularity signals (stars, forks), and supply-chain security findings such as dependency vulnerability flags and proxy/malicious package indicators.

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