# GitHub Repository Security & License Auditor

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

Evaluates a GitHub repository for license risk, maintenance velocity, dependency supply-chain security, and community health signals (stars/forks) before use.

## Facts

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

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 mcp-security-agentdiet-dev-github-repository-security-license-auditor-975f5930
```

Example prompt: Before I add it as a dependency, can you audit the langchain-ai/langgraph GitHub repo — check its license risk, how actively it's maintained, its star/fork count, and any supply-chain security red flags?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-flight security and compliance check on a GitHub repository before adding it as a dependency, executing its code, or integrating it into a pipeline. It is especially valuable for supply-chain risk, license compliance auditing, and maintenance health checks — distinct from general web search or static code analysis tools.

## Known failure modes

- Invalid or non-existent repo slug returns an error — ensure format is exactly owner/name (e.g. langchain-ai/langgraph)
- Private repositories that are inaccessible via public GitHub API will return a not-found or access-denied error
- Rate limits from upstream GitHub API may cause transient failures for high-frequency calls
- Repos with no releases, no package manifests, or very sparse metadata may return limited supply-chain data
- Payment failure (HTTP 402) if x402 USDC balance is insufficient

## 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://mcp-security.agentdiet.dev/v1/github-scanner)

## Output

Returns a structured report covering the repository's detected license and its risk level, maintenance velocity metrics (commit recency, release cadence), community signals (stars, forks, watchers), and supply-chain security findings such as known vulnerable or malicious 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/mcp-security-agentdiet-dev-github-repository-security-license-auditor-975f5930/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-security.agentdiet.dev](https://www.zero.xyz/host/mcp-security.agentdiet.dev/llms.txt)
