# GitHub Repository License, Dependency & Supply-Chain Security Auditor

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

Audits a GitHub repository for license risk, maintenance health, popularity signals, and supply-chain security vulnerabilities before code adoption or execution.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-license-dependency-96601ab8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bMi6Ni_cb1tMDEzOVQYzu

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-license-dependency-96601ab8 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a pre-adoption or pre-execution security and compliance check specifically for GitHub repositories — covering license risk, maintenance health, and supply-chain security in a single call. It is ideal for coding agents, CI/CD pipelines, and procurement workflows that need automated open-source due diligence before integrating a dependency or running third-party code.

## Known failure modes

- Repository not found or is private — returns an error indicating the repo could not be accessed
- Invalid owner/name format — returns a validation error
- GitHub API rate limiting — may return partial data or a rate-limit error
- Repo has no detectable license — license risk field may be null or flagged as unknown
- Network timeout for very large repositories with many dependencies

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

## Output

Returns a structured report covering the repository's license type and associated legal risk, maintenance velocity indicators (commit frequency, last update), community health metrics (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious patterns — enabling informed decisions before adopting or executing code from the repo.

## 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-license-dependency-96601ab8/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)
