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

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

## Facts

- Endpoint: GET https://mcp-security.agentdiet.dev/v1/github?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-33deea97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R2ExUqEkc2c8yL0FFM50g

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-33deea97
```

Example prompt: Can you audit the GitHub repo langchain-ai/langgraph for me — check its license risk, whether it's actively maintained, its stars and forks, and any supply-chain or dependency security concerns before I add it as a dependency?

## When to prefer this

Choose this endpoint when an AI coding agent, developer, or security team needs a quick pre-integration audit of a GitHub repository covering license risk, maintenance health, popularity, and supply-chain security in a single call. It is ideal for automated DevSecOps pipelines, agent workflows that vet open source libraries before code execution, or due-diligence checks on third-party dependencies.

## Known failure modes

- Invalid or non-existent repo (owner/name format error or 404 on GitHub)
- Private repository inaccessible without credentials
- GitHub API rate limiting causing incomplete results
- Repository with no dependency files returns partial supply-chain data
- Payment failure or x402 authentication error blocks the request

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

## Output

Returns a structured report covering license type and risk level, repository maintenance velocity (commit frequency, last push date), popularity signals (stars and forks), and supply-chain security findings such as dependency vulnerabilities or suspicious patterns — all pulled live from the GitHub 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/mcp-security-agentdiet-dev-github-repository-security-license-auditor-33deea97/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)
