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

Evaluates any GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security vulnerabilities before code execution.

## Facts

- Endpoint: GET https://serp-extract.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: 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-e4f0d157
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L5R-murugRvRT2J_fR9dq

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-e4f0d157
```

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

## When to prefer this

Choose this endpoint when an AI agent needs to vet a GitHub repository before integrating it as a dependency, executing its code, or recommending it to users — particularly for license compliance, supply-chain security, and maintenance health signals. Prefer this over generic web search when you need structured, machine-readable security and licensing data specifically for GitHub repos.

## Known failure modes

- Repository not found or private — returns error if the repo doesn't exist or is inaccessible
- Invalid repo format — returns validation error if owner/name format is malformed
- Rate limiting from upstream GitHub API — may return 429 or degraded response
- Repository has no dependency manifest — supply-chain analysis may be incomplete or unavailable
- Network timeout if the repository has an unusually large number of 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://serp-extract.agentdiet.dev/v1/code-security)

## Output

Returns a structured JSON object containing license type and risk level, repository maintenance velocity indicators (commit frequency, last commit date), community signals (stars, forks), supply-chain security findings, and dependency vulnerability flags — giving an agent a comprehensive pre-execution safety profile of the 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)"
  },
  "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-e4f0d157/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)
