Home
Download
Windows10 / 11 · installer Android8.0+ · APK iPhone & iPadNot yet LinuxNot yet
App

Open beta · Windows, Android and browser

The security story, without the asterisks.

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.

01 · The database

What a server stores, and what it does not

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.

The exact construction, its limits, and the plan for the next version are in the encryption documentation.

03 · Sign-in

What a stolen token is worth

Most chat breaches start with a copied token, not a broken cipher, so the token design is the part worth explaining.

04 · The client

Updates, and why the app is not a browser

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.

06 · Reporting

If you find something

Last updated . If this page ever stops matching SECURITY.md, that is a bug worth reporting too.