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

Audits a GitHub repository for license risk, maintenance velocity, dependency health, and supply-chain security signals given an owner/repo slug.

## Facts

- Endpoint: POST https://llms-generator.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-a30514af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XkfExV3ypIs14Xb2tuYfv

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-a30514af -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a fast, pre-integration security and license audit of a specific GitHub repository before incorporating it as a dependency or executing its code. It is especially useful for automated CI/CD pipelines, open source due diligence workflows, legal compliance checks, and agentic coding assistants that need to vet third-party packages. Prefer this over manual GitHub inspection when you need structured, machine-readable outputs covering license risk, maintenance health, and supply-chain security in a single call.

## Known failure modes

- Invalid or non-existent repo slug returns an error — must use exact owner/name format (e.g. modelcontextprotocol/servers)
- Private or inaccessible repositories may return partial or empty results
- GitHub API rate limiting may cause degraded responses during high-traffic periods
- Repositories with no license file will return an unknown license risk signal
- Payment failure (HTTP 402) if x402 micropayment is not completed before the request

## 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/secret-leak-scan)

## Output

A structured report covering the repository's license type and risk level, maintenance velocity (commit frequency, last commit date), popularity signals (stars, forks), dependency vulnerability findings, and supply-chain security indicators such as potential secret leaks or malicious package signals.

## 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-a30514af/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)
