# How ShellDeck keeps your servers safe

ShellDeck holds the keys to your servers, so it is built to need as little trust as possible: in our sync server, in the network and in a device left unlocked.

## An end-to-end encrypted vault

Hosts, keys, passwords and snippets are encrypted on your device with a key derived from your master password. The sync server, ours or your own, stores only ciphertext, and we can't reset your password because we never have your key.

[How encryption works](https://shelldeck.dev/encryption)

## Direct connections and host keys

SSH, SFTP, port forwarding, RDP and VNC connect straight from your device to your servers, directly or through your own jump hosts. Nothing goes through our servers. A host's key is remembered on the first connection, and if it changes later the app refuses to connect and tells you, before any password or key is sent.

This is the trust-on-first-use model of the SSH protocol architecture, described in [RFC 4251](https://www.rfc-editor.org/rfc/rfc4251).

## Protecting the device

- The vault locks itself on a timer or when the app is minimised, and unlocks with the master password, Windows Hello or a fingerprint on Android.
- On Android the app hides its screen from screenshots and the list of recent apps.
- Production hosts are marked red, so a command doesn't end up in the wrong window.

## Protecting the account

- Two-factor sign-in with an authenticator app.
- A list of signed-in devices; a lost one can be signed out remotely.
- A recovery key, shown once at sign-up, is the only way back in if you forget the master password.
- Sign-in attempts are rate-limited on the server.

## Reporting a vulnerability

Found a vulnerability? Write to dizfaq@gmail.com with Security in the subject, and please don't publish the details until a fix is released.

[dizfaq@gmail.com](mailto:dizfaq@gmail.com?subject=Security)

The same contact is published in security.txt, the format defined by [RFC 9116](https://www.rfc-editor.org/rfc/rfc9116): `/.well-known/security.txt`.

## Use at your own risk

ShellDeck is provided as is, without warranties of any kind. It runs the commands you give it on the servers you choose: check commands and snippets before you run them, especially on production hosts, keep backups, and use it at your own risk.

[Terms of use](https://shelldeck.dev/terms)

---

https://shelldeck.dev/security
