# 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-21).

Audits a GitHub repository for license risk, maintenance health, stars/forks metrics, dependency vulnerabilities, and supply-chain security issues.

## Facts

- Endpoint: GET https://sec-intel.agentdiet.dev/v1/secret-leak-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-security-license-auditor-ed7b7426
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_giJb9yE5gOXuZCR5U1E6t

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-ed7b7426
```

Example prompt: Before I add langchain-ai/langgraph as a dependency, can you audit that GitHub repo for license risks, supply-chain vulnerabilities, any leaked secrets, and tell me how actively maintained it is?

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs to vet a GitHub repository before adding it as a dependency, executing its code, or integrating it into a project — especially when license compatibility, secret leaks, supply-chain security, or maintenance health are concerns. It is purpose-built for pre-execution security due diligence on GitHub repos, making it more targeted than generic OSINT or vulnerability database lookup tools.

## Known failure modes

- Invalid or non-existent repository name returns an error or empty result
- Private repositories inaccessible without authentication may return 404 or access-denied
- GitHub API rate limiting may cause transient failures or degraded results
- Very large repositories may take longer to scan or return partial results
- Repositories with no dependency manifest files may have limited supply-chain analysis

## 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/secret-leak-scan)

## Output

Returns a structured security report including license type and risk rating, maintenance velocity metrics (commit frequency, last activity), repository popularity signals (stars, forks), detected dependency vulnerabilities, supply-chain security flags, and any identified secret or credential leaks in the repository.

## 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-ed7b7426/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)
