Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security headers on GOV.UK #3376

Open
Nooshu opened this issue Oct 21, 2024 · 0 comments
Open

Security headers on GOV.UK #3376

Nooshu opened this issue Oct 21, 2024 · 0 comments

Comments

@Nooshu
Copy link

Nooshu commented Oct 21, 2024

GOV.UK already has an excellent security score (A+), as I can see, this tool has been used in the past, all the way back to 2016 😍

I just wanted to raise that there are a couple of minor improvements it lists:

  1. Deny by default, using default-src 'none' on the CSP (note: this is the fallback for other media related rules e.g. img-src,font-src etc).
  2. Restricts where contents may be submitted by using form-action 'none', form-action 'self', or specific URIs in the CSP.
  3. X-Content-Type-Options should be set to nosniff.
  4. Referrer Policy should be strict-origin-when-cross-origin
  5. Ignore the Subresource Integrity suggestion, it will break HTTP/2 and HTTP/3.

You are welcome to move this into the correct repository or wherever it is more likely to be actioned.

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

No branches or pull requests

1 participant