Skip to content

docs(openspec): propose add-security-headers - #645

Merged
TheMeinerLP merged 1 commit into
mainfrom
docs/propose-add-security-headers
Nov 22, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
docs/propose-add-security-headers

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Collaborator

What

An OpenSpec proposal to give the site a baseline set of security headers and a Content Security Policy that only observes.

Why

Production sends just two security headers today, both added by Cloudflare. Nothing stops other sites from framing ours, full URLs leak to third parties, and there is no CSP. Turning on a strict policy in one go could break pages, so the proposal starts by watching: the policy is sent report-only, with no reporting endpoint, since collecting reports is not wanted for now.

How

The proposal describes sending the headers from one server plugin so error pages carry them too, keeping caching untouched, and building the CSP allowlist from the resources the pages really load. The implementation follows in a separate pull request once this is merged.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
launchpad ff43d3a Commit Preview URL

Branch Preview URL
Nov 22 2026, 11:00 PM

@TheMeinerLP
TheMeinerLP merged commit 5e5711b into main Nov 22, 2026
14 checks passed
@TheMeinerLP
TheMeinerLP deleted the docs/propose-add-security-headers branch November 22, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant