The Swell Protocol: Invite-Bound Hybrid Key Agreement, a Double Ratchet with an ML-KEM Epoch Ratchet, and a Signed Server Statement
Specifies the Swell messenger's E2E protocol: invite-bound hybrid X25519/ML-KEM-768 handshake, Double Ratchet with an ML-KEM epoch ratchet, and a signed, hash-chained relay statement.
Schemes: ML-KEM-768, X25519, PQXDH, Double Ratchet
Findings (quotes checked against the source text)
-
First-contact handshake is hybrid X25519/ML-KEM-768 in the PQXDH style, uses an out-of-band invite instead of a server prekey directory, and has no prekey signatures.
First contact uses an out-of-band invite code instead of a server-held prekey directory: a hybrid X25519/ML-KEM-768 handshake in the style of PQXDH, without prekey signatures, whose transcript is bound to the invite.
-
An ML-KEM-768 epoch ratchet inside the Double Ratchet restores confidentiality after a one-time state compromise against a passive adversary, even if it later breaks all X25519 keys.
so that after a one-time state compromise confidentiality is restored against an adversary who is passive while healing, even if it later breaks every X25519 key.
-
The relay publishes an hourly statement signed under a pinned key, kept in a hash-chained append-only log meant to be mirrored by an external witness.
Separately, the message relay publishes an hourly statement signed under a pinned key and kept in a hash-chained, append-only log meant to be mirrored by an external witness.
-
Security evidence is limited to symbolic ProVerif and Tamarin analyses of simplified models; there is no computational proof, and the protocol has had only internal review.
there is no computational proof. The protocol has had internal review only; it has not undergone an independent security audit.
For builders
Treat the ML-KEM epoch ratchet inside a double ratchet as a reusable pattern for post-quantum forward secrecy in messaging, not as a blockchain signature scheme.
Limits
Symbolic models only, no computational proof, internal review only, no independent audit; two admitted forward-secrecy limits; not a signature or chain design.
Topics: kem hybrid-schemes threat-model wallets-keys chain-design cryptanalysis