# GitHub Repo Dependency & License Security Auditor

> GitHub Repo 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).

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security to inform safe code adoption decisions.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/repo-risk-score?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-repo-dependency-license-security-1cc94f4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CVXCWOYKqTaEM_XrokH_G

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-repo-dependency-license-security-1cc94f4c -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph to our project, can you run a full audit on it — check the license risk, how actively it's maintained, its stars and forks, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-adoption risk snapshot of a GitHub repository covering license compatibility, maintenance health, and supply-chain security in a single call. It is especially valuable in automated dependency vetting pipelines, CI/CD pre-merge checks, or when onboarding open source libraries into regulated or commercial codebases where license and security compliance matter.

## Known failure modes

- Repository not found or private — returns error if owner/name is invalid or repo is inaccessible
- GitHub API rate limiting — may fail or return partial data under heavy load
- Malformed repo input (not in owner/name format) — validation error on the repo field
- Upstream GitHub API unavailability — service may return timeout or degraded response
- Payment failure — x402 payment not fulfilled results in 402 response and no audit data

## 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/repo-risk-score)

## Output

Returns a structured risk score object covering license type and risk level, maintenance velocity indicators (commit frequency, last commit date), repository popularity signals (stars, forks), and supply-chain security assessments (dependency flags, known vulnerability indicators) for the specified 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/github-audit-agentdiet-dev-github-repo-dependency-license-security-1cc94f4c/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)
