# GitHub Repository Security & License Auditor

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

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

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/github-secops-auditor?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-security-license-auditor-81e758ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TbXOCaMjtzcZ3vU8qgSdi

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-security-license-auditor-81e758ec
```

Example prompt: Before I add langchain-ai/langgraph to my project, can you run a security and license audit on it — I want to know about any supply-chain risks, whether it's actively maintained, and if the license is safe to use commercially?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, forking it, or executing its code — especially when license compliance, supply-chain integrity, or maintenance health are concerns. Prefer this over raw GitHub API calls when you need a pre-processed, risk-scored summary rather than raw metadata. Best suited for automated pre-flight checks in CI/CD pipelines or agent workflows that evaluate open source libraries.

## Known failure modes

- Invalid or non-existent repository (owner/name not found on GitHub) returns an error
- Rate limiting from GitHub API may cause degraded or failed responses
- Private repositories are inaccessible and will return an access error
- Repositories with no dependency manifest files may return incomplete supply-chain data
- Network or upstream GitHub API outages may cause timeouts

## 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/github-secops-auditor)

## Output

Returns a structured assessment of the GitHub repository including license type and risk level, maintenance velocity metrics (recent commit activity, last update), popularity signals (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious package behaviors.

## 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-security-license-auditor-81e758ec/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)
