# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from sec-intel.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 health, popularity metrics, and supply-chain security before integrating or executing its code.

## Facts

- Endpoint: GET https://sec-intel.agentdiet.dev/v1/github?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: sec-intel.agentdiet.dev
- Website: https://sec-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/sec-intel-agentdiet-dev-github-repository-security-license-auditor-06690981
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OwXlxBefQoD49mpYJH1aC

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 sec-intel-agentdiet-dev-github-repository-security-license-auditor-06690981
```

Example prompt: Before I add langchain-ai/langgraph to my project, can you audit that GitHub repo for license risks, how actively it's maintained, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adopting it as a dependency, executing its code, or integrating it into a supply chain. It is especially useful for automated CI/CD pipelines, agentic coding workflows, or compliance checks where license risk and maintenance health must be evaluated programmatically. Prefer this over generic vulnerability scanners when you need a holistic view combining license compliance, community health, and supply-chain signals in a single call.

## Known failure modes

- Invalid or non-existent repository (owner/name format error) — returns error indicating repo not found
- Private or inaccessible repository — may return limited or empty data
- GitHub API rate limiting — may return partial results or timeout
- Repository with no license file — license risk returned as unknown or high
- Network timeout when fetching live GitHub data

## 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://sec-intel.agentdiet.dev/v1/github)

## Output

Returns a structured report covering the repository's detected license and its risk classification, maintenance velocity indicators (commit frequency, recency), community signals (stars, forks), and supply-chain security assessment flags such as dependency anomalies or known risk patterns.

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