# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from mcp-compiler.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 health, popularity metrics, and supply-chain security vulnerabilities before code adoption or execution.

## Facts

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

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-compiler-agentdiet-dev-github-repository-security-license-auditor-69ada988
```

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

## When to prefer this

Choose this endpoint when you need a pre-adoption security and compliance snapshot of a GitHub repository before integrating it as a dependency, forking it, or executing code from it. It is especially valuable for enterprise DevSecOps pipelines, open-source license compliance review, and supply-chain risk assessment workflows. Prefer this over manual GitHub inspection when you need a structured, machine-readable audit result in a single API call.

## Known failure modes

- Invalid or non-existent repository slug returns an error — ensure owner/name format is correct
- Private repositories may not be accessible and will return an authorization or not-found error
- Rate limits on the underlying GitHub API may cause transient failures
- Repositories with no dependency manifest files may return incomplete supply-chain data
- Network or upstream GitHub API outages may cause timeouts

## 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-compiler.agentdiet.dev/v1/code-security)

## Output

Returns a structured report covering the repository's detected license type and associated risk level, maintenance velocity indicators (recent commit activity, issue responsiveness), popularity signals (stars, forks), and supply-chain security findings including known 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/mcp-compiler-agentdiet-dev-github-repository-security-license-auditor-69ada988/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-compiler.agentdiet.dev](https://www.zero.xyz/host/mcp-compiler.agentdiet.dev/llms.txt)
