User and operator guide · Security
Auth And Session Hardening
Current Controls
The current hardened browser/session posture includes secure refresh-cookie flow, memory-only frontend access token handling, JWT refresh rotation, logout revocation, denylist enforcement, CSP/Trusted Types guardrails, and live browser regression coverage.
Session Boundary
What Atlas Enforces
| Area | Security behavior | What to verify |
|---|---|---|
Gateway auth |
Atlas validates the session token, propagates the user, role, assurance, and session context, and checks revocation or denylist state before protected routes run. |
Protected REST and GraphQL requests succeed only with an active session and expected assurance context. |
GraphQL request shape |
Atlas limits unsafe request shape, including oversized requests, excessive aliases, batching, and default introspection posture. |
Malformed or oversized GraphQL requests are rejected without reaching sensitive operator actions. |
Sensitive GraphQL mutations |
Sensitive operator mutations require operator role, session-backed assurance context, and fresh AAL2-or-stronger authentication. |
Mutation tests include both the allowed path and the expected denial path for stale or lower-assurance sessions. |
Browser-live behavior |
Live validation exercises CAC, federated login and session exchange, protected GraphQL, WebSocket authentication rejection, dashboard state, and session revocation paths where credentials and certificate material are available. |
The validation report names the checks that passed and any optional live checks skipped because environment material was not supplied. |
Validation
Run the standard security gate and browser-live test when touching login, session bootstrap, callback, CSP, token storage, or protected UI routing.
./scripts/run-security-validation.sh
./scripts/run-security-validation.sh --live
Run the live mode only against a prepared environment with the required ATLAS_* variables and browser CAC material. If live credentials or certificate material are absent, the script reports which live checks are skipped; skipped checks must not be cited as passed evidence.