Optional, low priority.
Problem #
c88b677 (#11) allowlists the Cloudflare beacon, but nobody has checked it in production. The CSP also allows https://cloudflareinsights.com in connect-src, which automatic injection does not use.
Evidence #
lib/security-headers.ts:9-10,36(c88b677).- Cloudflare Web Analytics FAQ: automatic injection connects to the same domain, and
cloudflareinsights.comis for the manual snippet only. - In #11, both contributor and reviewer said "not checked in a browser behind Cloudflare".
Expected #
No CSP violations in the production console on the pages from the session video, and a CSP that grants only what the beacon needs.
Acceptance criteria #
Out of scope #
Turning off Cloudflare's injection; other CSP directives.
Queued: the loop will work on this version of the issue.
loop:queued cid=bafyreie5hamgg3jkfw4fp6a3im4fxuojv7ilihm4q3rctotjmws4l7h63a