# GitHub Repository Security & License Auditor

> GitHub Repository 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).

Evaluates a GitHub repository for license risk, maintenance velocity, stars/forks, dependency health, and supply-chain security signals.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/github-scanner?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-security-license-auditor-858607e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-yAhEKMTkyTUDFiBBFqfQ

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-security-license-auditor-858607e3
```

Example prompt: Can you audit the langchain-ai/langgraph GitHub repo and tell me if it's safe to use — I need to know about the license type, how actively it's maintained, and any supply-chain security concerns?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs to vet an open source GitHub repository before adopting it as a dependency, running its code, or integrating it into a supply chain — especially when license compliance, maintenance health, or security posture are concerns. Prefer this over generic GitHub API calls when you need an opinionated, pre-scored risk summary rather than raw repository metadata.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repository returns not-found error
- GitHub API rate limiting may cause degraded or incomplete results
- Repos with no releases or very sparse metadata may return incomplete scores
- Network timeout if GitHub is slow to respond

## 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/github-scanner)

## Output

Returns a structured report covering license type and risk classification, repository maintenance velocity (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security flags such as dependency vulnerability indicators and suspicious package patterns.

## 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-security-license-auditor-858607e3/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)
