# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from cve-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown.

Evaluates a GitHub repository for license risk, maintenance velocity, star/fork metrics, and supply-chain security threats before integrating or executing its code.

## Facts

- Endpoint: POST https://cve-intel.agentdiet.dev/v1/github?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Activations on Zero: 0
- Provider: cve-intel.agentdiet.dev
- Website: https://cve-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/cve-intel-agentdiet-dev-github-repository-security-license-auditor-57a6e82a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nfUS1cF-4-Qp_6swnlkmJ

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 cve-intel-agentdiet-dev-github-repository-security-license-auditor-57a6e82a -d '<json body>'
```

Example prompt: Before I pull in 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 an AI coding agent or developer needs a quick pre-integration security snapshot of a GitHub repository — especially for license compliance, supply-chain risk, and maintenance health — before adding a new dependency or executing third-party code. It is ideal for automated pipelines that vet open source packages before inclusion, or for due diligence workflows requiring a single-call audit covering license, activity, and vulnerability signals together.

## Known failure modes

- Invalid or non-existent repository — returns an error if the owner/name format is wrong or the repo doesn't exist on GitHub
- Private repository inaccessible — cannot audit repos that require authentication
- Rate limiting or GitHub API unavailability — may fail transiently if upstream GitHub API is throttled
- Payment failure — x402 micropayment not completed, request rejected
- Incomplete dependency graph — repos with unusual build systems may yield partial supply-chain results

## 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://cve-intel.agentdiet.dev/v1/github)

## Output

Returns a structured report covering the repository's license type and risk level, maintenance velocity indicators (commit frequency, last commit date), popularity signals (stars, forks), and supply-chain security findings including known vulnerabilities or dependency risks.

## 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/cve-intel-agentdiet-dev-github-repository-security-license-auditor-57a6e82a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cve-intel.agentdiet.dev](https://www.zero.xyz/host/cve-intel.agentdiet.dev/llms.txt)
