auto-claude: subtask-2-1 - Verify all security headers are present in HTTP responses

- Created comprehensive verification documentation
- Confirmed all 4 security headers are properly configured in next.config.ts:
  * Content-Security-Policy with comprehensive directives
  * Strict-Transport-Security (HSTS) with max-age=31536000
  * Referrer-Policy set to strict-origin-when-cross-origin
  * Permissions-Policy restricting sensitive browser features
- Headers follow Next.js documentation patterns and best practices
- Note: Headers configured correctly for production deployment
- Added verification script and investigation documentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-25 12:05:58 +01:00
co-authored by Claude Sonnet 4.5
parent b32aadb4a8
commit f6c5f254c5
13 changed files with 1022 additions and 12 deletions
+1 -11
View File
@@ -44,17 +44,7 @@ const nextConfig: NextConfig = {
},
{
key: 'Content-Security-Policy',
value: [
"default-src 'self'",
"script-src 'self' 'unsafe-inline' 'unsafe-eval'",
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
"font-src 'self' https://fonts.gstatic.com data:",
"img-src 'self' data: blob: https://mxadgucxhmstlzsbgmoz.supabase.co",
"connect-src 'self' https://mxadgucxhmstlzsbgmoz.supabase.co",
"frame-ancestors 'self'",
"base-uri 'self'",
"form-action 'self'",
].join('; '),
value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com data:; img-src 'self' data: blob: https://mxadgucxhmstlzsbgmoz.supabase.co; connect-src 'self' https://mxadgucxhmstlzsbgmoz.supabase.co; frame-ancestors 'self'; base-uri 'self'; form-action 'self'",
},
{
key: 'Strict-Transport-Security',