# GitHub Repo, Dependency & License Security Auditor

> GitHub Repo, Dependency & License Security Auditor is a paid API for AI agents from preflight.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

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

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-github-repo-dependency-license-security-auditor-20574970
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-EGhMC9qUjUEwSivfdjUi

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 preflight-agentdiet-dev-github-repo-dependency-license-security-auditor-20574970 -d '<json body>'
```

Example prompt: Before I integrate it into my project, can you audit the langchain-ai/langgraph GitHub repo for license risk, supply-chain security issues, and check whether it's actively maintained?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing its code, or using it in a production system. It is especially valuable for automated CI/CD security gates, open source license compliance workflows, and supply-chain risk assessments. Prefer it over manual GitHub inspection when you need structured, machine-readable risk signals across license, maintenance health, and dependency security in a single call.

## Known failure modes

- Invalid or non-existent repo format returns an error (e.g. malformed owner/name string)
- Private repositories that cannot be accessed return an access error
- GitHub API rate limiting may cause transient failures
- Repositories with no dependencies or metadata may return partial results
- Network timeouts on very 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://preflight.agentdiet.dev/v1/workflows/code-release-security-gate)

## Output

Returns a structured report covering license classification and risk level, maintenance velocity indicators (commit frequency, last activity), repository popularity metrics (stars, forks), and supply-chain security findings including dependency vulnerability signals — giving an agent or developer a go/no-go signal for using the repository.

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