# GitHub Repository Dependency & License Security Auditor

> GitHub Repository 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).

Audits a GitHub repository for license risk, maintenance health, popularity signals, and supply-chain security vulnerabilities before integrating or executing its code.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/sbom-auditor?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-repository-dependency-license-security-e61f1270
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_geH4RtENJ3jHA3WdQgKiD

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-repository-dependency-license-security-e61f1270 -d '<json body>'
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo and tell me if it's safe to use — check the license risk, how actively it's maintained, its popularity, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI agent or developer needs a pre-flight check before adopting, integrating, or executing code from a GitHub repository — especially for license compliance, supply-chain risk, and maintainer health signals. Prefer this over manual GitHub browsing when you need a structured, automated risk report suitable for agent decision-making pipelines.

## Known failure modes

- Invalid or non-existent repo format returns an error (e.g. missing owner/name separator)
- Private or inaccessible repositories may fail to return full audit data
- GitHub API rate limits may cause partial or failed responses
- Repositories with no declared dependencies may return limited supply-chain data
- Network timeouts on large repositories with many transitive 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/sbom-auditor)

## Output

A structured report covering license type and risk classification, maintenance velocity metrics (commit frequency, last activity), repository popularity signals (stars, forks), and supply-chain security findings including dependency vulnerabilities — enabling an agent to make an informed decision before integrating or executing code from 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-repository-dependency-license-security-e61f1270/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)
