Offline Vault
// security

Security model

Security is the whole product, so the model is documented in the open. The app is one unminified HTML file — you can read every line yourself.

The short version: your vault is encrypted with AES-256 on your device. There is no server to breach, no account to compromise, and no network request after the page loads.

Audit status

NOT YET AUDITED

Offline Vault has not yet undergone an independent third-party security audit. The recovery-key envelope-encryption scheme in particular should be reviewed by a cryptographer before you rely on it for high-value secrets. Treat the current build as pre-audit. This page will be updated with the auditor, date, and report link once an audit is complete.

Cryptographic design

Symmetric cipherAES-GCM-256
IV96-bit random, per encryption
Key derivationPBKDF2-SHA-256
Iterations250,000 (vault creation and backup export)
Salt128-bit random, per vault / per backup
Randomnesscrypto.getRandomValues()
Key extractabilityfalse (non-exportable CryptoKeys)
Recovery keyEnvelope: a Master Vault Key wrapped by both the credential key and a one-time recovery-code key
Two-factor (TOTP)RFC 6238, HMAC-SHA-1, computed locally
TransportNone — zero network requests after load

Hardening

What it protects — and what it doesn't

Protects against: a remote breach (there is no server), network interception (nothing is transmitted), a stolen backup file (encrypted, useless without its password), and casual local inspection of storage (ciphertext at rest).

Does not protect against: losing both your master credential and your recovery code (unrecoverable — keep backups); malware or a keylogger on an unlocked device; clearing all browser site data (deletes the vault); or a weak master credential.

Reporting a vulnerability

Please email [SECURITY-EMAIL] with a description, reproduction steps, and impact. Do not open a public issue for a suspected vulnerability. We aim to acknowledge within 3 business days and provide a remediation timeline within 10. Coordinated disclosure is appreciated.

DRAFT. Complete the [SECURITY-EMAIL] field and update the audit status once an audit is commissioned.