# GitHub Repository Supply-Chain Security & License Auditor

> GitHub Repository Supply-Chain Security & License 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-10-21).

Audits a GitHub repository for license risk, dependency vulnerabilities, maintenance velocity, and supply-chain security signals before code adoption or execution.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-supply-chain-security-9f9ecffd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IoiTNbeOPy3nkCx9lKXnn

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-supply-chain-security-9f9ecffd
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit it for license risk, how actively it's maintained, and any supply-chain security issues?

## When to prefer this

Choose this endpoint when an agent needs to vet a GitHub repository before adopting it as a dependency, executing its code, or recommending it — especially when license compliance, supply-chain integrity, or maintenance health are decision factors. Prefer it over a generic GitHub search when you need security-focused signals (vulnerability flags, license risk, supply-chain provenance) rather than just repository discovery.

## Known failure modes

- Repository not found or private — returns error if the owner/name doesn't exist or is inaccessible
- Invalid format — non-owner/name string causes validation rejection
- GitHub API rate limits — may return partial or degraded data under heavy load
- No license file detected — license risk field may be null or 'unknown'
- Payment required (HTTP 402) — call fails if x402 micropayment is not attached

## 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/repo-supply-chain-scan)

## Output

Returns a structured report covering the repository's license type and commercial-use risk, maintenance velocity metrics (last commit, release cadence), community signals (stars, forks), dependency vulnerability findings, and overall supply-chain security assessment flags.

## 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-supply-chain-security-9f9ecffd/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)
