# GitHub Repository License & Supply-Chain Security Auditor

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

Scans a GitHub repository for license risk, maintenance velocity, stars/forks metrics, and dependency supply-chain security vulnerabilities.

## Facts

- Endpoint: GET https://prompt-guard.agentdiet.dev/v1/license-compliance-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: prompt-guard.agentdiet.dev
- Website: https://prompt-guard.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/prompt-guard-agentdiet-dev-github-repository-license-supply-chain-69661dc4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kcq-jtw2L113Dxi5H8bkF

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 prompt-guard-agentdiet-dev-github-repository-license-supply-chain-69661dc4
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo for license risk, how actively it's maintained, and any supply-chain security concerns before I add it as a dependency?

## When to prefer this

Use this endpoint when you need a fast, pre-execution security and compliance check on a specific GitHub repository — especially when an AI coding agent is about to install, import, or execute code from an unfamiliar open source project and you need license risk, maintenance health, and supply-chain security signals in one call.

## Known failure modes

- Invalid or non-existent repo format returns an error
- Private or inaccessible repositories may not return full data
- GitHub API rate limits may cause timeouts or partial results
- Repos with no license file may return indeterminate license risk
- Payment failure via x402 results in HTTP 402 response blocking the scan

## 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://prompt-guard.agentdiet.dev/v1/license-compliance-scan)

## Output

Returns a structured report covering the repository's detected license type and associated risk level, maintenance velocity indicators, stars and forks counts, and supply-chain security findings including potentially vulnerable or suspicious 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/prompt-guard-agentdiet-dev-github-repository-license-supply-chain-69661dc4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prompt-guard.agentdiet.dev](https://www.zero.xyz/host/prompt-guard.agentdiet.dev/llms.txt)
