# Webschutz CSP Audit

> Webschutz CSP Audit 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-18).

Passively fetches and evaluates the Content Security Policy of a public URL, returning an observation, verdict, evidence source, limitations, and recommended action.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/csp-audit?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webschutz-csp-audit-1fb178bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k6hB4eRH8eyBA3PbG9-Xj

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 webschutz-csp-audit-1fb178bd -d '<json body>'
```

Example prompt: Can you do a passive CSP audit on https://example.com and tell me if the Content Security Policy is properly configured, what the verdict is, and what action I should take?

## When to prefer this

Use this endpoint when you need a passive, read-only audit of a public site's Content Security Policy with structured verdict and evidence — without triggering active exploits, logins, or form submissions. Prefer it over generic header checkers when you need machine-readable verdicts with thresholds, evidence sourcing, baseline comparison, and actionable remediation guidance integrated in a single response.

## Known failure modes

- Target URL is unreachable or returns a non-200 response — audit cannot retrieve evidence
- Target uses a private/intranet URL not accessible from the auditor — no evidence returned
- CSP is delivered via a non-standard mechanism not covered by the passive check — limitation noted in response
- Malformed or oversized target URL rejected with validation error
- Rate limit or payment failure results in 402/429 response

## How this service works

Content Security Policy audit 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 an observation describing the current CSP state, a pass/fail verdict against the documented criterion, the exact evidence source (e.g. response header or meta tag), applicable limitations, and a mode-specific recommended action — all without performing any login, payload injection, or active attack.

## 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/webschutz-csp-audit-1fb178bd/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)
