# GitHub Repository Security & License Auditor

> GitHub Repository Security & License 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-23).

Audits any GitHub repository for license risk, maintenance velocity, supply-chain security, stars, and forks before integrating or executing code.

## Facts

- Endpoint: POST https://sec-intel.agentdiet.dev/v1/repo-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-security-license-auditor-6231e546
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s2bw3SYNQXoqcR4KVxYs_

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-security-license-auditor-6231e546 -d '<json body>'
```

Example prompt: Before I integrate langchain-ai/langgraph into our project, can you audit that GitHub repo for license risks, how actively it's maintained, and any supply-chain security concerns?

## When to prefer this

Choose this endpoint when an AI agent or developer needs to programmatically vet a GitHub repository before integrating it as a dependency or executing its code — especially when license compliance, supply-chain security, and maintenance health all need to be assessed in a single call. Prefer this over manual GitHub browsing when automating due diligence in CI/CD pipelines or agent workflows.

## Known failure modes

- Invalid or non-existent repository (owner/name format wrong or repo not found on GitHub)
- Private repository inaccessible without credentials
- GitHub API rate limiting causing incomplete data
- Repository too new or empty to assess maintenance velocity
- Payment failure via x402 protocol blocking the request

## 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-audit)

## Output

Returns a structured report on the repository including license type and risk level, maintenance velocity (commit activity, last update), star and fork counts as community health signals, and supply-chain security findings such as dependency vulnerabilities or suspicious package behavior.

## 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-security-license-auditor-6231e546/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)
