# GitHub Repository Security & License Risk Auditor

> GitHub Repository Security & License Risk Auditor is a paid API for AI agents from arxiv-digest.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, popularity signals, and supply-chain security before code execution or dependency adoption.

## Facts

- Endpoint: GET https://arxiv-digest.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: arxiv-digest.agentdiet.dev
- Website: https://arxiv-digest.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/arxiv-digest-agentdiet-dev-github-repository-security-license-risk-158bf27a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uDSs0Gv4_hT9fvGMBYWp7

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 arxiv-digest-agentdiet-dev-github-repository-security-license-risk-158bf27a
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you run a full security and license audit on that GitHub repo so I know if there are any supply-chain risks or license issues I should worry about?

## When to prefer this

Choose this endpoint when you need a combined license compliance, maintenance health, and supply-chain security assessment for a GitHub repository in a single call — especially useful for coding agents performing pre-execution dependency vetting or compliance teams evaluating open source adoption risk. Prefer this over raw GitHub API calls when you need a pre-scored risk signal rather than raw metadata.

## Known failure modes

- Invalid or non-existent repository slug returns an error or empty result
- Private repositories may be inaccessible without authentication
- GitHub API rate limits could cause timeouts or partial data
- Repositories with no release history may have incomplete maintenance velocity scores
- Payment failure via x402 protocol prevents the call from completing

## 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://arxiv-digest.agentdiet.dev/v1/repo-risk-score)

## Output

Returns a structured risk assessment for the specified GitHub repository including license risk classification, maintenance velocity metrics (commit frequency, last activity), popularity signals (stars, forks), and supply-chain security indicators such as dependency vulnerability flags and 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/arxiv-digest-agentdiet-dev-github-repository-security-license-risk-158bf27a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from arxiv-digest.agentdiet.dev](https://www.zero.xyz/host/arxiv-digest.agentdiet.dev/llms.txt)
