Security Overview

Transport and Edge Protection

We use TLS 1.3 at the Cloudflare edge, Full (strict) certificate validation for the origin, and Authenticated Origin Pulls with mutual TLS. We enforce HTTPS with HTTP Strict Transport Security (HSTS).

Our Content-Security-Policy restricts resource origins, blocks embedding of EigenBooks pages, and allows inline scripts and styles. The application and database listen only on loopback interfaces behind the host firewall.

Multi-Tenant Isolation and Encryption

PostgreSQL 18.6 enforces Row-Level Security with FORCE ROW LEVEL SECURITY. The application connects through a runtime role with NOBYPASSRLS.

We encrypt Plaid access tokens, vendor taxpayer identification numbers (TINs), and MFA authenticator secrets with AES-256-GCM. We authenticate the key version as additional authenticated data (AAD) and hash passwords with Argon2id.

Authentication, MFA and Role-Based Access Control

Authenticator-based two-factor authentication uses RFC 6238 time-based one-time passwords (TOTP), replay protection, and single-use recovery codes. EigenBooks also supports single sign-on through Google OAuth 2.0.

Session cookies use the __Host- prefix with HttpOnly, Secure, and SameSite=Lax. Five organization roles control access. API keys have scoped permissions and can be revoked. Durable rate limits protect authentication endpoints.

Backups, Audit Trail and Incident Response

We encrypt backups before sending them nightly to independent offsite cloud providers and verify recovery through restore rehearsals. We maintain per-organization audit logs and automate operating system security patching.

We commit to notifying affected customers within 72 hours of becoming aware of a breach affecting their data. To report a security issue, email [email protected].