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

Scans a GitHub repository for license risk, maintenance velocity, star/fork metrics, dependency vulnerabilities, and supply-chain security issues.

## Facts

- Endpoint: POST https://mcp-security.agentdiet.dev/v1/github-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- 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-1d39cbfc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qh8wEVe_hIYOuNASPRnw7

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

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

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs to vet a GitHub repository before importing or executing code from it — especially for license compliance checks, supply-chain risk assessment, or maintenance health scoring. It is particularly valuable before adding new open source dependencies to a production codebase or when conducting automated security reviews of third-party libraries.

## Known failure modes

- Invalid or non-existent repo (owner/name) returns an error indicating the repository was not found
- Private or inaccessible repositories may return insufficient data or an access error
- GitHub API rate limits may cause intermittent failures or incomplete results
- Repos with no dependency manifests may return empty dependency vulnerability sections
- Malformed repo format (not owner/name) triggers 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://mcp-security.agentdiet.dev/v1/github-scanner)

## Output

Returns a structured object covering: detected license type and associated risk level, repository maintenance velocity (commit frequency, last activity), stars and forks counts, dependency vulnerability findings, and supply-chain security flags such as typosquatting or suspicious contributor patterns.

## 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-1d39cbfc/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)
