# CSP default-src Decision Check

> CSP default-src Decision Check is a paid API for AI agents from webschutz.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Passively fetches and evaluates a target site's Content-Security-Policy default-src directive, returning a verdict, evidence, and recommended action.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/csp-default-src-decision?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csp-default-src-decision-check-53cd6063
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_epGaniElXE9pyMwFpYyNB

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 csp-default-src-decision-check-53cd6063 -d '<json body>'
```

Example prompt: Can you check whether example.com has a properly restrictive CSP default-src directive and tell me whether it passes, what the actual header value is, and what action I should take?

## When to prefer this

Use this endpoint when you need a lightweight, passive, single-criterion evaluation specifically of the CSP default-src directive — not a full multi-header audit. It is ideal for automated compliance gates, security scorecard pipelines, or change-detection workflows where you want a machine-readable verdict without active probing, login, or payload injection. Prefer it over full-site scanners when you only care about CSP default-src and want minimal latency and cost.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — check will fail with an error
- Target has no CSP header at all — verdict will be a fail with observation noting absence
- Malformed or unparseable CSP header — limitations field will note parsing issues
- Rate limiting or firewall on the target blocks the passive fetch
- Invalid or too-short target string rejected at input validation

## How this service works

CSP default source decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns the observed CSP default-src header value, the evaluation threshold applied, a pass/fail verdict, the exact evidence source (e.g. HTTP response header), any limitations of the passive check, and a mode-specific recommended action. If a baseline was supplied, change information is also included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csp-default-src-decision-check-53cd6063/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webschutz.halowerk.com](https://www.zero.xyz/host/webschutz.halowerk.com/llms.txt)
