# GitHub Repository Supply Chain & License Security Auditor

> GitHub Repository Supply Chain & License 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).

Scans a GitHub repository for license risk, maintenance velocity, star/fork metrics, dependency vulnerabilities, and supply-chain security issues before code adoption or execution.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/repo-supply-chain-scan?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-supply-chain-license-0ab2af9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pOyC9mwtvSHahXCU12Y5b

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-supply-chain-license-0ab2af9e -d '<json body>'
```

Example prompt: Before we add langchain-ai/langgraph as a dependency, can you run a full supply-chain and license audit on it — I need to know about license risk, how actively it's maintained, and any security red flags?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-flight check on a GitHub repository before adopting it as a dependency, integrating it into a codebase, or executing its code — especially when license compliance, supply-chain trust, or maintainer activity are concerns. It is particularly valuable in enterprise or regulated environments where open source governance is required.

## Known failure modes

- Invalid or non-existent repository (owner/name format incorrect or repo not found on GitHub)
- Private repository not accessible without authentication
- GitHub API rate limiting causing incomplete results
- Repository has no dependency manifest files, limiting supply-chain analysis
- Payment failure via x402 protocol preventing endpoint access

## 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-supply-chain-scan)

## Output

Returns a structured report covering the repository's license type and associated legal risk, maintenance velocity indicators (commit frequency, last activity, contributor count), popularity signals (stars and forks), and supply-chain security findings including dependency vulnerability flags and any suspicious patterns.

## 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-supply-chain-license-0ab2af9e/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)
