# GitHub Repository License & Supply-Chain Security Auditor

> GitHub Repository License & 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, stars/forks, and supply-chain security before code execution or dependency adoption.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/license-compliance-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-license-supply-chain-0bc05d62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FO-9g_H6KSOf2JlY_zbqi

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

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you do a full license compliance and supply-chain security audit on it — I need to know the license type, how actively it's maintained, its stars/forks, and any red flags?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet a GitHub repository for license compatibility, supply-chain security, and maintenance health before adopting it as a dependency or integrating its code — especially in commercial or regulated environments where license violations or vulnerable dependencies carry real risk.

## Known failure modes

- Invalid or non-existent repository slug returns an error
- Private or inaccessible repositories cannot be scanned
- GitHub API rate limits may cause transient failures
- Repositories with no license file may return incomplete license data
- Malformed owner/name format triggers input validation error

## 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/license-compliance-scan)

## Output

Returns a structured object containing license type and risk rating, maintenance velocity metrics, stars and forks counts, supply-chain security findings (e.g. dependency vulnerabilities, suspicious patterns), and an overall compliance summary 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-license-supply-chain-0bc05d62/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)
