Security
Last updated November 22, 2026
How your bank connection, sign-in and data are protected, and what each protection actually does.
Bank connections
Connecting a bank works like this:
- You sign in to your bank inside Plaid’s window. Alenjo never sees that password.
- Plaid hands the app a one-time code.
- Alenjo’s server trades that code for a connection key. The trade needs a Plaid secret that only exists on the server.
- The key is encrypted and saved in the database. It never goes to your phone or browser.
The key is read-only. Alenjo uses Plaid’s Transactions, Liabilities and Investments products, which can read data but not move money. It doesn’t use Plaid’s payment or transfer products.
Signing in
- Passwords are handled by Supabase Auth and stored as bcrypt hashes, so they can’t be read back.
- Face ID uses a passkey. Your phone makes a key pair, keeps the private half in iCloud Keychain, and gives Alenjo only the public half. Each sign-in signs a fresh one-time challenge, so there’s nothing reusable to steal.
- Two-step sign-in (optional): after your password, a 6-digit code from an authenticator app. Once it’s on, the server refuses your data to any session that didn’t pass the code.
- Each time the app opens, it starts signed out on that device, unless it’s only locked or you chose to trust the device for 30 days after entering a code. Either way, Face ID or your password is still needed to open it.
- After 1, 5 or 15 minutes away it locks. With Face ID set up, Face ID unlocks it; otherwise you sign in again.
- New sign-ups are closed. When they’re open, an invite code is checked on the server and the database refuses any new account without a one-time 15-minute ticket.
Your data
| Protection | What it does |
|---|---|
| Row-level security | Every table has a rule that only returns rows whose owner matches the signed-in user. It’s enforced by the database, so a bug in the app can’t show someone else’s data. |
| Column encryption | Account names, last 4 digits, balances, bank names and connection keys are encrypted with pgcrypto. The key is kept in Supabase Vault, separate from the app and its code. |
| Private file storage | Photos and card images only load through signed links that expire after 7 days and only work for the owner’s own files. |
| HTTPS everywhere | Every connection is encrypted in transit. Supabase also encrypts the disks the database runs on. |
| Account deletion | Needs your password and typing “I want to delete my account”. It disconnects every bank at Plaid, then deletes all your rows, files and your sign-in. |
Server code
Anything that touches a bank runs on Supabase Edge Functions, not in your browser: connecting, syncing, reconnecting, disconnecting, deleting your account, logo search and invite codes. Each one checks your sign-in token before doing anything and only reads or writes your own rows. Plaid and logo.dev keys are stored as server settings and never appear in the app’s code.
In the app
- All text from banks and from you is escaped before it’s shown, so a store name can’t run as code.
- The only scripts that load are the app itself, the Supabase library bundled with it, Plaid’s connect window from cdn.plaid.com, and, only during a card image upload, the cropping tool from jsDelivr (locked to an exact, verified copy).
Alenjo