Security

How we protect your numbers.

Security is part of how Expensy is built, not an add-on. This page explains it twice — first in plain words, then with the technical detail — and, just as importantly, what we don’t claim.

In plain words

  • Encrypted at rest

    Every workspace has its own key. Notes, tax IDs and every attachment are encrypted with it before they are stored.

  • Walled off

    The database itself keeps workspaces apart. A record can never point at another workspace’s business — even by mistake in our own code.

  • Every change on record

    Sign-ins, edits, deletions and AI settings are written to an append-only audit trail that nobody can rewrite.

  • Strong sign-in

    Two-step verification, passkeys, rate-limited sign-in, and sessions you can see and end.

Security

Technical design

Primitives

Standard, well-reviewed building blocks from Node.js crypto and our sign-in library. No custom cryptography.

PurposeAlgorithm
Field and file encryptionAES-256-GCM, random 96-bit nonce per value
Wrapping workspace keysAES-256-GCM under the master key, workspace ID as associated data
Password hashingArgon2id (19 MiB, 2 passes)
Two-step verificationTOTP authenticator apps, passkeys (WebAuthn)
In transitTLS on every connection
BackupsEncrypted with age before they leave the server

The key tree

A 256-bit master key lives in a secret file mounted into the server — never in the database, the code or environment variables. It wraps one random data key per workspace. Unwrapped keys stay in memory for a few minutes at most and are never logged. Both levels can be rotated, and every rotation is written to the audit trail.

How you sign in

  • Password

    Hashed with Argon2id using OWASP’s recommended parameters. We never see or store it in readable form.

  • Two-step verification

    A code from an authenticator app on top of your password. Verification attempts are rate-limited.

  • Passkeys

    Sign in with Face ID, a fingerprint or a security key. Nothing to type, nothing to phish.

  • Sessions and confirmations

    See your active sessions and end any of them. Sensitive actions ask for your password again.

Every value is bound to its place

Each encrypted value carries associated data naming its workspace, table, column and row. A ciphertext copied into another row, column or workspace fails to decrypt instead of showing the wrong data. Every value also records which key version encrypted it, so keys can be rotated without downtime.

// field encryption, once per value
DEK        = unwrap(KEK, wrapped_DEK, AAD = workspaceId)   // cached in memory ≤ 5 min
AAD        = "<workspaceId>|<table>|<column>|<rowId>"
nonce      = randomBytes(12)                                // 96-bit, never reused
ciphertext = AES-256-GCM(DEK, nonce, plaintext, AAD)
stored     = "v1.<keyVersion>.<nonce>.<ciphertext+tag>"   // base64url

Isolation between workspaces

  • Every request is checked against your membership of the workspace.
  • Row-level security in the database limits every query to the workspace it was opened for.
  • Links between records are constrained, so a record can never reference another workspace’s data.
  • Server logs hold IDs and event names only — never amounts, titles or notes.
  • Changes are written to the audit trail in the same transaction as the change itself.

AI, on your terms

AI is off for every workspace until the owner turns it on, and reading files and answering questions are separate opt-ins. Reading sends the attached file — a receipt, screenshot or PDF statement — plus your business and category names to Anthropic’s Claude. Questions send only the records the read-only tools return, with customer names replaced by aliases and no notes, descriptions or tax IDs. Figures under an answer are computed by Expensy, not by the model. Turning AI on or off is written to the audit trail, and Anthropic does not use API data to train its models.

Where your data is readable

Amounts, titles, vendors, dates and categories are stored as ordinary database columns on an encrypted disk, so reports and search can add them up. Notes, tax IDs, customer aliases and attachments are encrypted field by field. Our servers can read both — here is exactly when.

What our servers can read

  • Amounts, titles, vendors, dates and categories — to build reports and search
  • Notes, tax IDs and attachments — decrypted only to show them to you
  • Renewal dates — to send your reminders
  • Files you send to AI, if you turn it on — passed to Anthropic
  • Sign-in times, IP addresses and devices — kept in your security log
  • Your plan and how you pay (card details stay with the payment provider)

What we never do

  • Show ads or load trackers
  • Sell your data or share it for marketing
  • Send anything to AI before an owner opts in
  • Send your records to get exchange rates — rates are fetched from the National Bank of Moldova and the free currency-api feed; only currency codes and dates are sent
  • Let one workspace read another’s records
  • Write amounts, titles or notes into server logs
  • Store your password in readable form
  • Call Expensy end-to-end encrypted (Private mode covers only the fields it lists)

What we don’t claim

  1. 01

    Expensy is not end-to-end encrypted and not zero-knowledge. Our servers can decrypt your records, except the fields covered by the optional Private mode (titles, vendors, notes, tags, subscription names and receipts).

  2. 02

    Private mode runs in a web app: the app’s code comes from our servers each time it loads. It protects those fields from a database leak or server-side snooping, not from a server that sends modified code, a compromised browser or a malicious extension.

  3. 03

    Amounts, titles and vendors are plain columns so reports can add them up. They rely on database isolation, disk encryption and encrypted backups.

  4. 04

    A database administrator with access to the running server could read those plain columns.

  5. 05

    When AI is on, the files and records it needs leave our servers for Anthropic, under their terms.

  6. 06

    Disk encryption depends on the hosting setup; the app itself cannot enforce it.

  7. 07

    If someone signs in as you, encryption at rest can’t help. Turn on two-step verification or a passkey.

Found a flaw?

Write to [email protected]. Please give us reasonable time to fix it before disclosing it. We don’t take legal action against good-faith research that avoids other people’s data.

Know where every expense belongs.

Free for personal finances and one business. Set up in a minute — no card needed.

Start free
Coming soonApp Store Coming soonGoogle Play