# AgentDiet Repo Supply Chain Scan

> AgentDiet Repo Supply Chain Scan is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Scans a Git repository for supply chain security risks and returns a compressed analysis with compression ratio proof

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/repo-supply-chain-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-repo-supply-chain-scan-c36f04f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WomtVAWYxVcfPYbfz8Q-F

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 agentdiet-repo-supply-chain-scan-c36f04f1
```

Example prompt: Can you scan the GitHub repo at https://github.com/myorg/myproject for supply chain security risks and tell me if any dependencies look compromised?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call ($0.01 USDC) supply chain security scan of a public Git repository without setting up heavyweight SAST tooling. Particularly useful for AI agents operating in agentic pipelines that need fast, compressed security verdicts with built-in token efficiency (context compression ratio proof included).

## Known failure modes

- Missing or invalid repo query parameter returns an error
- Private or inaccessible repository URLs may fail to scan
- Rate limiting or payment failure via x402 prevents execution
- Malformed repository URL returns validation error
- Service unavailable if the AgentDiet node is down

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a status field, a data object containing scan findings, and an roi_proof object showing the compression ratio (e.g. 91.4%) achieved by the context distillation layer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "repo": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-repo-supply-chain-scan-c36f04f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
