UserProof

UserProof / Free tools / CSP checker

CSP checker: will your analytics and replay scripts load? For founders who build with a coding agent

Free tool · runs in your browser · 11 tools' hosts from each vendor's own CSP page, read November 17, 2026 · 99 YC startup policies checked the same day · Updated
TL;DROf the 99 YC startup homepages that enforce a CSP, 59 would block UserProof and 39 set no base-uri (checked November 17, 2026). For founders who build with a coding agent: paste your policy and see which of 11 analytics and replay tools it blocks, the missing host for each, and its weak spots.

A CSP checker reads your Content-Security-Policy the way a browser does and tells you what it blocks. For founders who build with a coding agent: paste the policy below. You get three tables: whether each analytics or session replay tool would load, the policy's weak spots in order, and which directive the browser uses for each kind of request. Hand the result to Claude Code, Codex or Cursor and it can make the change.

By Ryan Doyle, founder of UserProof, which records real visits and hands the fix to your coding agent. UserProof is one of the 11 tools checked, so read its row as ours.

Check a policy

Example result for the policy in the box

Read as an enforced Content-Security-Policy with 5 directives: 11 of 11 tools blocked (FullStory US and EU count once), 1 finding to fix first.

Will each tool load?

ToolUnder this policyWhat is missing
UserProofBlockedscript-src needs https://ingest.getuserproof.com
connect-src needs https://ingest.getuserproof.com
Google Analytics 4 (Google tag)Blockedconnect-src needs https://www.googletagmanager.com
connect-src needs https://*.google.com
PostHogBlockedscript-src needs https://*.posthog.com
connect-src needs https://*.posthog.com
script-src needs blob:
script-src needs data:
Sentry (with Session Replay)Blockedscript-src needs https://browser.sentry-cdn.com
script-src needs https://js.sentry-cdn.com
connect-src needs *.sentry.io
script-src needs blob:
default-src needs blob:
HotjarBlockedscript-src needs https://*.hotjar.com
connect-src needs https://*.hotjar.com
connect-src needs https://*.hotjar.io
connect-src needs wss://*.hotjar.com
default-src needs https://*.hotjar.com
default-src needs 'unsafe-inline' (the styles it injects)
Microsoft ClarityBlockedscript-src needs https://*.clarity.ms
script-src needs https://c.bing.com
connect-src needs https://*.clarity.ms
connect-src needs https://c.bing.com
FullStory (US)Blockedscript-src needs https://edge.fullstory.com
script-src needs https://rs.fullstory.com
connect-src needs https://edge.fullstory.com
connect-src needs https://rs.fullstory.com
script-src needs blob:
FullStory (EU)Blockedscript-src needs https://edge.eu1.fullstory.com
script-src needs https://rs.eu1.fullstory.com
connect-src needs https://edge.eu1.fullstory.com
connect-src needs https://rs.eu1.fullstory.com
script-src needs blob:
LogRocketBlockedscript-src needs https://cdn.logrocket.io
script-src needs https://cdn.lr-ingest.io
script-src needs https://cdn.lr-in.com
script-src needs https://cdn.lr-in-prod.com
script-src needs https://cdn.lr-ingest.com
script-src needs https://cdn.ingest-lr.com
script-src needs https://cdn.lr-intake.com
script-src needs https://cdn.intake-lr.com
script-src needs https://cdn.logr-ingest.com
script-src needs https://cdn.lrkt-in.com
script-src needs https://cdn.lgrckt-in.com
script-src needs https://cdn.logr-in.com
connect-src needs https://*.logrocket.io
connect-src needs https://*.lr-ingest.io
connect-src needs https://*.logrocket.com
connect-src needs https://*.lr-in.com
connect-src needs https://*.lr-in-prod.com
connect-src needs https://*.lr-ingest.com
connect-src needs https://*.ingest-lr.com
connect-src needs https://*.lr-intake.com
connect-src needs https://*.intake-lr.com
connect-src needs https://*.logr-ingest.com
connect-src needs https://*.lrkt-in.com
connect-src needs https://*.lgrckt-in.com
connect-src needs https://*.logr-in.com
script-src needs blob:
default-src needs blob:
MouseflowBlockedscript-src needs *.mouseflow.com
connect-src needs *.mouseflow.com
default-src needs *.mouseflow.com
Lucky OrangeBlockedscript-src needs https://tools.luckyorange.com
connect-src needs https://*.luckyorange.com
connect-src needs https://pubsub.googleapis.com
connect-src needs wss://*.visitors.live
script-src needs blob:
SmartlookBlockedscript-src needs https://*.smartlook.com
script-src needs https://*.smartlook.cloud
connect-src needs https://*.smartlook.com
connect-src needs https://*.smartlook.cloud

