# GitHub Repo Dependency & License Security Auditor

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

Audits any GitHub repository for license risk, maintenance velocity, stars/forks metrics, and supply-chain security signals before code integration or execution.

## Facts

- Endpoint: GET https://serp-extract.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- 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-repo-dependency-license-security-2172a0f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1jVpuH_sxMmIplp7Cb1iE

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-repo-dependency-license-security-2172a0f9
```

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

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-integration safety gate for any GitHub repository — specifically when license compliance, maintenance health, or supply-chain integrity are concerns before adding a dependency or executing code from an open-source project. It is especially useful in automated CI/CD pipelines, agent-driven dependency vetting workflows, or enterprise open-source governance contexts where a single structured audit call is needed rather than manually inspecting GitHub, OSV, or license databases separately.

## Known failure modes

- Invalid or non-existent repository name returns an error or empty result
- Private repositories may not be accessible and return a 404 or authorization error
- Rate limiting from GitHub API may cause delayed or failed responses
- Repositories with no dependency manifests may return incomplete supply-chain data
- Malformed owner/name format (e.g. missing slash) causes a validation error

## 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/secret-leak-scan)

## Output

Returns a structured report covering the repository's detected license type and associated risk level, maintenance velocity indicators (commit frequency, last activity), popularity metrics (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious patterns — helping an agent decide whether the repo is safe to integrate or execute.

## 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)"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp-extract-agentdiet-dev-github-repo-dependency-license-security-2172a0f9/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)
