# 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).

Audits a GitHub repository for license risk, maintenance velocity, dependency supply-chain vulnerabilities, stars, and forks before code integration or execution.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/github-secops-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-5519cbe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qYLxYbsfdJ0_7fnLaagGO

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-5519cbe6
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you run a full security and license audit on that GitHub repo — I want to know about any supply-chain risks, how actively it's maintained, and whether the license is permissive?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to vet a GitHub repository before integrating it as a dependency, executing its code, or incorporating it into a supply chain. It is especially valuable for automated CI/CD pipelines, coding agents performing open-source due diligence, or compliance workflows that require license verification. Prefer this over generic GitHub API calls when you need a consolidated, security-focused summary rather than raw metadata.

## Known failure modes

- Invalid or non-existent repository — returns error if owner/name format is wrong or repo is private/deleted
- GitHub API rate limit exceeded — may return incomplete data or error
- Repository with no dependency manifest — dependency analysis may be skipped or empty
- Network timeout fetching live GitHub data — partial results or timeout error
- Malformed repo parameter (missing slash, extra whitespace) — 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/github-secops-auditor)

## Output

Returns a structured audit report for the specified GitHub repository including: license type and risk classification, maintenance velocity indicators (commit frequency, last commit date), community metrics (stars, forks), dependency supply-chain security flags, and any detected vulnerability or honeypot signals.

## 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-5519cbe6/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)
