# GitHub Repository Security & License Auditor

> GitHub Repository Security & License 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, dependency supply-chain vulnerabilities, maintenance velocity, and community health metrics before code integration or execution.

## Facts

- Endpoint: POST https://serp-extract.agentdiet.dev/v1/github-secops-auditor?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-security-license-auditor-601de84d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VetKFj3_ktXiHrQPIXHew

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-security-license-auditor-601de84d -d '<json body>'
```

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

## When to prefer this

Use this endpoint when an AI coding agent or developer needs a pre-flight security and compliance check on a GitHub repository before integrating it as a dependency, executing its code, or recommending it to users. Prefer this over manual GitHub inspection when you need a structured, machine-readable risk report covering license, supply-chain, and maintenance dimensions in a single call.

## Known failure modes

- Invalid or non-existent repository returns an error indicating the repo was not found
- Private repositories may return insufficient data or access errors
- Rate limiting from GitHub API may cause partial results or timeouts
- Repositories with no package manifest files may return limited dependency analysis
- Malformed owner/name format returns 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/github-secops-auditor)

## Output

Returns a structured report covering license type and risk classification, maintenance velocity indicators (commit frequency, last activity), repository popularity metrics (stars, forks, contributor count), and supply-chain security findings including known vulnerable dependencies or suspicious package behaviors.

## 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-security-license-auditor-601de84d/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)
