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

Scans a GitHub repository for license risk, maintenance health, stars/forks metrics, dependency vulnerabilities, and supply-chain security issues before code execution.

## Facts

- Endpoint: POST https://mcp-security.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-a63c1bcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Lwv9SOIIiMM0WXXEmEne

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

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit it for license risks, supply-chain vulnerabilities, and any secret leaks, and tell me how actively it's maintained?

## When to prefer this

Choose this endpoint when an AI coding agent needs to vet a GitHub repository before importing, forking, or executing its code — especially for license compatibility checks, supply-chain risk assessment, or secret leak detection. Prefer this over generic vulnerability databases when you need a holistic, per-repo scorecard that combines license, maintenance health, community signals, and security in a single call.

## Known failure modes

- Invalid or non-existent repository format returns an error (repo must be in owner/name format)
- Private repositories inaccessible without credentials return access errors
- Rate limits from GitHub's API may cause transient failures
- Repositories with very large dependency trees may have incomplete scan coverage
- Payment failure via x402 protocol results in 402 response before scan executes

## 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/secret-leak-scan)

## Output

Returns a structured security report for the specified GitHub repository, including license type and risk level, maintenance velocity indicators (recent commits, last activity), stars and forks counts as community trust signals, supply-chain security findings (dependency vulnerabilities, malicious package indicators), and any detected secret or credential leaks.

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