Skip to content
VaultDock

Security

Trust nothing by default.
Verify everything.

VaultDock is designed for servers on the open internet. Every backup is encrypted on your PC, every device is approved by you, every request is signed, and every user is isolated.

Device approval

New PCs need your say-so.

A password alone never connects a device. Approval happens in the browser, where you can see exactly what is asking for access.

  1. 01

    Keys generated on the PC

    The app creates a signing key and an encryption key locally. Only the public halves are sent, together with your credentials, once, over TLS.

  2. 02

    Request appears in your browser

    You see the device name, OS, key fingerprint, IP, approximate location and a verification code shown on both screens.

  3. 03

    You approve, the PC pins the server

    Codes must match. The PC then pins your server's identity fingerprint, so an impostor server is refused. Unapproved requests expire after 15 minutes.

  4. 04

    Every request is signed

    From then on the device signs method, path, query, body hash, device id, timestamp and a random nonce.

# every device request carries

X-VD-Device: dev_7f3c9a1e...

X-VD-Timestamp: 1792098251000

X-VD-Nonce: b51e0c74d2a8...

X-VD-Content-SHA256: 9f86d081884c7d65...

X-VD-Signature: ed25519(method, path, query, device, ts, nonce, body hash)

In depth

Defence at every layer.

Backup encryption

  • Backup data is compressed and sealed with XChaCha20-Poly1305 on the PC before upload.
  • Keys are only ever stored as sealed copies for each device, the server, your recovery key and an optional passphrase.
  • The server's own keys are sealed by a key file stored outside its database. File names in its catalog are encrypted too.
  • Every time the server opens escrowed keys it is logged, and you can see that log for your own repositories.

Transport

  • HTTPS for all remote traffic, with HSTS when HTTPS is detected.
  • The desktop app never disables certificate verification and refuses plain HTTP except on localhost.
  • Self-signed certificates are pinned after you confirm the fingerprint. Any other certificate is rejected.

Accounts and sessions

  • Argon2id password hashing with bounded concurrency, so login floods cannot exhaust memory.
  • Rate-limited logins with account and IP lockout. Unknown users take as long to reject as wrong passwords.
  • 256-bit session tokens stored only as hashes, HttpOnly cookies and a CSRF token on every state-changing request.
  • A fresh server can only be claimed with the installer-generated setup token. A superuser role guards the most sensitive actions.

Devices

  • Device keys are protected with Windows DPAPI in an access-restricted folder. Passwords are never stored.
  • Bad signatures, mismatched bodies, clock skew over 5 minutes and reused nonces are all rejected.
  • Requests signed before the server last started are refused, so a restart cannot reopen the replay window.
  • Revoking a device takes effect on its next request and rotates the backup keys going forward.

Windows protection

  • Installed by an administrator only, as a service limited to a short, fixed list of Windows privileges.
  • Files are read and written under the user's own Windows token. Permissions are checked, never bypassed.
  • A protection list blocks every write, delete and restore into Windows, Program Files, boot files and other users' profiles.
  • Deletes go to the Recycle Bin, file permissions are never changed, and the uninstaller never touches your data.

People and isolation

  • Every file, backup, device and automation query is scoped to its owner. Foreign ids return 404.
  • Other Windows profiles are only protected after that user signs in and agrees. VaultDock never asks for their password.
  • A detected password reset or account change pauses the profile until a superuser clears it and the user agrees again.
  • Disk paths come only from numeric ids and verified hashes. File names can never reach the filesystem.

Containers

  • Distroless static image with no shell or package manager.
  • Runs as a non-root user on a read-only root filesystem with all Linux capabilities dropped.
  • No proxy or tunnel container by default. Integrations validate their config before any reload and roll back on failure.

Updates and supply chain

  • Desktop updates and components come only from the official GitHub releases over HTTPS.
  • Every download is checked against published SHA-256 checksums and a release manifest signature before it runs.
  • Once a signed build is installed, updates must come from the same publisher.
  • Third-party code is limited to an allowlist of permissive licences, checked on every build.

AI

  • Only the OpenAI-compatible endpoint you configure. HTTPS only, no redirects, private addresses blocked unless an admin allows them.
  • Paths and names are redacted before a request leaves the server.
  • The assistant can only read and propose. A person approves every change, and every request is audited.

Honest limits

What we will not pretend.

Security you can plan around means saying where the edges are.

  • Full key escrow is not zero-knowledge. It is what lets you browse and download in the browser. Someone who takes over the server and its key file could read backups. Use metadata-only mode where that matters.
  • Lose both keys, lose the data. If the server key file and your recovery key are both gone, nobody can decrypt your backups. Store each somewhere safe.
  • Some password changes are invisible. A Microsoft or work account password changed elsewhere may not be detected until Windows reports a sign-in or data protection change.
  • Signed-out profiles have limits. Files Windows protects per user, such as EFS-encrypted files, are skipped while that user is signed out and retried at the next sign-in.

Reporting a vulnerability

Please report security issues privately through GitHub security advisories on the server or Windows app repository rather than opening a public issue.

Full security model

Read the source

VaultDock is source-available under the PolyForm Noncommercial 1.0.0 licence, so every claim on this page can be checked in the code.

Licence