# GitHub Repository Supply-Chain Security & License Auditor

> GitHub Repository Supply-Chain Security & License Auditor is a paid API for AI agents from serp-extract.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, dependency vulnerabilities, and supply-chain security signals before code adoption or execution.

## Facts

- Endpoint: GET https://serp-extract.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: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-github-repository-supply-chain-security-7c8f6ab3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3_uo0LQc9-cnKLvRPCl75

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 serp-extract-agentdiet-dev-github-repository-supply-chain-security-7c8f6ab3
```

Example prompt: Can you audit the GitHub repo langchain-ai/langgraph for license risk, supply-chain vulnerabilities, and check how actively maintained it is before I add it as a dependency?

## 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 integrating it as a dependency, running its code, or recommending it to users. It is especially valuable for supply-chain-aware workflows, license compliance screening, and evaluating maintenance health of open source projects — all in a single call rather than manually querying GitHub, OSV.dev, and license databases separately.

## Known failure modes

- Invalid or non-existent repo slug returns an error or empty result
- Private repositories are inaccessible and will return an access error
- Rate limiting from GitHub API may cause transient failures
- Repositories with no dependency manifest files may return incomplete vulnerability data
- Malformed owner/name format (e.g. missing slash) triggers a 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://serp-extract.agentdiet.dev/v1/repo-supply-chain-scan)

## Output

Returns a structured report covering the repository's detected license type and risk level, maintenance velocity indicators (recent commit activity, last push date), community metrics (stars, forks), and supply-chain security findings such as dependency vulnerability flags or suspicious package signals.

## 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)"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp-extract-agentdiet-dev-github-repository-supply-chain-security-7c8f6ab3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
