# GitHub Repository Security & License Auditor

> GitHub Repository Security & License Auditor is a paid API for AI agents from prompt-guard.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 velocity, dependency supply-chain security, stars, and forks before integrating or executing its code.

## Facts

- Endpoint: GET https://prompt-guard.agentdiet.dev/v1/sbom-auditor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: prompt-guard.agentdiet.dev
- Website: https://prompt-guard.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/prompt-guard-agentdiet-dev-github-repository-security-license-auditor-0cc73086
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-xwftS_J9dlB5MxGQh7I8

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 prompt-guard-agentdiet-dev-github-repository-security-license-auditor-0cc73086
```

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

## When to prefer this

Choose this endpoint when an AI coding agent or developer needs a quick, automated pre-flight check on a GitHub repository before integrating it as a dependency or executing its code — especially when license compliance, maintenance health, and supply-chain security all need to be assessed in a single call without manually browsing GitHub or running separate SBOM tools.

## Known failure modes

- Invalid repo format (not owner/name) returns a validation error
- Private or non-existent repositories may return a 404 or access-denied error
- GitHub API rate limiting may cause intermittent failures
- Repositories with no dependency manifest may have incomplete supply-chain results
- Payment failure via x402 may block the request with HTTP 402

## 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://prompt-guard.agentdiet.dev/v1/sbom-auditor)

## Output

Returns a structured security report including license type and risk level, maintenance velocity metrics, star and fork counts, and a supply-chain security assessment of the repository's dependencies, helping agents and developers decide whether it is safe to integrate or execute.

## 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/prompt-guard-agentdiet-dev-github-repository-security-license-auditor-0cc73086/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prompt-guard.agentdiet.dev](https://www.zero.xyz/host/prompt-guard.agentdiet.dev/llms.txt)
