# GitHub Repository Dependency & License Security Auditor

> GitHub Repository Dependency & 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).

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/dependency-audit?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-dependency-license-03041374
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x-jAu_MKNVzJlHzjOFUui

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

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo for license risk, supply-chain security issues, and maintenance health before I add it as a dependency?

## When to prefer this

Use this endpoint when an AI agent or developer needs to vet a GitHub repository for license compatibility, supply-chain risk, or maintenance health before adopting it as a dependency or executing its code — particularly in automated CI/CD pipelines, vendor evaluations, or open source due diligence workflows. Prefer it over manual GitHub inspection when you need a structured, machine-readable risk report in a single API call.

## Known failure modes

- Invalid or non-existent repository format returns an error
- Private repositories inaccessible without proper GitHub credentials may fail
- GitHub API rate limits could cause transient failures
- Repositories with no license file may return ambiguous license risk data
- Payment failure (x402) prevents the audit from completing

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

## Output

Returns a structured report covering the repository's license type and associated risk level, maintenance velocity indicators (commit frequency, last update), community trust signals (stars, forks), and supply-chain security findings — giving agents a clear go/no-go signal before adopting or executing code from the 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-dependency-license-03041374/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)
