# GitHub Repository Security & License Auditor

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

Audits a GitHub repository for license risk, maintenance health, popularity metrics, and supply-chain security vulnerabilities before integrating or executing code from it.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/github-secops-auditor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: agentdiet.dev
- Website: https://agentdiet.dev
- Canonical page: https://www.zero.xyz/c/agentdiet-dev-github-repository-security-license-auditor-20dc7b8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0hx5BaV1Lva8THNcIC0S

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 agentdiet-dev-github-repository-security-license-auditor-20dc7b8f
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you run a full security and license audit on that GitHub repo and tell me if it's safe to use in a commercial project?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, forking it, or executing code from it — especially when license compliance, maintenance activity, and supply-chain security all need to be evaluated in a single call. Prefer over manual GitHub browsing or generic CVE scanners when you need a consolidated, agent-ready risk summary with license analysis included.

## Known failure modes

- Repository not found or private — returns error if the repo slug is invalid or inaccessible without authentication
- Rate limiting from GitHub API — may return partial or delayed results under heavy load
- No dependency manifest found — supply-chain analysis may be incomplete if the repo lacks a recognizable lockfile or manifest
- Ambiguous license — repo may return an 'unknown' license risk if no recognized license file is present

## 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://agentdiet.dev/v1/github-secops-auditor)

## Output

Returns a structured report covering: detected license type and commercial-use risk, repository maintenance velocity (commit frequency, last commit date), popularity signals (stars, forks, watchers), and supply-chain security findings including vulnerable or suspicious dependencies.

## 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/agentdiet-dev-github-repository-security-license-auditor-20dc7b8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
