# GitHub Repository Supply-Chain Security Auditor

> GitHub Repository Supply-Chain Security Auditor is a paid API for AI agents from workflows.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 integration.

## Facts

- Endpoint: GET https://workflows.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: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-github-repository-supply-chain-security-auditor-0cbdde79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6Re_7y31EgO-f5YA3HWsw

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 workflows-agentdiet-dev-github-repository-supply-chain-security-auditor-0cbdde79
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you run a full supply-chain audit on it — check its license risks, how actively it's maintained, its stars and forks, and any security red flags?

## When to prefer this

Use this endpoint when a coding agent or developer needs to vet a GitHub repository before adding it as a dependency, adopting a library, or executing code from it — specifically when you need a combined view of license compliance, maintenance health, community signals, and supply-chain security in a single call. Prefer it over a generic CVE scanner (which covers packages, not repos) or a manual GitHub browse when automated pre-integration due diligence is required.

## Known failure modes

- Repository not found or is private — returns an error indicating the repo is inaccessible
- Invalid owner/name format — returns a validation error requesting correct format
- GitHub API rate limit exceeded — returns a rate-limit error suggesting retry
- Repository has no detectable license — license risk field may be null or flagged as unknown
- Network timeout fetching live GitHub data — returns a timeout 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://workflows.agentdiet.dev/v1/repo-supply-chain-scan)

## Output

Returns a structured report covering the repository's license type and associated risk level, commit/release frequency and maintenance velocity, star and fork counts as community health signals, 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/workflows-agentdiet-dev-github-repository-supply-chain-security-auditor-0cbdde79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workflows.agentdiet.dev](https://www.zero.xyz/host/workflows.agentdiet.dev/llms.txt)
