# 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, supply-chain security, and dependency health before code adoption or execution.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/sbom-auditor?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-adc8cdd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xAX2cHmsCAm-gb6hQyYT3

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-adc8cdd8
```

Example prompt: Before I add it as a dependency, can you audit the GitHub repo langchain-ai/langgraph for license risk, maintenance activity, and any supply-chain security issues?

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs to vet a GitHub repository before adopting it as a dependency, forking it, or executing its code — especially when license compatibility, supply-chain integrity, or long-term maintenance health are concerns. Prefer this over generic GitHub API calls when you need a single-call opinionated security and compliance summary rather than raw repository metadata.

## Known failure modes

- Repository not found or misspelled owner/name — returns error indicating invalid repo format
- Private repository with no public access — returns access denied or empty result
- GitHub API rate limiting — may return partial or delayed data
- Repo with no license file — license risk field may be null or flagged as unknown
- Very new repositories with minimal data — maintenance velocity metrics may be sparse

## 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/sbom-auditor)

## Output

Returns a structured report including the repository's license type and risk level, recent maintenance velocity (commit frequency, last update), star and fork counts, and supply-chain security findings such as dependency vulnerabilities or 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-adc8cdd8/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)
