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

Audits a GitHub repository for license risk, maintenance health, popularity metrics, and supply-chain/dependency security before integrating or executing its code.

## Facts

- Endpoint: GET https://alpha-stream.agentdiet.dev/v1/sbom-auditor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-security-license-auditor-3ae86f07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SlxvlyBLPc5tP5Xh3bYUX

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-3ae86f07
```

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

## When to prefer this

Choose this endpoint when an AI agent or developer needs a pre-flight security and compliance check on a GitHub repository before adopting it as a dependency, executing its code, or integrating it into a workflow. It is especially valuable for automated coding agents that pull external libraries, for security teams validating open-source usage policies, or for DevOps pipelines enforcing license compliance. Prefer this over generic GitHub API calls when you need an opinionated, consolidated risk report rather than raw repository metadata.

## Known failure modes

- Invalid or non-existent repository — returns error if owner/name format is wrong or repo does not exist on GitHub
- Private repository — audit may fail or return incomplete data if the repo is not publicly accessible
- GitHub API rate limiting — may return degraded or partial results during high-traffic periods
- Repository has no dependency manifest — supply-chain analysis returns empty if no package lockfile or manifest is present

## 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/sbom-auditor)

## Output

Returns a structured report covering: license type and risk level, maintenance velocity indicators (commit frequency, last update), repository popularity metrics (stars, forks), and supply-chain/dependency security findings including known vulnerabilities or risky transitive dependencies.

## 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-3ae86f07/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)
