# Agent Auditor

> Agent Auditor is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Performs a due-diligence audit of an x402/MPP merchant origin, probing its service catalog, capturing real 402 challenge details, checking security headers, and cross-referencing on x402scan, PayAI, and ScoutScore.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-auditor
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-auditor-e94608ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DCaLmRbSnVk3N4Ezg5YlX

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 agent-auditor-e94608ed
```

Example prompt: Can you run a full due-diligence audit on the x402 merchant at https://example.com using a GET probe and tell me its trust score, any risk factors, and whether it's registered on x402scan and PayAI?

## When to prefer this

Choose this endpoint when an AI agent needs to vet an unknown x402/MPP merchant before authorizing payment — particularly when cross-checking registration across x402scan and PayAI discovery, inspecting real 402 challenge parameters, or assessing security headers is required. Prefer it over manual probing when a structured risk score and evidence bundle are needed for automated payment-gating decisions.

## Known failure modes

- SSRF guard blocks private/internal IP origins — only public http(s) URLs accepted
- Origin unreachable or times out — network error returned
- Discovery endpoint (/api/discovery) absent — partial audit with reduced score
- 402 challenge missing or malformed — evidence recorded but challenge fields empty
- x402scan or PayAI lookup failures — partial results with missing cross-check data

## How this service works

Due-diligence audit of any x402/MPP merchant origin on behalf of a paying agent: probes /api/discovery + service catalog, does an unpaid GET on a paid service to capture its real 402 PAYMENT-REQUIRED challenge (x402 version, resource, price), checks the free meta contract, records security headers, and cross-checks registration on x402scan, PayAI discovery and ScoutScore. SSRF-guarded; only public http(s) origins.

## Output

Returns a structured audit report including: an overall boolean success flag, a numeric score, a natural-language summary, arrays of strengths and risk factors, a confidence rating, a timestamp, and an evidence object containing raw findings from the 402 challenge probe, meta contract check, security header scan, and cross-registration checks on x402scan, PayAI, and ScoutScore.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "origin": {
       "type": "string",
       "description": "Composite input parameter"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Agent Auditor paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "score": {
         "type": "number"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "summary": {
         "type": "string"
        },
        "evidence": {
         "type": "object"
        },
        "strengths": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "confidence": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "riskFactors": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
         "type"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "service": "agent-auditor"
  },
  "service": "agent-auditor",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-auditor-e94608ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
