{"uid":"cap_314tKv9smjalVuzc7RqTS","slug":"csp-default-src-audit-7d0bcac3","name":"CSP Default-Src Audit","description":"CSP default source 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.","url":"https://webschutz.halowerk.com/v1/csp-default-src-audit?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_i3iIqeNyKUThf8MNQMyGQ","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 audits a public URL or domain for its Content-Security-Policy default-src directive, returning the observed value, verdict, evidence source, and recommended action.","exampleAgentPrompt":"Can you do a passive CSP default-src audit on https://example.com and tell me whether its Content-Security-Policy default-src directive passes, what the exact header value is, and what action I should take if it fails?","exampleUseCases":[{"title":"Pre-launch security header check","prompt":"Before we go live with our new site at https://app.mycompany.com, can you audit 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 need to monitor https://shop.mybrand.com for CSP default-src changes — can you run an audit now and compare it against the baseline from last week's snapshot?"},{"title":"Third-party vendor security review","prompt":"We're onboarding a new SaaS vendor at https://vendor-portal.example.com — can you passively audit their CSP default-src header and report the verdict, evidence, and any recommended actions?"}],"resultDescription":"Returns the observed CSP default-src header value (or its absence), the evaluated threshold criterion, a pass/fail verdict, the exact evidence source (e.g. HTTP response header), noted limitations of the passive check, and a mode-specific remediation or confirmation action. No authentication, injection, or active exploitation is performed.","failureModes":["Target URL is unreachable or returns a non-200 status — audit cannot retrieve headers","Domain resolves but serves no HTTP response — evidence collection fails","CSP header is set via meta tag rather than HTTP header — passive check may not detect it","Very large or redirect-heavy targets may time out before headers are captured","Malformed target string returns a validation error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, passive, single-criterion audit of a site's CSP default-src directive without triggering active scans, logins, or payload injection. It is ideal for automated compliance pipelines, pre-deployment checks, and vendor security reviews where only the default-src policy matters. Prefer it over full-scanner endpoints when you want a focused, low-cost ($0.001) signal with a structured verdict and actionable output rather than a broad vulnerability report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T18:43:15.222Z","isFirstParty":false,"canonicalSlug":"csp-default-src-audit-7d0bcac3"}