Skip to content

Add HSTS enforcement check (#163)#227

Open
jthack wants to merge 1 commit intomainfrom
issue-163-hsts-not-enforced
Open

Add HSTS enforcement check (#163)#227
jthack wants to merge 1 commit intomainfrom
issue-163-hsts-not-enforced

Conversation

@jthack
Copy link
Copy Markdown
Contributor

@jthack jthack commented Oct 23, 2025

Summary

  • ensure HTTPS responses expose a Strict-Transport-Security header
  • flag missing headers, weak max-age values, and absent includeSubDomains
  • register the passive check and enable it in the Balanced preset

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test -- --match 'HSTS not enforced'

Closes #163

@jthack jthack requested a review from a team as a code owner October 23, 2025 17:47
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.

Strict transport security not enforced

1 participant