# GitHub Repository Security & License Risk Auditor

> GitHub Repository Security & License Risk Auditor is a paid API for AI agents from company-enrich.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 integrating or executing its code.

## Facts

- Endpoint: GET https://company-enrich.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: company-enrich.agentdiet.dev
- Website: https://company-enrich.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/company-enrich-agentdiet-dev-github-repository-security-license-risk-83f26891
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V6I4-YwXLAE0cJhYurFGy

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 company-enrich-agentdiet-dev-github-repository-security-license-risk-83f26891
```

Example prompt: Before I add langchain-ai/langgraph to my project, can you audit that GitHub repo for license risk, how actively it's maintained, and any supply-chain security red flags?

## When to prefer this

Use this endpoint when an AI coding agent or developer needs a pre-flight safety check on a GitHub repository before integrating it as a dependency, executing its code, or building on top of it. Prefer this over generic vulnerability scanners when you need a combined view of license risk, maintenance health, and supply-chain security in a single scored response for a GitHub repo identified by owner/name.

## Known failure modes

- Invalid repo format (not owner/name) returns a validation error
- Private or non-existent repository returns a not-found error
- GitHub API rate limits may cause transient failures
- Repositories with no dependency manifests may have incomplete supply-chain data
- Payment failure or missing x402 payment header results in 402 response

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

## Output

Returns a structured risk assessment for the given GitHub repository, including a license risk evaluation, maintenance velocity indicators (commit frequency, last update), popularity signals (star and fork counts), and supply-chain security findings (dependency vulnerabilities, suspicious packages or contributors).

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