# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Audits a GitHub repository for license risk, maintenance velocity, dependency supply-chain vulnerabilities, and repository health metrics before code integration.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/github-secops-auditor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-github-repository-security-license-auditor-d38cd716
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yt69VFyyr2N0CxmKUL70J

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 onchain-risk-agentdiet-dev-github-repository-security-license-auditor-d38cd716 -d '<json body>'
```

Example prompt: Before I add it to my project, can you audit the langchain-ai/langgraph GitHub repo for license risks, check how actively it's maintained, and flag 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 it as a dependency, executing code from it, or recommending it to users — especially when license compliance, supply-chain security, or maintenance health are concerns. It is purpose-built for pre-execution due diligence on open source repos, combining license risk, vulnerability signals, and repository health into one call.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repository returns 404 or access error
- GitHub API rate limiting may cause transient failures
- Repos with no dependency manifest may yield incomplete supply-chain results
- Payment/402 failure if no valid x402 payment is provided

## 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://onchain-risk.agentdiet.dev/v1/github-secops-auditor)

## Output

Returns a structured security report for the given GitHub repository including license type and risk level, maintenance velocity indicators (commit frequency, last update), repository popularity metrics (stars, forks), and supply-chain security findings such as suspicious dependency patterns or known vulnerabilities.

## 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/onchain-risk-agentdiet-dev-github-repository-security-license-auditor-d38cd716/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
