# 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-10-21).

Scans a GitHub repository for license risk, maintenance velocity, dependency supply-chain vulnerabilities, stars, and forks before code execution.

## Facts

- Endpoint: GET https://alpha-stream.agentdiet.dev/v1/github-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-af2737b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pzCeNmbO2dCjjSBq-DXC2

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

Example prompt: Before I add langchain-ai/langgraph to our project, 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 needs to vet a third-party GitHub repository before integration — especially for license compatibility checks, supply-chain security, or assessing whether a project is actively maintained. Prefer it over manual GitHub inspection or generic OSINT tools when you need a structured, machine-readable risk assessment in a single call.

## Known failure modes

- Invalid or non-existent repo format returns an error (repo must be owner/name)
- Private repositories may not be accessible and return a 404 or access-denied response
- GitHub API rate limits could cause transient failures
- Repositories with no license file may return ambiguous license risk data
- Payment failure via x402 results in a 402 response before the scan executes

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

## Output

Returns a structured assessment of the GitHub repository including license type and risk rating, maintenance velocity indicators (recent commits, last update), repository popularity metrics (stars, forks), and supply-chain/dependency security findings that help determine if the repo is safe to integrate.

## 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-af2737b4/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)
