# GitHub Repo, Dependency & License Security Auditor

> GitHub Repo, Dependency & License Security Auditor is a paid API for AI agents from token-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Evaluates a GitHub repository for license risk, maintenance health, popularity signals, and supply-chain security vulnerabilities before code execution or dependency adoption.

## Facts

- Endpoint: POST https://token-intel.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: token-intel.agentdiet.dev
- Website: https://token-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/token-intel-agentdiet-dev-github-repo-dependency-license-security-d4ea60c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FalmQeZjGtDdXdaOSVKwo

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 token-intel-agentdiet-dev-github-repo-dependency-license-security-d4ea60c0 -d '<json body>'
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit its GitHub repo for license risk, supply-chain security issues, and whether it's still actively maintained?

## When to prefer this

Use this endpoint when you need a pre-flight security and compliance check on any GitHub repository before adopting it as a dependency, executing its code, or integrating it into a pipeline. It uniquely combines license risk, supply-chain security, and maintenance health signals in a single call — ideal for CI/CD gates, agent-driven dependency reviews, or open source due diligence workflows.

## Known failure modes

- Invalid repo format (not owner/name) returns validation error
- Private or non-existent repository returns not-found or access-denied error
- GitHub API rate limits may cause intermittent failures
- Ambiguous or empty repo field triggers schema validation rejection
- Payment failure via x402 prevents execution

## 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://token-intel.agentdiet.dev/v1/workflows/code-release-security-gate)

## Output

Returns a structured report covering: license type and risk classification, maintenance velocity (commit frequency, last activity), repository popularity signals (stars, forks), and supply-chain security flags such as dependency risks, suspicious patterns, or honeypot indicators.

## 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/token-intel-agentdiet-dev-github-repo-dependency-license-security-d4ea60c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-intel.agentdiet.dev](https://www.zero.xyz/host/token-intel.agentdiet.dev/llms.txt)
