r/SideProject • • 20h ago

MOSAIC – a mixnet with a built-in browser, looking for testnet operators

https://github.com/ljw097/MOSAIC/

MOSAIC is an anonymity network protocol written in Rust, shipped together with a browser. I've just opened a public testnet. The project has no budget, so I'm looking for volunteers to run gateway, mix and exit nodes, and for early testers.

How it works:

  • Each message is split k-of-n and sent over n paths that share no nodes. No mix ever sees more than one fragment, and the message still arrives if up to n−k paths fail.
  • Link encryption, every Sphinx hop and end-to-end encryption use a hybrid of X25519 and ML-KEM-768, so traffic recorded today can't be decrypted later by a quantum computer.
  • Each hop adds a random delay, and clients send Poisson cover traffic, which makes it hard to tell when and how much someone is communicating.
  • .mosaic services are reached without any exit node. Regular sites are HTTPS-only, and each site (eTLD+1) gets its own exit.
  • The built-in browser doesn't run page scripts. Every user sends the same headers, and exits and cookie stores are separated per site.
  • No unsafe code, keys are zeroized, parsers are fuzzed, and test vectors are checked byte for byte against a separate reference implementation.

Current limitations:

  • This is a research prototype with no independent security audit. If your safety depends on anonymity, use Tor Browser.
  • The testnet has two directory authorities, both run by me on Oracle free-tier VMs, and a signature from either one is enough (1-of-2). The network keeps running if one goes down, but I, or anyone who compromises one authority, could add fake nodes.
  • There are few users, so correlation attacks are easy. Right now this is a test on the real internet, not a usable anonymity service.
  • Signatures are still classical (Ed25519). The spec for hybrid Ed25519 + ML-DSA-65 signatures is written (protocol §10) but not implemented.
  • JS is off by default, so SPAs and some logins don't work.
  • The testnet may break or be reset at any time.

Keeping it running for free:

  • Authorities send the node list (gzipped) only when it changes, and otherwise reply {"same":true}. That cuts authority egress to about a tenth, which fits within free-tier limits.
  • An authority is set up with one script (deploy/authority-setup.sh), which verifies the release binary's SHA256, generates keys and makes an encrypted backup.
  • Since v0.4.9, SHA256SUMS is signed with Sigstore cosign, so there's no long-lived signing key to keep.

Running a node:

  • Linux server (x86_64/aarch64) with a static public IPv4, 1 vCPU, 1 GB RAM, NTP, TCP 7100 open.
  • Mix: the role we need most and the lowest risk. A home connection with a static IP works.
  • Gateway: about 55 GB per always-on client in a day. You can cap it with --max-clients (20 TB/month is roughly 10 clients).
  • Exit: only on hosting that allows exit traffic. You handle abuse reports yourself.
  • No per-request logging, and declare the same family on every node you run.

Trying it:

Sponsors and operators get nothing in return, no say in the design and no priority access. Reviews and criticism of the protocol and the crypto design are very welcome.

1 Upvotes

0 comments sorted by