# GitHub Repository Security & License Risk Auditor

> GitHub Repository Security & License Risk 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).

Audits a GitHub repository for license risk, maintenance velocity, stars/forks metrics, and supply-chain security posture before integrating or executing its code.

## Facts

- Endpoint: GET https://workflows.agentdiet.dev/v1/repo-risk-score?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-risk-auditor-2de450b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ieigXHS28-XdLLH5dPMh5

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-risk-auditor-2de450b6
```

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 or developer needs a quick, pre-execution security and compliance snapshot of a GitHub repository — especially for evaluating open source dependencies for license compatibility, supply-chain integrity, and maintenance health before integrating them into a project or executing their code.

## Known failure modes

- Invalid repo format (not owner/name) returns an error
- Repository not found on GitHub returns 404-equivalent error
- Private or inaccessible repository cannot be evaluated
- GitHub API rate limiting may cause transient failures
- Payment required (HTTP 402) if x402 payment header is missing or insufficient

## 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/repo-risk-score)

## Output

Returns a structured risk assessment for the specified GitHub repository including license risk classification, maintenance velocity indicators, star and fork counts, and supply-chain security flags aggregated into an overall risk score.

## 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-risk-auditor-2de450b6/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)
