Skip to content

Developers

Read it, run it, try to break it

Umbra is source-available. The threat model, an internal audit report and 144 testable spec claims are published alongside the code.

Try it in five minutes

A local demo with two profiles

The demo seeds a local relay and two profiles, Alice and Bob, who already share a community. You need a Rust toolchain and a clone of the repository.

shell
cargo run --release -p umbra-core --example demo -- ./demo

The interface also runs on its own against a built-in demo backend with npm run dev, which is handy for trying the UI without a relay.

Architecture

How the pieces stack

Desktop app

SvelteKit interface · WebRTC and SFrame worker · Tauri 2 shell · tray · updater · bundled relay host

Core engine

Joins, sync, messages, files, roles, private channels, calls, devices, friends, emoji, backups and storage policy

Ledger

Signed ops and permissions

Crypto

MLS, X-Wing, hybrid signatures, onion layers

Protocol

Envelopes, invites, proof of work, padding

Encrypted store

Local data and unlock slots

Network

Relay client and hop circuits

Relay

Store-and-forward mailboxes, proof of work, expiry, hop directory, TURN and media forwarder. It never holds keys.

Architecture: the desktop app sits on a core engine made of ledger, crypto, protocol, encrypted store and network layers, which reaches relays through hops, a proxy, or directly.
  • Rust
  • OpenMLS
  • Tauri 2
  • SvelteKit
  • Svelte 5
  • Tailwind
  • WebAssembly
  • SQLite
  • WebRTC
  • RNNoise
  • DeepFilterNet 3
  • Docker
  • Caddy

Rust (edition 2024) for everything security-relevant. See the cryptography table for the constructions.

Tests

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.

Before you fork or report

  • Individuals may fork, modify and share non-commercially. Organizations may only run official, unmodified releases. License summary
  • Security research is welcome on your own network, or with the operator’s permission, if findings are reported privately first.
  • Third-party components keep their own licenses, listed in THIRD_PARTY_NOTICES.md.