Security

What Torv stores, and what it never has.

What Torv Never Has

The strongest protection isn’t encrypting data — it’s never receiving it. A breach can’t leak what was never here.

Full account or routing numbers

Torv requests only the last 4 digits from its data providers, so you can tell your accounts apart — and even those are stored encrypted. Full account and routing numbers never reach Torv’s servers.

The ability to move money

Torv is read-only by design. There is no code path that initiates a transfer, payment, or trade — the capability doesn’t exist, so it can’t be stolen or abused.

SSN, date of birth, or street address

Retirement planning uses your birth month and year, never the day. Besides the state you file taxes in, the only location Torv keeps is the approximate city of each device you’re signed in on, which you can see under Account. Sign-in IP addresses are kept for 30 days in session and security logs. The IP address and browser recorded when you accepted the terms are kept for as long as your account exists, as proof of that acceptance.

A Verified Identity

Sign-up asks for an email and a password — no name, and nothing checked against a document or a credit file. Torv never confirms who you are.

This isn’t a policy that could drift — the exact list of fields Torv requests from its data providers is frozen by an automated test in its build. Requesting a new field fails the build until it passes a deliberate review.

What Torv does ask, and why: a first name — initials are fine — for each person in a household, so your accounts can be told apart on screen instead of reading “Person A” and “Person B.” It’s optional, Torv never asks for a last name, and it’s encrypted at rest. Nothing in the planning or tax math reads it — it’s a label, not an identity. Some text stays unencrypted on purpose: the names you give categories, forecast items and savings goals; paycheck line labels; passkey device names; and investment holding names. None of it identifies a person, and searching and sorting it needs the plain text.

What Torv’s accounts table actually looks like

This is a representative sample of how your account data is stored. Amber = encrypted. Blue = random ID. White = stored as is.

user_id
a1b2c3d4e5f6...9f8e7d6c
name
enc:3a7f1b:c9e2d4:8b1f3a7e...
institution
enc:7d4e2a:f1b3c5:2e9a4d7b...
balance
$47,832.19
type
Checking
user_id
a1b2c3d4e5f6...9f8e7d6c
name
enc:5c8d2e:a4f1b7:6d3e8c1a...
institution
enc:9b2f4a:d7e3c1:4a8f2b5e...
balance
$312,457.83
type
401k
user_id
a1b2c3d4e5f6...9f8e7d6c
name
enc:2f9a4d:b5c8e1:7a3f6d2b...
institution
enc:4e1b7c:f8a2d6:5c9b3e7a...
balance
$184,291.50
type
Mortgage

What Torv Encrypts

The fields that could tie your financial data back to you are encrypted before they ever reach the database — with the key stored separately, outside it.

  • • Your email and any other identifying field
  • • Which institution holds each account
  • • Account names and owner names (encrypted)
  • • Login credentials (handled by Finicity or MX, never by Torv)
  • • MFA secrets and recovery codes (encrypted; codes also one-time)
  • • The description, merchant name and note on every transaction, and the rules and patterns Torv builds from those words (encrypted)

Four Layers of Protection

1

Decoupled Identity

Every user is identified internally by a randomly-generated UUID, not by your email or any value derived from your real identity. The financial tables store that UUID; the email column on the users table is encrypted (see layer 2). Linking a UUID back to a real person requires both database access AND the encryption key — which is stored separately, outside the database.

Internal user ID: a7f3b2c1-4d5e-6f78-9abc-def012345678
Email column: enc:v2:3a7f1b9c2e4d:c9e2d4f1b3a7:8b1f3a7e2c4d9b5f...

To find you at sign-in, Torv also keeps a one-way fingerprint of your email; the key to it lives outside the database.

2

PII Encryption

Every personally identifiable field — account names, institution names, owner names, and bank connection tokens — and every transaction’s description, merchant name and note are encrypted with AES-256-GCM before they touch the database. Each value is sealed so it can’t be altered or moved to another record without detection.

Account name: Chase Sapphire Checking
Stored as: enc:3a7f1b9c2e4d:c9e2d4f1b3a7:8b1f3a7e2c4d9b5f...

AES-256-GCM is the same standard used by governments and financial institutions worldwide. The “GCM” part means any tampering with the encrypted data is detected automatically.

3

Credential Isolation

Your login never enters Torv. Connecting an account is handled by Finicity (a Mastercard company) or MX — the networks that securely connect your accounts — never by a form on Torv. Torv receives only an encrypted access token and read-only data. It never sees your username or password, and it cannot log into your accounts or move money.

4

Each household sees only its own rows

For any request from a browser, the database itself refuses to return another household’s data, even if the app asks.

Technical Details

Identity hashingHMAC-SHA256 with 256-bit secret
PII encryptionAES-256-GCM with 96-bit random IV per value; ciphertext bound to (table, row id, column) via AES-GCM associated data
Transaction textAES-256-GCM, the same as the identity fields. The database never reads the words; search and sort happen in the app after decryption
AuthenticationCustom auth with bcrypt-hashed passwords and opaque server-side sessions: the cookie is a random secret, only its hash is stored, and signing out deletes the row. TOTP MFA and WebAuthn passkeys both supported
Data in transitTLS 1.3 (HTTPS everywhere)
Key storageEncryption keys stored in Cloudflare Workers secrets, separate from database
Login credentialsHandled by Finicity or MX — never stored by Torv
API authorizationPostgres row-level security on every PII table (torv_app role); per-request session context binds queries to the active user’s pseudonymized ID
Key rotationEncryption keys are versioned and rotatable; the previous key is retained during transition so existing ciphertexts remain decryptable while new writes use the current key
BackupsTwice-daily encrypted database dumps to off-site immutable storage (Cloudflare R2 with bucket locks — backups can’t be deleted or altered, even with the database server’s own credentials). Encryption is asymmetric: the server holds only the public key and cannot read its own backups; the private key is held offline. Restores are tested against real dumps.
Content Security PolicyStrict, nonce-based CSP with violation reporting: a script runs only if it carries the per-request nonce. The only third-party script origins are the aggregation connector and Cloudflare’s bot check on the contact, sign-in and sign-up forms
TrackingNo third-party analytics, no ad trackers, no tracking cookies. Torv’s cookies keep you signed in, remember which demo you opened, and hold for 30 days the site or campaign that sent you, which is recorded with your sign-up
Log retentionIP addresses and browser user-agents in session and security logs are purged after 30 days

Reporting a Vulnerability

If you’ve found a security issue, report it through the contact form. Every report gets a reply.