# 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-23).

Audits a GitHub repository for license risk, maintenance velocity, supply-chain security, stars/forks, and dependency health before integrating or executing code from it.

## Facts

- Endpoint: POST https://sec-intel.agentdiet.dev/v1/github?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-3d18e764
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vu0wBjcbXAV_qlp2WLjKF

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-3d18e764 -d '<json body>'
```

Example prompt: Before I add it as a dependency, can you audit the GitHub repo langchain-ai/langgraph — check its license risk, how actively it's maintained, and whether there are any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet an open source GitHub repository before adding it as a dependency, executing its code, or recommending it to a team — especially when license compliance, supply-chain trust, and maintenance health are all needed in a single call rather than manually checking multiple sources.

## Known failure modes

- Invalid or non-existent repository format returns an error (e.g. missing owner/name separator)
- Private or restricted repositories may return incomplete or no data
- GitHub API rate limits on the backend may cause temporary failures
- Repositories with no license file may yield incomplete license risk assessment
- Payment not processed (402) prevents execution

## 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 on the repository including license type and risk level, maintenance velocity (commit frequency, last commit date), popularity signals (stars, forks), supply-chain security findings, and dependency vulnerability indicators.

## 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-3d18e764/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)
