Security

Meridian is built with the same security posture a real institution would need, even though it's a sandbox.

Authentication

Bcrypt password hashing, TOTP-based two-factor authentication, one-time recovery codes, and account lockout after repeated failed attempts.

Sessions

HttpOnly, Secure, SameSite cookies, inactivity timeouts, and session regeneration on every privilege change.

Data

2FA secrets encrypted at rest with AES-256-GCM. Every SQL query is parameterized — no string-built SQL anywhere.

Ledger integrity

Balances are only ever written by one code path, inside database transactions, with row-level locking to prevent double-spend.

Access control

Role-based permissions enforced server-side on every admin action, with an append-only audit log of who changed what.

Headers

Strict CSP, X-Frame-Options, HSTS, and X-Content-Type-Options on every response.