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

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

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/dependency-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-8500de6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jzbfCQGnnZUwdKEPDGsK_

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-8500de6f
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo for me — check its license risk, how actively it's maintained, and whether there are any supply-chain security concerns before I start using it in my project?

## 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 or executing its code — especially for license compliance, supply-chain security, and maintenance health signals. It is purpose-built for coding agents performing pre-execution due diligence on open source packages.

## Known failure modes

- Invalid or non-existent repository name returns an error
- Repository in wrong format (not owner/name) causes a validation failure
- Private repositories may not be accessible and return an authorization error
- GitHub API rate limits could cause transient failures
- Payment failure via x402 prevents the request from completing

## 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/dependency-audit)

## Output

Returns a structured report covering license risk level, maintenance velocity metrics, repository popularity signals (stars, forks), and supply-chain security findings for the specified GitHub 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-8500de6f/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)
