# GitHub Repository Security & License Auditor

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

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

## Facts

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

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 llms-generator-agentdiet-dev-github-repository-security-license-auditor-a9e0057f -d '<json body>'
```

Example prompt: Before I use langchain-ai/langgraph in my project, can you audit it for license risks, check if it's actively maintained, and flag any supply-chain security issues?

## When to prefer this

Choose this endpoint when an AI coding agent needs to evaluate a GitHub repository before importing it as a dependency, executing its code, or recommending it to a developer — especially when license compliance, maintenance health, and supply-chain security are all required in a single call rather than separate lookups.

## Known failure modes

- Invalid or non-existent repository (owner/name not found on GitHub)
- Private repository inaccessible without credentials
- GitHub API rate limiting causing incomplete results
- Repository with no dependency manifest yields limited dependency analysis
- Payment failure or 402 rejection if USDC balance is insufficient

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

## Output

Returns a structured JSON report covering: license type and risk level, maintenance velocity indicators (commit frequency, last commit date), community health metrics (stars, forks, contributor count), dependency vulnerability findings, and supply-chain security flags such as suspicious contributors or dependency confusion 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/llms-generator-agentdiet-dev-github-repository-security-license-auditor-a9e0057f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llms-generator.agentdiet.dev](https://www.zero.xyz/host/llms-generator.agentdiet.dev/llms.txt)
