# GitHub Repository License, Dependency & Supply-Chain Security Auditor

> GitHub Repository License, Dependency & Supply-Chain Security 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 velocity, community health (stars/forks), and supply-chain security before integrating or executing its code.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/repo-risk-score?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-license-dependency-ccae9799
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_frXDobMERGzj2dODCf4uq

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-license-dependency-ccae9799 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph to my project, can you audit that GitHub repo for license risks, supply-chain vulnerabilities, and check how actively maintained it is?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet a GitHub repository before integrating it as a dependency, cloning it for execution, or recommending it — especially when license compliance, supply-chain security, and maintenance health all need to be evaluated together in a single call. Prefer this over generic GitHub API calls when you need a consolidated risk score rather than raw metadata.

## Known failure modes

- Invalid or non-existent repository (owner/name format error or repo not found on GitHub)
- Private repository inaccessible without authentication
- GitHub API rate limiting causing incomplete data
- Payment failure via x402 preventing request execution
- Repository has no package manifest, making dependency analysis incomplete

## 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/repo-risk-score)

## Output

Returns a structured risk report for the specified GitHub repository, including license risk classification, maintenance velocity indicators (commit frequency, last commit date), community health signals (stars, forks, contributor count), supply-chain security flags (known CVEs, suspicious dependency patterns), and an overall risk score.

## 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-license-dependency-ccae9799/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)