The CSP generator adds the missing sources to this policy without breaking the default-src fallback.

Weak spots

LevelFindingFix
Fix first'unsafe-inline' in script-src lets any injected <script> block run, which is most of what a CSP is there to stop.Put a nonce or hash on your inline scripts; browsers then ignore 'unsafe-inline' and it can stay for very old browsers.
Worth fixingobject-src falls to default-src ('self'), so plugins load from those sources.Add object-src 'none', as web.dev's strict policy does.
Worth fixingNo base-uri. It has no fallback to default-src, so an injected <base> tag can point your relative script URLs at another host.Add base-uri 'none' (or 'self' if your pages use a <base> tag).

How the browser reads each request type

RequestDirective usedSources
Scriptsscript-src'self' 'unsafe-inline' https://www.googletagmanager.com
Stylesdefault-src'self'
Imagesimg-src'self' data: https:
Fontsdefault-src'self'
Fetch, beacons and socketsconnect-src'self' https://*.google-analytics.com
Framesdefault-src'self'
Workersscript-src'self' 'unsafe-inline' https://www.googletagmanager.com
Plugins (object, embed)default-src'self'

How to read the result

Will each tool load? The 11 tools are UserProof, Google Analytics 4, PostHog, Sentry, Hotjar, Microsoft Clarity, FullStory (US and EU), LogRocket, Mouseflow, Lucky Orange, Smartlook. For each one, the checker takes the hosts the vendor's own CSP page lists and asks the directive the browser would use whether it allows them. An external script is judged by script-src-elem, then script-src, then default-src. A worker is judged by worker-src, then child-src, then script-src, then default-src. A frame is judged by frame-src, then child-src, then default-src, and the rest by their own directive, then default-src. A directive with nothing to fall back on allows everything. "Loads if" means the tool's inline snippet needs your nonce, or your policy uses 'strict-dynamic' and the tool must be loaded by a script that carries the nonce.

Weak spots come in three levels. "Fix first" is something that lets an injected script run or breaks the policy outright (a missing semicolon, a keyword without quotes). "Worth fixing" closes a known gap, such as base-uri, which has no fallback to default-src. "Note" is minor or informational.

How the browser reads each request type shows the directive that applies to scripts, styles, images, fonts, fetch and sockets, frames, workers and plugins, after fallback. "none set" means the browser puts no limit on that type.

The example, line by line

The box opens on a common shape: default-src 'self'; script-src 'self' 'unsafe-inline' https://www.googletagmanager.com; connect-src 'self' https://*.google-analytics.com; img-src 'self' data: https:; frame-ancestors 'none'. Google Analytics comes closest. Its script host is in script-src, the inline snippet passes on 'unsafe-inline' and img-src allows any https: host, but connect-src lacks https://www.googletagmanager.com, https://*.google.com, so the hits it sends are refused. All 11 tools are blocked, UserProof among them, because script-src and connect-src list neither its host nor a scheme that covers it. The weak spots: 'unsafe-inline' with no nonce, no base-uri, and object-src falling back to 'self'.

What 99 YC startup policies would block

59 of the 99 enforced YC startup policies would block UserProof, and 35 let all 11 tools load. On November 17, 2026 we read the home page of every company in our YC homepage benchmark (376 fetched, 371 answered) and kept the 99 that enforce a Content-Security-Policy, by header or meta tag. Then we ran this page's own check over each one. Two sites send both a header and a meta tag. A request has to pass both, so for those we count a tool as blocked when either policy blocks it, and a weak spot only when neither policy closes it.

ToolBlockedLoads if (nonce)Loads
Mouseflow63135
Sentry (with Session Replay)62136
Hotjar62136
LogRocket62136
FullStory (US)61137
Lucky Orange61137
PostHog60336
Microsoft Clarity60138
UserProof59139
Google Analytics 4 (Google tag)59139
Smartlook59139

Source: UserProof, 99 enforced CSPs from YC startup homepages read November 17, 2026 (data/yc-csp-2026-11-17.json), checked by scripts/build-csp-checker.py with the rules on this page (data/yc-csp-check-2026-11-17.json). FullStory's EU row is left out; it matches the US row's shape.

35 of the 99 policies let all 11 tools load as they are, and 59 stop every one until its hosts are added (or its snippet carries a nonce). All 35 that let everything through are among the 37 with no script rule at all, which set only things like frame-ancestors or upgrade-insecure-requests. Once a site writes a script rule, every tool it adds later needs its hosts listed, and that is the moment to run the checker.

