Short version: whoever runs your server can read everything in an ordinary space, and can see who talks to whom and when in every space. Spaces created encrypted, and every DM, keep the words out of their reach — but that protection is a first version and has holes we have written down. Nothing here is a promise that Yap is safe to put your life in. It is a description of what it does.
This is the same list the threat model keeps, so the two cannot drift apart silently.
Stored
Your username, an argon2id hash of your login key, and when the account was made.
Spaces, channels, memberships, invites and the messages you send. In encrypted spaces and DMs, the sealed envelope instead of the text.
Pictures you upload, with PNG metadata and GIF comments stripped. Encrypted spaces refuse uploads, so plaintext pixels never sit next to ciphertext.
Session rows holding token hashes and expiry, and trusted devices as a SHA-256 of the device token with its 30-day expiry.
A per-address sign-up counter, keyed with a secret that lives outside the database, so a leaked database cannot be turned back into a list of addresses.
Not stored
No IP addresses. Rate-limit buckets keyed by address exist only in memory and vanish with the process.
No plaintext passwords, ever: the client runs argon2id (19 MiB) and sends a derived login key. The server never sees the password.
No screen-share frames. They go peer-to-peer over the call's data channel, and the server relays only the setup.
No analytics, no telemetry, no page-view or usage counters of ours.
No process list from your machine. Game presence publishes only the game's name, and you can turn it off.
If you use the official server, api.getyap.dev is a Cloudflare Worker with no origin behind it, so Cloudflare terminates TLS and can see what the server sees — including addresses. That is stated in full rather than buried.
02 · Encrypted spaces
What the padlock actually covers
Encryption here is a first version, and the honest description matters more than the word “end-to-end”.
Covered
Message bodies in spaces created encrypted and in every new DM are sealed on the device with a static-static key exchange and ChaCha20 with HMAC-SHA256. The server stores yap1: envelopes and relays them byte for byte, and has no way to decrypt them.
Not covered
No sender signatures, no key transparency, no forward secrecy, and one key per account. A malicious server can swap a member's published key and read or forge messages; a stolen identity key opens the messages it wrapped.
Ordinary spaces
Public and normal spaces are TLS-only by design. Their text is readable by the operator, and on the official server that means Cloudflare as well. If that is not acceptable for a conversation, create the space encrypted.
Most chat breaches start with a copied token, not a broken cipher, so the token design is the part worth explaining.
Access tokens last ten minutes. Refresh tokens are single-use, and replaying a rotated one revokes the whole session family.
Session proof keys: each sign-in also sends a 32-byte key your client keeps, and every use of the tokens must be signed with it. A token copied out of a log or a config is inert on its own.
Two-factor sign-in with any authenticator app, or one of ten single-use recovery codes. Trusted devices skip the code for 30 days and are deleted when two-factor is turned off or re-enrolled.
Logins are rate-limited per address, and an unknown username costs the same work as a real one, so the login page does not confirm who has an account.
A program that holds your password, rather than a token, is indistinguishable from the official client. Proof keys stop copied tokens; they do not stop someone who can log in. Automation is what bot accounts are for.
04 · The client
Updates, and why the app is not a browser
The desktop client is native Slint with no webview, no JavaScript runtime and no remote code. Every frame is parsed in Rust, with the size checked before decoding, so a hostile server has far less to work with.
The updater applies a build only when it matches a signed manifest, and that check carries no usage data. A build without a compiled-in public key makes no update request at all.
The installers themselves are unsigned today, so Windows shows a warning when you run one. The download page says so next to the file rather than in a footnote.
05 · Known gaps
What is still missing
In one sentence: encryption has no sender authentication, no key transparency and no forward secrecy, there is no account export or deletion endpoint yet, tokens live only in memory so you log in each launch, and releases are unsigned — every one of those is listed with its reasoning in the known gaps section, and none of them is a secret.
Until those close, do not use Yap for anything you could not bear to lose, or anything you would be hurt to have read. That sentence is on the home page too, and it is not modesty.
Include the server address, the client and version, and what you expected instead. A reproduction against a throwaway server is worth more than a description.