════════════════════════════════════════════════════════════ SECURITY TEST SUITE — Canopus Email Verifier v2.0 ════════════════════════════════════════════════════════════ ─── 1. Security Headers ───────────────────────────────── ❌ X-Content-Type-Options: nosniff ❌ X-Frame-Options: SAMEORIGIN ❌ X-XSS-Protection: 1; mode=block ❌ Referrer-Policy header present ❌ Permissions-Policy header present ❌ X-Permitted-Cross-Domain-Policies: none ❌ Content-Security-Policy header present ❌ CSP default-src is self ❌ CSP script-src allows jsdelivr CDN ❌ CSP frame-ancestors prevents clickjacking ─── 2. Session Cookie Security ──────────────────────────── ❌ Session cookie has HttpOnly flag ❌ Session cookie has SameSite flag ─── 3. CSRF Protection ──────────────────────────────────── ❌ POST without CSRF token is rejected ❌ POST with invalid CSRF token is rejected ❌ CSRF token extracted from login form ❌ Login with valid CSRF succeeds ❌ CSRF token rotates correctly across 3 consecutive AJAX calls ─── 4. XSS Output Escaping ──────────────────────────────── ✅ XSS payload in email is not reflected raw in JSON response ❌ Profile page loads successfully ✅ No raw