← Back to home
Security Notice
Last updated 2026-10-08
NextVault is self-hosted software. “The Operator” below means whoever runs this particular instance, and they are responsible for this instance and your data on it.
NextVault is designed so that your secrets are protected even from the people who host it. This notice describes how, and — just as importantly — where that protection stops.
1. Key hierarchy
- Your password is stretched with PBKDF2 (SHA-512, 600,000 iterations, random salt) into a key-encryption key. It is never stored.
- That key unwraps your master key, which lives only in your encrypted session while the vault is unlocked.
- The master key wraps a separate random data key for every note and every attachment, which encrypt content with AES-256-GCM.
- Only the Node.js built-in crypto module is used — no third-party crypto libraries.
2. Protections
- Authenticated encryption detects tampering with stored data.
- Optional TOTP or emailed one-time codes, with recovery codes.
- Idle auto-lock wipes the master key from the session and destroys the search index.
- CSRF double-submit protection, strict input validation and owner-scoped queries on every request.
- Optional screen privacy hides note content on screen after inactivity.
3. Limits you should know about
- If you forget your password, your data cannot be recovered by anyone.
- While your vault is unlocked, your master key is held in your session. A compromised server running at that moment, or malware on your device, could capture decrypted content. Self-host on infrastructure you trust and keep devices patched.
- A malicious operator who modifies the server software could attempt to capture your password at login. Zero-knowledge here means the stored data is unreadable, not that the operator’s code is beyond trust. Self-hosting yourself removes this concern.
- Metadata such as email address, label names and attachment sizes is not encrypted.
- Screen privacy is a visual deterrent against shoulder-surfing, not a security boundary.
4. Reporting a vulnerability
If you find a security issue, please report it privately to the administrator of this instance rather than disclosing it publicly, and give them reasonable time to fix it.