CrossBus

Try to break an encrypted channel

A client and a server exchange RPC over a wire this page controls. You play the attacker: you can read, copy, change and inject envelopes, but you do not have the key. Turn encryption off to see the same attacks succeed.

Client

Connecting…

On the wire

Encrypted with AES-256-GCM

    Envelopes appear here as they travel. Open one to see the full message.

    Server

    Account balance

    €1,000.00

      No transfers yet.

      Channel

      Encryption

      Attack the wire

        Each attempt and the server's verdict will be listed here.

        Bus trace · ✕ marks a message the server refused

        • request 0
        • response 0
        • signal 0
        • error / refused 0
        Envelopes are held for 220 ms on the wire so you can follow them.

        How it is wired

        Both endpoints share one key, provisioned by the application. Since 0.1.7 the plugin authenticates the message type, the handler name and the reply's request ID, and rejects plaintext. Since 0.1.8 each sender numbers its messages, so a copy is refused even when it arrives at the same moment as the original. Envelope metadata such as names and IDs stays visible on the wire.

        Next demo Worker pool → Render a fractal across Web Workers.