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

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

## Facts

- Endpoint: POST https://serp-extract.agentdiet.dev/v1/github-scanner?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-d5499407
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5LhHn-d1J4IMZX-79dvDu

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-d5499407 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit it 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 coding agent or developer needs to vet a GitHub repository before importing, executing, or depending on its code — particularly for license compliance, supply-chain risk, and maintenance health signals. Prefer this over generic CVE scanners when you need holistic repo-level intelligence (not just package vulnerabilities) and over manual GitHub browsing when you need structured, machine-readable output for automated decision-making.

## Known failure modes

- Repository not found or private (invalid owner/name format returns error)
- GitHub API rate limiting causing incomplete data
- Repository with no license file returns unknown license risk
- Very new or empty repositories may have insufficient data for meaningful analysis
- Network timeout on large repos 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://serp-extract.agentdiet.dev/v1/github-scanner)

## Output

Returns a structured report covering: detected license type and associated risk level, maintenance velocity (commit frequency, recent activity), repository popularity signals (stars, forks), and supply-chain security indicators such as dependency vulnerabilities or suspicious patterns — all designed to inform a go/no-go decision before integrating or executing code from 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)"
  }
 }
}
```

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