# GitHub Repository Dependency & License Security Auditor

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

Audits a GitHub repository for license risk, maintenance velocity, stars/forks activity, and supply-chain security vulnerabilities before integrating or executing its code.

## Facts

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

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 serp-extract-agentdiet-dev-github-repository-dependency-license-e7ff9480 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph to my project, can you audit that GitHub repo for license risks, how actively it's maintained, and any supply-chain security issues?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-integration or pre-execution audit of a GitHub repository — covering license compatibility, maintenance health, and supply-chain security in a single call. Prefer it over generic CVE scanners (which require a package list rather than a repo URL) and over raw GitHub API calls (which require assembling multiple data points manually). Ideal for automated CI/CD gates, agent-driven dependency vetting, or open-source due diligence workflows.

## Known failure modes

- Invalid repo format (not owner/name) returns a validation error
- Private or non-existent repository returns a not-found or access error
- GitHub API rate limits may cause temporary failures or degraded data
- Repository with no dependency manifest may return limited supply-chain data
- Payment failure via x402 protocol blocks the request

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

## Output

Returns a structured report covering: license type and risk level, maintenance velocity indicators (recent commits, last activity), repository popularity metrics (stars, forks), and supply-chain security signals such as dependency vulnerabilities or suspicious patterns — enabling informed decisions before integrating 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/serp-extract-agentdiet-dev-github-repository-dependency-license-e7ff9480/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
