# GitHub Repository Security & License Auditor

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

Analyzes a GitHub repository for license risk, maintenance velocity, dependency supply-chain vulnerabilities, stars, and forks before integrating or executing its code.

## Facts

- Endpoint: GET https://arxiv-digest.agentdiet.dev/v1/code-security?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-auditor-c6f4ad40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IF1adKAxqwq-yRbfjdvqG

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-auditor-c6f4ad40
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit its GitHub repo for license risk, maintenance health, and supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a pre-flight security and compliance check on a GitHub repository before adding it as a dependency or executing its code. It is especially useful for supply-chain risk assessment, license compliance workflows, and open source due diligence. Prefer it over manual GitHub inspection when you need structured, machine-readable risk signals in a single call.

## Known failure modes

- Repository not found (invalid owner/name format or private repo) — likely returns an error object
- GitHub API rate limiting may degrade result freshness
- Ambiguous or missing license file may result in unknown license risk
- Archived or unmaintained repos may have incomplete supply-chain data
- Malformed repo parameter (not in owner/name format) returns 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://arxiv-digest.agentdiet.dev/v1/code-security)

## Output

Returns a structured JSON object containing the repository's license type and associated risk level, maintenance velocity indicators (e.g. commit frequency, last update), community signals (stars, forks), and supply-chain/dependency security findings that help determine whether the repo is safe to integrate or execute.

## 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-auditor-c6f4ad40/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)
