# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from alpha-stream.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

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

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/code-security?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: alpha-stream.agentdiet.dev
- Website: https://alpha-stream.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/alpha-stream-agentdiet-dev-github-repository-security-license-auditor-55dd8d4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_blUec_9pSTowx9XXNDLbc

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 alpha-stream-agentdiet-dev-github-repository-security-license-auditor-55dd8d4e -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, its stars and forks, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when you need a pre-integration security and compliance assessment of a GitHub repository — especially for license risk, supply-chain threats, and maintenance health — before adding it as a dependency or executing its code. It is more appropriate than a generic web search when you need structured, machine-readable security signals specifically tied to a repo's metadata, dependencies, and activity history.

## Known failure modes

- Invalid repo format — must be owner/name (e.g. modelcontextprotocol/servers), not a full URL
- Repository not found or is private — returns error if the repo doesn't exist or is inaccessible
- GitHub API rate limits may cause intermittent failures or stale data
- Payment required (HTTP 402) if x402 payment header is not included
- Incomplete data for very new or archived repositories with minimal activity

## 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://alpha-stream.agentdiet.dev/v1/code-security)

## Output

Returns a structured report covering license risk classification, maintenance velocity indicators (commit frequency, last activity), 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/alpha-stream-agentdiet-dev-github-repository-security-license-auditor-55dd8d4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alpha-stream.agentdiet.dev](https://www.zero.xyz/host/alpha-stream.agentdiet.dev/llms.txt)
