# Coding Agent GitHub Repo, Dependency & License Security Auditor

> Coding Agent 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).

Audits a GitHub repository for license risk, maintenance velocity, star/fork metrics, and supply-chain security signals before a coding agent uses or executes its code.

## Facts

- Endpoint: GET https://json-repair.agentdiet.dev/v1/code-security?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-coding-agent-github-repo-dependency-license-26ba3df4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ol-O6m_d1O9vYPAzbrNe3

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-coding-agent-github-repo-dependency-license-26ba3df4
```

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

## When to prefer this

Use this endpoint when a coding agent or developer needs to vet a GitHub repository before integrating it as a dependency or executing its code — particularly for license compliance checks, supply-chain security screening, or assessing whether a project is actively maintained. Prefer this over generic GitHub API calls when you need a consolidated, agent-ready risk report rather than raw API data.

## Known failure modes

- Invalid or non-existent repository slug returns an error
- Private repositories that are inaccessible to the auditor return an access error
- GitHub API rate limiting may cause transient failures
- Repositories with no license file may return incomplete license data
- Payment failure (HTTP 402) if x402 micropayment is not completed

## 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/code-security)

## Output

Returns a structured report on the GitHub repository covering license type and risk level, recent maintenance velocity (commit frequency, last push date), community health signals (stars, forks, open issues), and supply-chain security flags such as dependency vulnerabilities or suspicious 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/json-repair-agentdiet-dev-coding-agent-github-repo-dependency-license-26ba3df4/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)
