# GitHub Repository Supply-Chain Security & License Auditor

> GitHub Repository Supply-Chain Security & License Auditor is a paid API for AI agents from llms-generator.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Audits a GitHub repository for license risk, dependency supply-chain vulnerabilities, maintenance velocity, and community health metrics before code integration.

## Facts

- Endpoint: POST https://llms-generator.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: llms-generator.agentdiet.dev
- Website: https://llms-generator.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/llms-generator-agentdiet-dev-github-repository-supply-chain-security-f6cabcad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zNw8069333hVJNsYrTHsB

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 llms-generator-agentdiet-dev-github-repository-supply-chain-security-f6cabcad -d '<json body>'
```

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

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adding it as a dependency or integrating its code — especially for license compliance, supply-chain security posture, and maintenance health. Prefer this over generic web search when you need structured, machine-readable security signals rather than unstructured documentation.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repositories may return not-found errors
- GitHub API rate limits may cause intermittent failures
- Repos with no package manifest may have limited dependency analysis
- Payment failure via x402 protocol blocks request

## 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://llms-generator.agentdiet.dev/v1/repo-supply-chain-scan)

## Output

Returns a structured report covering: license type and risk level, supply-chain security findings, dependency vulnerability signals, repository maintenance velocity (commit frequency, last update), community health metrics (stars, forks), and an overall risk assessment for safe code integration.

## 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/llms-generator-agentdiet-dev-github-repository-supply-chain-security-f6cabcad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llms-generator.agentdiet.dev](https://www.zero.xyz/host/llms-generator.agentdiet.dev/llms.txt)
