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

> GitHub Repository License, Dependency & Supply-Chain Security Auditor is a paid API for AI agents from defi-yield.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 health signals, and supply-chain security before integrating or executing its code.

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: defi-yield.agentdiet.dev
- Website: https://defi-yield.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/defi-yield-agentdiet-dev-github-repository-license-dependency-supply-93a5e0b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P6AgG2PBmx6BizbwSYAdx

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 defi-yield-agentdiet-dev-github-repository-license-dependency-supply-93a5e0b7 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency in our project, can you audit the GitHub repo for license risks, supply-chain security issues, and check how actively it's maintained?

## When to prefer this

Choose this endpoint when you need a combined license-risk, maintenance-health, and supply-chain security assessment for a GitHub repository in a single call — especially before integrating a new open-source dependency, running untrusted code, or gating a release pipeline. Prefer it over standalone CVE scanners when you need the full picture including license compliance and repo vitality signals together.

## Known failure modes

- Invalid or non-existent repo format returns an error (repo must be in owner/name format)
- Private or inaccessible repositories may return insufficient data
- GitHub API rate limits may cause transient failures
- Repos with no dependency manifests may yield incomplete supply-chain analysis
- Payment failure (402) if x402 USDC balance is insufficient

## 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://defi-yield.agentdiet.dev/v1/workflows/code-release-security-gate)

## Output

Returns a structured security report covering: detected license type and risk level, maintenance velocity indicators (commit frequency, last activity), repository health signals (stars, forks), and supply-chain security findings such as dependency vulnerabilities or suspicious patterns — enabling a go/no-go decision before code integration or execution.

## 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/defi-yield-agentdiet-dev-github-repository-license-dependency-supply-93a5e0b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-yield.agentdiet.dev](https://www.zero.xyz/host/defi-yield.agentdiet.dev/llms.txt)
