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

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

## Facts

- Endpoint: GET https://company-enrich.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: 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-58e7550c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t6LjaHitNAR6usTuKGUSp

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-58e7550c
```

Example prompt: Before I add langchain-ai/langgraph to our project, can you audit its GitHub repo for license risk, dependency vulnerabilities, and whether it's still being actively maintained?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adopting it as a dependency, forking it, or executing its code — particularly when license compliance, supply-chain security, or project abandonment risk are concerns. It is purpose-built for pre-execution security audits of GitHub repos, distinguishing it from generic code scanning or static analysis tools.

## Known failure modes

- Repository not found or misspelled owner/name format returns an error
- Private or inaccessible repositories cannot be analyzed
- GitHub API rate limits may cause temporary failures or incomplete data
- Repos with no declared license may return uncertain license risk
- Very new repos with no activity may have limited maintenance velocity data

## 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/code-security)

## Output

Returns a structured report covering the repository's license type and risk level, maintenance velocity indicators (commit frequency, last commit date), community signals (stars, forks), dependency vulnerability findings, and an overall supply-chain security assessment to inform whether the repo is safe to depend on or execute.

## 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-58e7550c/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)
