{"uid":"cap_Wtw82ecr7QjhiDMTYqnIO","slug":"sitecheck-web-intel-csp-evaluator-audit-62365f8d","name":"SiteCheck Web Intel CSP Evaluator Audit","description":"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.","url":"https://api.webintel-api.workers.dev/api/security/csp-evaluator-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dhu9pemTkya_gxdw6aMXl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and evaluates a website's Content-Security-Policy HTTP header, identifying specific weaknesses like unsafe-inline, unsafe-eval, wildcards, and missing directives","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-launch security header audit","prompt":"Before we go live, can you check the CSP header on staging.mycompany.com and flag any dangerous settings like unsafe-inline, bare wildcards, or missing script-src directives?"},{"title":"Competitor security posture check","prompt":"I want to know how strict stripe.com's Content-Security-Policy is — does it have any weak points like unsafe-eval or data: script sources?"},{"title":"Compliance review for client site","prompt":"Can you pull the CSP header for clientsite.io and give me a report on whether it's missing a default-src, allows unsafe-inline, or has any other policy weaknesses I should flag in my security review?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:33.883Z","isFirstParty":false,"canonicalSlug":"sitecheck-web-intel-csp-evaluator-audit-62365f8d"}