# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from workflows.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, dependency supply-chain security, stars, and forks before code integration or execution.

## Facts

- Endpoint: GET https://workflows.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: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-github-repository-security-license-auditor-344b100f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kEMJcEfgtxalH0Cg7D7os

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 workflows-agentdiet-dev-github-repository-security-license-auditor-344b100f
```

Example prompt: Before I integrate it into my project, can you audit the GitHub repo langchain-ai/langgraph — check its license risk, how actively it's maintained, its stars and forks, and whether there are any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent needs to vet a GitHub repository before integrating a dependency, forking code, or executing scripts from it. It is particularly valuable for compliance checks (license risk), security-conscious CI/CD pipelines, and due-diligence workflows where maintenance health and supply-chain integrity matter. Prefer this over generic package vulnerability scanners (like the OSV.dev endpoint) when you need repo-level metadata — stars, forks, maintenance velocity — in addition to security signals.

## Known failure modes

- Repository not found or misspelled owner/name format — returns an error indicating invalid repo
- Private repository — scanner cannot access private repos and will return an access error
- GitHub API rate limiting — may return a rate-limit error under high load
- Repo has no license file — license risk field may be null or flagged as unknown
- Network timeout if GitHub is slow to respond — may return a timeout 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://workflows.agentdiet.dev/v1/github-scanner)

## Output

Returns a structured report covering the repository's license type and associated legal risk, maintenance velocity indicators (commit frequency, last activity), community metrics (stars, forks, contributor count), and supply-chain security signals such as dependency vulnerability flags and known risk 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/workflows-agentdiet-dev-github-repository-security-license-auditor-344b100f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workflows.agentdiet.dev](https://www.zero.xyz/host/workflows.agentdiet.dev/llms.txt)
