# 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 velocity, dependency supply-chain security, stars, and forks before integrating or executing code from it.

## Facts

- Endpoint: GET https://sec-intel.agentdiet.dev/v1/code-security?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-add65c77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y3_8ULm9L0Hl_xA7mXZeI

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-add65c77
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit its 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 integrating it as a dependency or executing its code — especially for license compliance checks, supply-chain security, and maintenance health signals. Prefer it over generic GitHub API calls when you want a pre-parsed, agent-ready risk summary rather than raw repository metadata.

## Known failure modes

- Invalid or non-existent repository name returns an error (repo not found)
- Private or inaccessible repositories may return incomplete or no data
- GitHub API rate limits could cause transient failures
- Malformed owner/name format (missing slash, extra path segments) triggers validation error
- Repositories with no dependency manifests may return limited supply-chain 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/code-security)

## Output

Returns a structured security report covering: license type and associated risk level, repository maintenance velocity (commit frequency, last update), community signals (stars, forks), and supply-chain/dependency security findings — giving an agent or developer a clear go/no-go signal before adopting 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/sec-intel-agentdiet-dev-github-repository-security-license-auditor-add65c77/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)
