# GitHub Repository License, Dependency & Supply-Chain Security Auditor

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

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security before code execution or integration.

## Facts

- Endpoint: POST https://prompt-guard.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-dependency-d5e70e40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ygNOnZQtB7o6m-XVrH-CO

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

Example prompt: Before I integrate langchain-ai/langgraph into our project, can you audit it for license risk, supply-chain security issues, and check how actively it's maintained?

## When to prefer this

Choose this endpoint when you need a pre-integration or pre-execution security gate specifically for GitHub repositories — covering license compliance, supply-chain risk, and maintenance health in a single call. Prefer this over manual GitHub inspection or generic vulnerability scanners when you need a structured, agent-consumable risk report that combines multiple signals (license, stars, maintenance velocity, dependency security) simultaneously. Ideal for CI/CD pipelines, AI coding agents evaluating third-party code, and open source adoption workflows.

## Known failure modes

- Invalid or non-existent repo format returns an error (repo must be in owner/name format)
- Private repositories inaccessible to the auditor return an access error
- GitHub API rate limits may cause transient failures
- Very new repositories with minimal history may return incomplete maintenance metrics
- Network timeouts for large repositories with many dependencies

## 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/workflows/code-release-security-gate)

## Output

Returns a structured security report covering: license type and risk level, maintenance velocity indicators (commit frequency, last update), repository popularity signals (stars, forks), supply-chain security findings (dependency vulnerabilities, flagged packages), and an overall risk assessment for 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/prompt-guard-agentdiet-dev-github-repository-license-dependency-d5e70e40/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)
