# Security > **Not reviewed by a human.** Most of this code was written with an AI coding assistant and hasn't been > audited line by line. The design below is deliberate and the checks in [docs/testing.md](docs/testing.md) > pass, but expect bugs a careful review would catch. Don't expose the dashboard to the internet. A review > of the crypto (`dashboard/sync.py`, `app/lib/sync/crypto.dart`) and the auth (`dashboard/auth.py`, > `dashboard/web.py`) is the most useful contribution. ## What it's built for The dashboard runs on your **home network**. The sync server is on the internet, but it only stores data it can't read. | Part | Protects | Doesn't protect | |---|---|---| | Dashboard web pages | Logins (PBKDF2, a lockout per address), writes only from its own pages (JSON + `Origin`), only its own host names (against DNS rebinding), a setup code for the first admin | **Plain HTTP:** passwords and session cookies cross your LAN unencrypted. Put it behind a TLS reverse proxy if your network isn't trusted. Don't port-forward it. | | Users | The household view is read only; members only see the sections they're given | Members **share the owner's data** in those sections. It's one household's dashboard, not a multi-tenant app | | Sync | End-to-end encrypted (XChaCha20-Poly1305); the key is wrapped with Argon2id; the server sees sizes and times only | Someone with your passphrase or recovery key. The server can delay or withhold batches, but it can't read or forge them | | Secrets | `dash_config.json` and `dash_data/` are mode 600; Settings never shows a stored password | Anyone with access to the machine as the service user | ## Before you start - Create the admin account right away (Settings ▸ Users). Until then, everyone on the network is admin. - Choose the household view's calendars on purpose. It's what anyone on your Wi-Fi sees without a login. - Use a passphrase of 4+ random words for sync, and store the recovery key offline. - Keep the sync server's folder outside any other site's document root ([docs/server.md](docs/server.md)). ## Reporting a problem Please don't open a public issue for a security bug. Email it to **bashynx@bashynx.com** instead, with "dashPi security" in the subject.