# GitHub Repo Dependency & License Security Auditor

> GitHub Repo Dependency & License 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).

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/license-compliance-scan?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-repo-dependency-license-security-299aa815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2P96FLHZSd876kjRRVmWW

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-repo-dependency-license-security-299aa815 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need to vet a GitHub repository before integrating it as a dependency, executing its code, or recommending it — especially when license compatibility, supply-chain security, and maintenance health all need to be evaluated in a single call. It is particularly valuable for coding agents performing automated dependency audits or for compliance workflows requiring license risk classification.

## Known failure modes

- Invalid or non-existent repo in owner/name format returns an error
- Private or inaccessible repositories cannot be scanned
- GitHub API rate limiting may cause transient failures
- Repos with no dependency manifests may return incomplete dependency data
- Malformed repo parameter (missing owner or name) triggers validation error

## 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/license-compliance-scan)

## Output

Returns a structured security and compliance report for the specified GitHub repository, including license type and risk classification, supply-chain vulnerability signals, maintenance velocity metrics (commit frequency, last activity), repository popularity indicators (stars, forks), and dependency audit findings that may block safe code execution or 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/defi-yield-agentdiet-dev-github-repo-dependency-license-security-299aa815/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)
