# SiteCheck Web Intel CSP Evaluator Audit

> SiteCheck Web Intel CSP Evaluator Audit is a paid API for AI agents from api.webintel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-25).

Fetches and evaluates a website's Content-Security-Policy HTTP header, identifying specific weaknesses like unsafe-inline, unsafe-eval, wildcards, and missing directives

## Facts

- Endpoint: GET https://api.webintel-api.workers.dev/api/security/csp-evaluator-audit?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-web-intel-csp-evaluator-audit-62365f8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wtw82ecr7QjhiDMTYqnIO

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-web-intel-csp-evaluator-audit-62365f8d
```

Example prompt: Can you audit the Content-Security-Policy header for github.com and tell me if it has any weak spots like unsafe-inline, unsafe-eval, wildcards, or missing directives?

## When to prefer this

Choose this endpoint when you need a quick, automated check of a specific domain's Content-Security-Policy HTTP header without setting up a full browser-based scanner. It is ideal for lightweight security audits, compliance checks, or CI/CD pipeline integrations where you want to flag known CSP weaknesses (unsafe-inline, unsafe-eval, wildcards, data: sources, missing directives) with a single API call. Not suitable when you need to also check meta-tag-based CSP or perform deep DOM-level security analysis.

## Known failure modes

- Domain not found or DNS resolution failure
- Target site does not return a CSP header (reported as missing policy)
- Site returns a malformed or unparseable CSP header
- Request times out if the target domain is slow to respond
- CSP embedded in a meta tag is not detected (HTTP header only)
- Non-existent or invalid domain format returns an error

## How this service works

Reads the Content-Security-Policy header of a site's home page and lists weak points: 'unsafe-inline' and 'unsafe-eval' in script sources, bare wildcards, data: or http: script sources, a missing default-src or script-src, and a missing policy altogether. Reports directives. Header only; a CSP in a meta tag is not read.

## Output

Returns the parsed Content-Security-Policy HTTP header directives for the target domain's home page, along with a list of identified weak points including: presence of 'unsafe-inline' or 'unsafe-eval' in script-src, bare wildcard sources, data: or http: scheme script sources, and whether default-src or script-src directives are missing or the policy is absent altogether. Does not read CSP from HTML meta tags.

## 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": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name such as github.com (required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-web-intel-csp-evaluator-audit-62365f8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webintel-api.workers.dev](https://www.zero.xyz/host/api.webintel-api.workers.dev/llms.txt)