Weak spotPoliciesShare of 99
object-src is not 'none'4444%
'unsafe-inline' in the script rule, with no nonce or hash4343%
No base-uri3939%
No script-src or default-src at all3737%
'unsafe-eval' in the script rule1616%
No frame-ancestors (header policies)88%
Scripts allowed from *, https:, http: or data:44%
A plain http source33%
A deprecated directive33%
A keyword without quotes11%
A directive written twice00%
'none' beside other sources00%
A missing semicolon00%
'strict-dynamic' with no nonce or hash00%
A directive a meta tag can't carry00%

17 of the 99 have no "Fix first" or "Worth fixing" finding at all. The most common gap is object-src left at something other than 'none': 44 of 99. web.dev's strict policy closes the top three with three directives: script-src 'nonce-...' 'strict-dynamic'; object-src 'none'; base-uri 'none'.

What each check looks for

CheckLevelWhy it matters
No script-src or default-srcFix firstWithout either, the browser limits no scripts.
'unsafe-inline' with no nonce or hashFix firstAny injected inline script runs. With a nonce or hash present, browsers ignore 'unsafe-inline' (MDN).
*, https:, http: or data: for scriptsFix firstScripts load from any host. Ignored when 'strict-dynamic' is present, since browsers then drop host and scheme sources.
'strict-dynamic' with no nonce or hashFix firstHost sources are ignored, so nothing can start the script chain.
Keyword without quotes, missing semicolonFix firstself reads as a host called "self"; a directive name inside another list is just a host name to the browser.
'unsafe-eval'Worth fixingStrings can run as code.
object-src not 'none'Worth fixingweb.dev's strict policy sets it to 'none' to stop plugin content.
No base-uriWorth fixingNo fallback to default-src; an injected <base> can redirect relative script URLs.
Duplicate directive, plain http sourceWorth fixingBrowsers use the first copy only; http can be read or changed in transit.
No frame-ancestors; meta-only directivesNoteFraming by other sites; a meta tag can't carry frame-ancestors (MDN), report-uri or sandbox (CSP Level 3).
Report-only, deprecated directives, 'none' beside sourcesNoteNothing is blocked; the directive does nothing in current browsers; 'none' is ignored there.

What it can't do

Where UserProof fits

UserProof records real visits with one external script tag and hands your coding agent the one fix to make, with the file and line. Under a CSP it needs two sources and nothing inline: https://ingest.getuserproof.com in script-src and connect-src. Field values are never recorded. Free covers 3 sites and 5,000 recorded visits a month; Pro is $29 a month for 50,000. To add the missing hosts, use the CSP generator; to read the violation reports your policy sends, the CSP report reader; for the recorder's speed cost, see whether session replay slows a site; to keep form fields out of recordings, the masking snippet generator. All free tools are on the tools page.

Sources, read November 17, 2026

Cite this

UserProof, "CSP checker for analytics and session replay scripts," https://getuserproof.com/csp-checker; vendor hosts from each vendor's CSP page and 99 YC startup policies checked on November 17, 2026.

FAQ

What does a CSP checker do?

It reads a Content-Security-Policy the way a browser does and tells you what the policy allows and blocks. This one also says whether 11 analytics and session replay tools would load under it, using the hosts each vendor lists on its own CSP page.

Why is my analytics script blocked by the Content Security Policy?

The script's host is missing from script-src (or default-src, when there is no script-src), or the host it sends data to is missing from connect-src. Paste your policy above: the table names the missing directive and host for each tool.

Is 'unsafe-inline' in script-src bad?

It lets any injected inline script run, which is the main attack a CSP exists to stop. A nonce or hash on your own inline scripts is the fix; browsers then ignore 'unsafe-inline'. Of the 99 YC startup homepages we checked that enforce a CSP, 62 set a script rule, and 43 of those allow 'unsafe-inline' with no nonce or hash.

Does a CSP meta tag work the same as the header?

For most directives, yes. The CSP spec says frame-ancestors, report-uri and sandbox are not supported in a meta tag, so send those as a header.

What is the difference between this and Google's CSP Evaluator?

Google's CSP Evaluator grades a policy's protection against script injection. This checker runs similar checks for the main weak spots, and adds which analytics and replay tools your policy would block, with the exact host to add for each.

Does the checker send my policy anywhere?

No. The checks run in your browser, and the form is excluded from UserProof's own recorder on this page.

What does UserProof need in a CSP?

Two sources: https://ingest.getuserproof.com in script-src and in connect-src. No inline snippet, no worker. 59 of the 99 YC policies would block it until those two are added.