How safe is Farpad, honestly?
Farpad is a quick way for two people with no app in common to share messages, a sketch, some text, or a password. It is much safer than pasting things into email, SMS or a chat service that keeps them. It is less safe than Signal, and this page explains exactly why, so you can choose.
The short version
| Email, Slack, SMS | Farpad | Signal | |
|---|---|---|---|
| The service can read your messages | Yes | No | No |
| Messages are kept after you're done | Yes, often for years | No: memory only | On your phones, until deleted |
| Needs an account or phone number | Yes | No | Yes |
| Code you run is checked before it reaches you | Varies | No: fresh from the server each visit | Signed app releases |
| Knows it's the same person as last time | By account | No: every pad starts from zero | Safety numbers that persist |
| Hides who talks to whom from the server | No | No: the relay sees both IP addresses | Largely (sealed sender) |
| Protected against future quantum computers | No | No | Yes, in its key exchange |
| Independently audited | Varies | No | Yes, many times |
| Works when the other person is offline | Yes | No: both must be online | Yes |
What protects you
-
The link carries a secret the server never sees. An invite looks like
…/#join=Xy3…. Browsers never send the part after#to any server, so the site gets only a room number made from that secret, never the secret itself. The page wipes it from the address bar as soon as it has read it. - Every time the two devices meet, they make fresh keys. Each makes a new key pair (ECDH on P-256), and they agree an encryption key from the two. The private halves stay in the page's memory and are gone when it closes. So even someone who recorded all the traffic and later finds the invite link cannot decrypt it: the link alone was never enough.
- The safety code shows whether anyone is in the middle. Both screens show five pictures (for example 🦊 🌵 🚲 🎈 🔑) worked out from the keys. If someone had intercepted the connection, the two screens would show different pictures. The device that joins commits to its key before it sees the other's, so an attacker can't keep trying keys until the codes happen to match: they get one guess in about a billion. This only helps if you compare the codes, over a voice call or in person, not over the same channel you sent the link through.
- Everything is encrypted and checked. Messages, strokes and text are sealed with AES-256-GCM, a separate key for each direction, and numbered so they can't be replayed or reordered. Anything changed in transit is rejected.
- Sizes are blurred. Every message is padded to one of a few fixed sizes before it is encrypted, so the relay can't tell an 8-character password from a 30-character one.
- Nothing is stored. The pad lives in the two browser tabs. The relay keeps a little bookkeeping for a day (two hashed seat tokens and a message count) and never the content. Close both tabs and the pad is gone; there is no history to recover, for you or for anyone else.
- Secrets disappear. A message sent as a secret stays hidden until tapped, is deleted from both screens a minute after it is opened, and never joins the chat history. It is only ever sent live: if the other person isn't connected, it isn't sent.
Why it's weaker than Signal
- The code arrives fresh from the server every time. This is the biggest difference, and it applies to every encrypted web app. Signal ships signed app builds through app stores, and its Android app can be rebuilt from source and checked byte for byte. Farpad's page, including the code that does the encryption, is downloaded each time you open it. Whoever controls the server could serve a modified page that quietly sends your keys or messages elsewhere, possibly to just one visitor, and you would be very unlikely to notice. That includes the person running the site, anyone who takes over their Cloudflare or GitHub account, and Cloudflare itself. The end-to-end encryption protects you from a relay that only watches; it can't protect you from one that changes the code. Running your own copy moves that trust to you.
- No lasting identity. Signal remembers each contact's identity key, so once you've verified someone, you know it's still them months later and are warned if that changes. Farpad has no accounts and no memory: every pad starts from zero, and the only proof of who is on the other end is how the link travelled and whether you compared the safety code.
- The link is the invitation. Whoever opens it first takes the second seat. If the link leaks (a shared screen, a forwarded email, a work chat that logs everything), someone else can get in first. You would notice, because your friend would be turned away and the safety code would not match on a call, but only if you check.
- The relay sees who and when. Signal goes to some lengths to hide who is talking to whom. Farpad's relay runs on Cloudflare and sees both people's IP addresses, when they connect, roughly how much they send and when. It can't see what they send. Anyone who can watch the relay (its owner, Cloudflare, or someone with a legal order to either) learns that two addresses shared a pad.
- A browser tab is a weaker sandbox than an app. Browser extensions with permission to "read and change data on all websites" can read everything on the page, including secrets as you type them. So can anyone watching your screen or a screen recording. Copying a secret puts it on your clipboard, and many systems keep a clipboard history.
- Simpler, newer, unaudited cryptography. Signal's protocol re-keys with every message (the "double ratchet"), so even a key stolen in the middle of a conversation stops working soon after. It has been formally analysed and audited many times, and has added protection against future quantum computers. Farpad uses one key pair per meeting, on standard browser cryptography with no ratchet and no post-quantum protection. Someone who records traffic today and one day has a large quantum computer could decrypt it. Farpad was written recently, with AI help, and nobody independent has reviewed it.
How reliable is it?
- Both of you must be online. Nothing waits on a server for later. If the other person is offline, chat, strokes and text catch up when they return, as long as at least one of you kept the page open. Secrets are never queued.
- Close both tabs and it's gone. That is the point, but it means there is no backup. Copy out anything you want to keep, or use Save image for the sketch.
-
It depends on Cloudflare and the internet. It is a reasonable stand-by when Slack,
Teams or WhatsApp is down, but if Cloudflare has an outage, or a network blocks
workers.dev, Farpad is down too. It is not a censorship-resistant tool. - It is free, so it has limits. The public site allows a set number of new pads a day and caps how many messages each pad sends, to stay within Cloudflare's free plan. When the day's allowance is used, new pads wait until midnight UTC. Your own copy has its own allowance.
- Phones drop connections when the screen locks or the network changes. Farpad reconnects by itself, and if your phone reloads the page you may see a new safety code to compare.
Good uses
- Handing a password, API key, Wi-Fi key or recovery code to someone you're on a call with.
- Moving text between your own phone and laptop without signing in to anything.
- Chatting with someone you just met without giving out your number.
- Sketching directions, a diagram or a layout together; tech support for family.
- Working on a snippet of code or a list with someone outside your workspace.
- A stand-by channel while your usual chat service is down.
Please don't rely on it for
- Anything where being found out could put you or someone else in danger (journalists' sources, activists, abuse situations). Use Signal.
- Long-running conversations with the same person. An app with lasting identity, like Signal, is safer and more convenient.
- Situations where you need a record of what was said.
Using it as safely as possible
- Send the link by a route only the other person sees, or show the QR code in person.
- Compare the five-picture safety code on a voice call, or side by side, before sending anything sensitive. If the code changes later (a reload or reconnect), compare it again.
- Use secret for passwords and keys, and change any password you shared once it's no longer needed.
- Use a browser profile without extensions you don't trust, and don't share your screen while revealing a secret.
- For the highest trust, run your own copy, so that you are the one serving the code.
For the technically curious
- Invite secret: 128 random bits. HKDF-SHA-256 derives the room id, a "link key" (AES-256-GCM) that seals the handshake, and a salt for the session keys.
- Handshake: the guest sends
SHA-256(guest public key), the host sends its public key, the guest reveals its key, and the host checks it against the hash. All of this is sealed with the link key, so the relay sees no public keys. - Session keys: HKDF over the ECDH (P-256) shared secret, salted by the link, with both public keys in the context. One AES-256-GCM key per direction, plus a 30-bit safety code and a session id.
- Messages:
{ n, body }padded to 256 B, 1 KB, 4 KB, 16 KB or 46 KB, sealed with a random 96-bit nonce. Strictly increasingnper direction. - Shared document: Yjs. Updates travel as sealed messages; the relay can't tell typing from drawing from chat.
- Everything is in the source:
public/js/padcrypto.jsandpublic/js/session.jshold all of the cryptography, andtest/session.test.jsattacks it with a hostile relay and someone in the middle.