Skip to content

Security

What Umbra protects, and from whom

We would rather tell you exactly what is protected than tell you it is safe.

What it is built to protect

Condensed from the project’s threat model. Read the full document

  • Message and file content, including call audio and video.
  • The social graph: who is in which community, and who talks to whom.
  • Identity: linking a persona to a person, or personas to each other.
  • Community integrity: no forged moderation, permissions or membership.
  • Private-channel content, from members who may not view it.

Threat model

Who can see what

WhoWhat they can seeWhat they cannot do
Relay operatorPadded sizes, timing, rotating mailbox IDs, the IP of the last hop (or yours with hops off)Read content, learn senders, tell which community a mailbox belongs to, forge or silently reorder messages
Network observerThat you talk to relays, TLS metadataRead content
Future quantum computerRecorded ciphertextDecrypt it (hybrid post-quantum key agreement at every layer)
Malicious memberWhat they are allowed to view while a memberRead private channels they can’t view, read after removal, forge others’ messages or moderation, exceed their permissions, learn other members’ IP addresses
Malicious owner or AdministratorEverything in that communityImpersonate members, read other communities, rewrite past history
Device thief (machine off or locked)An encrypted fileRead it without the passphrase, Hello gesture or security key
Someone with your backup fileOne encrypted blobRead it without the backup passphrase

What Umbra does not protect against

  • Malware on your device.
  • Members screenshotting or leaking content.
  • A global observer correlating timing. There is no cover traffic yet.
  • Owner power inside a community, which is total by design.
  • Private channel names, which are visible to a modified client.
  • Linking personas through writing style or timing.

The owner’s power

Inside a community, the owner can see and do everything, by design. Owners and Administrators hold every private channel’s keys. What they cannot do is impersonate members, read other communities, or rewrite past history.

The web edition

In a browser there is no hop network, so the relay sees your IP address, and the server delivers the app’s code on every visit. The desktop app is the private option.

Cryptography

Hybrid post-quantum at every layer

Post-quantum

Every key exchange combines a classical algorithm with ML-KEM, the NIST-standardised post-quantum algorithm, so an attacker would need to break both. This protects against “record now, decrypt later”.

Hybrid signatures

Identities sign with both Ed25519 and ML-DSA. A forgery would need to break both.

MLS

The IETF standard for group encryption, giving forward secrecy and post-compromise security as groups change.

PurposeConstruction
Group messagingMLS (RFC 9420), ciphersuite MLS_256_XWING_CHACHA20POLY1305_SHA256_Ed25519, PURE_CIPHERTEXT wire format
Post-quantum key agreementX-Wing hybrid KEM: ML-KEM-768 + X25519
Identity signaturesEd25519 + ML-DSA-65; both must verify; every signing context is domain-separated
MLS leaf bindingEach device’s leaf carries a hybrid signature by the persona
Sealed boxes (join requests, DM invites)X-Wing KEM + HKDF + XChaCha20-Poly1305
Outer envelopeXChaCha20-Poly1305 under a key from the per-community routing secret; mailbox = HKDF(routing secret, day)
Call mediaAES-256-GCM per frame; per-sender key = HKDF(MLS exporter, epoch, sender)
Hop circuitsX-Wing per hop, then ChaCha20 layers over fixed-size cells
At restXChaCha20-Poly1305 per value, bound to table and row; data key wrapped per unlock slot
PassphrasesArgon2id, parameters stored per slot and raised when defaults go up
HashingSHA3-256 with length-prefixed parts

Quality and testing

How it is tested

End-to-end tests against real relays

Multi-profile tests cover joins, roles, private channels, device linking, DMs, emoji, call keys, hop circuits, ledger upgrades and catch-up.

An attack suite

A modified client runs among honest members: extreme clocks, forged or edited messages, unauthorized group changes, forked groups, banned members returning. Each test was confirmed to fail with its defence switched off.

Property tests and fuzz targets

For the ledger and every wire decoder.

Continuous integration

Clippy with warnings as errors, all tests, UI type checks, cargo audit and license checks with cargo-deny on every push.

Internal clean-room audit, December 2026

A spec team wrote 144 testable claims from the docs alone. Attack teams wrote black-box tests from those claims, and review teams read the code separately.

high severity
12
all 12 fixed
medium severity
20
18 fixed
low severity
21
see the report

Caveat: this was an internal audit run with an AI coding assistant. It is not a substitute for an external audit by a security firm.

Read the audit report

Found a problem?

Good-faith security research on your own network, or with the operator’s permission, is allowed under the license if findings are reported privately first.