# SiteCheck CORS Security Misconfiguration Audit

> SiteCheck CORS Security Misconfiguration Audit is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Tests a public HTTPS endpoint for CORS misconfigurations by sending GET requests with a custom origin, null origin, and no origin, then reporting whether the server reflects origins, allows null, returns wildcards, or allows credentials.

## Facts

- Endpoint: GET https://api.fadeandco.workers.dev/api/agent-intel/cors-security-misconfig-audit?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-cors-security-misconfiguration-audit-ce0e242c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OtZz7eXytMZPKXIyOHwyS

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 sitecheck-cors-security-misconfiguration-audit-ce0e242c
```

Example prompt: Can you run a CORS misconfiguration audit on https://api.myapp.com/v1/users and tell me if it reflects arbitrary origins, allows null origins, or has any dangerous credential settings?

## When to prefer this

Use this endpoint when you need a quick, automated CORS security check on a public GET-accessible HTTPS endpoint without setting up local tooling. It is best suited for pre-deployment checks, recon during security assessments, or validating that a third-party API you rely on doesn't have dangerous CORS policies. Prefer alternatives if you need preflight (OPTIONS) testing, POST/PUT method coverage, or authenticated session CORS behavior, as this endpoint only inspects GET response headers.

## Known failure modes

- Non-HTTPS or non-public URL provided — endpoint requires a public https:// address
- Target server is unreachable or returns connection errors — probe results may be incomplete
- Target rate-limits the audit probes — may return unexpected status codes skewing results
- Server returns no CORS headers at all — findings list will be empty but not an error
- Malformed URL input — will likely return a validation error

## How this service works

CORS check for a public HTTPS endpoint: three GET requests with a made-up origin, the null origin and no origin, reporting whether the server echoes the origin, allows null, returns a wildcard, and allows credentials. Only reads response headers of GET requests; it does not test preflight, methods or authentication.

## Output

A JSON object containing the audited URL, a severity level (e.g. HIGH, MEDIUM, LOW), probe results for three origin scenarios (no origin, null origin, custom origin) each with HTTP status and Access-Control-Allow-Origin / Access-Control-Allow-Credentials header values, a list of specific findings with issue type, detail, and severity, and a checkedAt timestamp. Note: only GET response headers are tested; preflight (OPTIONS), other HTTP methods, and authenticated flows are not covered.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public https:// endpoint address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://httpbin.org/get",
  "note": "GET responses only. Preflight (OPTIONS), other methods and authenticated responses are not tested.",
  "level": "HIGH",
  "probes": {
   "noOrigin": {
    "status": 200,
    "allowOrigin": "*",
    "allowCredentials": true
   },
   "nullOrigin": {
    "status": 200,
    "allowOrigin": "null",
    "allowCredentials": true
   },
   "customOrigin": {
    "status": 200,
    "allowOrigin": "https://cors-audit-probe.invalid",
    "allowCredentials": true
   }
  },
  "source": "https://httpbin.org/get",
  "findings": [
   {
    "issue": "origin-reflection",
    "detail": "server echoes an arbitrary origin",
    "severity": "high"
   },
   {
    "issue": "null-origin-allowed",
    "detail": "server allows the null origin",
    "severity": "medium"
   }
  ],
  "checkedAt": "2026-10-23T09:35:21.968Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-cors-security-misconfiguration-audit-ce0e242c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
