{"uid":"cap_epGaniElXE9pyMwFpYyNB","slug":"csp-default-src-decision-check-53cd6063","name":"CSP default-src Decision Check","description":"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.","url":"https://webschutz.halowerk.com/v1/csp-default-src-decision?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_69y1gHkUOTIPXoo00cyI0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Passively fetches and evaluates a target site's Content-Security-Policy default-src directive, returning a verdict, evidence, and recommended action.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-launch security gate check","prompt":"Before we go live with shopfront.io, can you evaluate its CSP default-src directive and tell me if it passes the security threshold and what we need to fix?"},{"title":"Continuous compliance monitoring","prompt":"I want to monitor api.myapp.com's CSP default-src weekly — can you check it now against the baseline I captured last week and flag any changes?"},{"title":"Third-party vendor security review","prompt":"We're onboarding a new SaaS vendor at vendor-portal.example.com — can you audit their CSP default-src header and give me a verdict and recommended action so I can include it in the security review?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:41:58.749Z","isFirstParty":false,"canonicalSlug":"csp-default-src-decision-check-53cd6063"}