# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from company-enrich.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Scans a GitHub repository for license risk, maintenance velocity, stars/forks, dependency health, and supply-chain security signals before integrating or executing its code.

## Facts

- Endpoint: POST https://company-enrich.agentdiet.dev/v1/github-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: company-enrich.agentdiet.dev
- Website: https://company-enrich.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/company-enrich-agentdiet-dev-github-repository-security-license-auditor-e0aa1e4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0pNqP3ugeeXigOSNlf12W

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 company-enrich-agentdiet-dev-github-repository-security-license-auditor-e0aa1e4f -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when an AI coding agent, DevSecOps pipeline, or developer needs a pre-adoption security and compliance snapshot of a GitHub repository — especially for supply-chain vetting, license compliance checks, or assessing whether a dependency is actively maintained. Prefer this over manual GitHub browsing or generic web search when you need structured, machine-readable signals across license, maintenance, and security dimensions in a single call.

## Known failure modes

- Invalid or non-existent repo (owner/name format error or repo not found on GitHub)
- GitHub API rate limiting causing incomplete data retrieval
- Private repository inaccessible without authentication
- Repo with no license file returning ambiguous license risk
- Network timeout on large repositories with many dependencies

## 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://company-enrich.agentdiet.dev/v1/github-scanner)

## Output

Returns a structured assessment of the GitHub repository including license type and associated legal/compliance risk, maintenance velocity (commit frequency, last commit date), community signals (stars, forks, contributor count), dependency security posture, and supply-chain risk indicators — giving an agent or developer a clear go/no-go signal before adopting or executing code from the repo.

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