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

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

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/secret-leak-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-198ab6ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JV2Xagm4ZWhzroov00R0Z

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-198ab6ec -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risks, supply-chain security issues, and whether it's actively maintained?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet a third-party GitHub repository before adding it as a dependency, forking it, or executing any of its code — particularly when license compliance, supply-chain security, or maintenance health are concerns. Prefer this over generic vulnerability scanners when you specifically need GitHub-native metadata (stars, forks, velocity) combined with license and dependency risk in a single call.

## Known failure modes

- Invalid or nonexistent repo format returns an error — must be in owner/name format
- Private repositories inaccessible without authentication return a not-found or permission error
- GitHub API rate limits may cause temporary failures for high-volume usage
- Repos with no dependency manifest files may return partial supply-chain data
- Network timeouts may occur for very large repositories with many dependencies

## 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/secret-leak-scan)

## Output

Returns a structured report covering the repository's license type and associated commercial risk, maintenance velocity (commit frequency, recency), community signals (stars, forks, contributor count), and supply-chain security indicators such as dependency vulnerabilities or suspicious patterns — enabling an agent or developer to make an informed decision before using or executing code from the repo.

## 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-198ab6ec/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)
