Skip to content
StackSiren

Guide

Session cookie missing Secure / HttpOnly / SameSite

How StackSiren Deep Scan detects this issue and how to fix it. Severity typically medium.

Why it matters

Session cookie missing Secure / HttpOnly / SameSite is a common finding on vibe-coded and AI-built apps that ship client bundles, shared backends or platform defaults without a security pass.

StackSiren reports this from read-only checks (GET, HEAD or OPTIONS only). It does not exploit the issue.

How to fix it

Set session cookies with Secure; HttpOnly; SameSite=Lax (or Strict). Prefer __Host- cookies. Never store session tokens where JavaScript can read them.

How StackSiren Deep Scan checks

Deep Scan runs only on hosts you have verified you own (DNS TXT or /.well-known file) and consented to test. Findings include a short evidence string; secret values are masked.

See the Acceptable Use Policy and Active scanning terms for what Deep Scan is and is not.

Builder-specific checklists

Check your app now

Free passive scan, results in under a minute.

Run a free scan