# GitHub Repository Supply Chain & License Security Auditor

> GitHub Repository Supply Chain & License Security Auditor is a paid API for AI agents from sec-intel.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, stars/forks, and supply-chain security before integrating or executing code

## Facts

- Endpoint: GET https://sec-intel.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: sec-intel.agentdiet.dev
- Website: https://sec-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/sec-intel-agentdiet-dev-github-repository-supply-chain-license-b9a3250f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWARwfI_r5mBZvt8IylaS

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 sec-intel-agentdiet-dev-github-repository-supply-chain-license-b9a3250f
```

Example prompt: Can you run a full security and license audit on the langchain-ai/langgraph GitHub repo — I want to know if it's safe to depend on before I add it to our codebase?

## When to prefer this

Choose this endpoint when an AI coding agent or developer workflow needs to vet a GitHub repository before importing, executing, or depending on it — especially for license compliance checks, supply-chain security pre-flight, or open source due diligence. Prefer it over generic GitHub API calls when you need a consolidated security-and-health report rather than raw repository metadata.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repository returns not-found error
- GitHub API rate limiting may cause transient failures
- Repository with no detectable license returns ambiguous license risk
- Payment failure (HTTP 402) if x402 payment not 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://sec-intel.agentdiet.dev/v1/repo-supply-chain-scan)

## Output

Returns a structured report covering the repository's license type and associated legal risk, maintenance velocity metrics (commit frequency, last activity), community signals (stars, forks), and supply-chain security indicators such as suspicious dependency patterns or known vulnerable packages.

## 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/sec-intel-agentdiet-dev-github-repository-supply-chain-license-b9a3250f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sec-intel.agentdiet.dev](https://www.zero.xyz/host/sec-intel.agentdiet.dev/llms.txt)
