Learn · threat model

What does a local vault protect against, and what does it not?

It protects the data at rest: a stolen disk, a copied file, a backup on the wrong drive. It does not protect an unlocked session, a machine running malware as you, or you forgetting the one thing you cannot reset. Written down because a security page that lists only the first column is a sales page.

Updated 2026-11-17 · by cygnus, the developer of Bitcoffer

The threat table

ThreatStopped?By what
Disk or laptop stolen while the app is closedYesThe vault file is ciphertext; the key needs your master password, stretched with Argon2id
Vault file copied to another machineYes, if the copy cannot guess the passwordSame as above — the file is not bound to a device
Vendor's server breachedNot applicableThere is no server holding your vault
Vendor shut down, acquired, or changed their termsNot applicableYour file, your machine, your key
Malware running as you, while the vault is unlockedNo—
Someone at your unlocked MacPartlyTouch ID and re-prompt on sensitive screens; not a defence against a person who has your session
Physical access plus your master passwordNo—
You forget the password and lose the recovery codeNo, by designNo escrow exists to undo it

Read the "no" rows first. They decide whether this class of product fits you, and no vendor can move them with better copy.

How the at-rest protection actually works

Four layers, and the design choices in each one explain the limits in the table above:

  1. Key derivation: Argon2id. The master password is stretched with a memory-hard function, so guessing is expensive in RAM as well as time. The parameters live in the vault header, which means a vault can be re-keyed with stronger settings later without the file format changing.
  2. Encryption: AEAD. The vault body is sealed with an authenticated cipher (XChaCha20-Poly1305), so a modified file fails to open rather than opening to garbage. Bitcoffer routes all sealing through a single crypto entry point rather than letting each module pick its own.
  3. The master password is not stored. There is no verifier to steal and no "hint" field. A wrong password is simply a key that produces an authentication failure.
  4. Recovery is a wrapped key, not a backdoor. A recovery code derives a separate key that wraps the vault's data key with AES-256-GCM. That is why recovery works without the password, and why losing both is unrecoverable: the code is the second key, not a request to a support desk.

What this adds up to: an attacker with your disk gets a file that costs real money to attack, and an attacker who also gets your recovery code gets everything. Both statements are load-bearing.

The four cases it cannot cover

1. An unlocked session

Once you unlock, the data key is in memory and the app will decrypt on request. Anything that can ask the app — a script, a malicious binary, a compromised editor plugin running as you — can get what it asks for. Touch ID shortens the window; it does not close it. This is the boundary every local password manager shares, and any claim to have solved it deserves hard evidence before you believe it.

2. Malware that targets the clipboard or the screen

Copy a password, and it is in the clipboard where any process can read it. Look at a password while someone records the screen and it is in a video. A vault protects storage; it cannot protect a value after you have deliberately exposed it to the system.

3. Physical access with cooperation

If someone has your machine and can make you unlock it, encryption is not the relevant control. The relevant control is that the vault is not the only copy of anything you cannot afford to lose — see the next section.

4. Forgotten credentials with no recovery code

This is the failure that actually happens most often, and it is a design choice rather than a flaw. A vendor who can reset your password can also be compelled to, and can also be breached. Choose which risk you want; do not expect both.

Why this decides your backup plan

The threat you are actually worried about tells you what to back up, where to put it, and how often — and doing it the other way round produces a backup that protects against the wrong thing:

If your real worry is…Then…
Device theft or disk failureAn encrypted backup kept off the machine, restored once to prove it works
Ransomware or malware on your MacA backup the malware cannot reach — offline or on a different account, not a folder the same process can encrypt
Forgetting the master passwordA recovery code stored somewhere you can still reach if the Mac is gone
Accidentally deleting an itemVersioned backups with a retention window, not a single overwritable copy

Notice that three of those four require the backup to live somewhere other than the vault's own directory. A backup inside the same folder as the vault is a second copy, not a backup.

The claim you can check, and the one you cannot

Two different assertions get bundled together in security marketing, and separating them is most of the value of a threat model:

A threat model that does not draw that line is not a threat model. It is reassurance, and reassurance is what you get from the products that need it most.

Bitcoffer is a local-first password manager for macOS.

An Argon2id-derived key, an AEAD-sealed vault, a recovery code you hold, and no server anywhere in the path. US$9.99 a year, two Macs, 30-day trial.

Download Bitcoffer Pricing