The Nullbin technical report
A technical report on Nullbin’s design, threat model, protocols, hardening, and measurements.
“Nullbin: Ephemeral Encrypted Sharing and Bounded Group Messaging with a Small Trusted Base” describes how Nullbin is built and why. Nullbin is a self-hostable system that combines expiring end-to-end encrypted text and file sharing (Paste) with memory-only, forward-secret group chat for 2 to 20 people (Null Chat).
A single Go server with no database and no third-party Go dependencies never sees plaintext or keys. It stores only ciphertext, hashes of capability tokens, and the operational metadata needed to enforce expiry and limits. A static pure-Go CLI and library, nullbin-cli, offers the Paste protocol without browser JavaScript.
What the report coversLink to section: What the report covers
The design puts security first and simplicity second, and the report is organized around five trust boundaries:
- Padmé-padded streaming XChaCha20-Poly1305 encryption, with a pure-Go libsodium-compatible implementation checked against shared test vectors.
- A bounded group chat protocol for 2 to 20 members, with equivocation detection, four ProVerif models, and a malicious-server fuzzer.
- A standard-library-only backend with hard quotas, IPv6 /48-aware rate limits, and fair bandwidth sharing.
- Matching hostile-content defenses in the browser and the terminal.
- Reproducible builds and Sigstore-verified updates.
It also quantifies Padmé size overhead and Null Chat capacity, reports runtime measurements, and lists which design changes came out of adversarial review by a swarm of AI agents.
Checking the claimsLink to section: Checking the claims
The repository includes the LaTeX source, a verification guide describing how every claim, number, and reference in the report was checked, scripts that recompute the padding sizes and the Null Chat capacity table, benchmark harnesses for the CLI and the browser, and the recorded output of every measurement.
ScopeLink to section: Scope
This is a technical report written by the system’s developer. It has not been peer reviewed, and Nullbin has not yet had an independent security audit. The report describes nullbin-server v0.6.1 (commit 180413c) and nullbin-cli commit 99ed6e0.
The report is licensed under CC BY 4.0, except for the Nulliance name and logo and third-party material identified in it.