Nostrautica docs

Nostrautica: Threat Model

Finalized from SPECIFICATION.md §14 (spec is normative). This summarizes what the system protects, what it deliberately leaks, and who must be trusted.

Protected

Leaks (accepted & documented)

Trusted parties

Marmot MLS chat

Coordinator handover

When the organizer replaces a coordinator, the new one rebuilds the member list from the previous roster (NIP §3.7). It trusts that roster only from the event identity (E_id) or from the outgoing coordinator that the E_id-sealed install grant names (prev_coordinator). Anyone holding an ECK, including a revoked attendee using a fresh key, can encrypt a roster that decrypts correctly. Before this rule, such a roster could make the attacker an approved organizer on the new coordinator: an MLS co-admin with the current ECK. Two consequences remain:

Revocation honesty

Rotation is forward-only (spec §6.3). Anyone who ever held a decryption key can decrypt content published while that key was current, forever. Removing an attendee mints ECK v(n+1), re-grants it to the remaining attendees, deletes the removed directory entry (NIP-09), and encrypts all future content under the new key, protecting future content only. For conference intro videos and match lists (data of bounded sensitivity and time-bounded relevance), this is an accepted trade-off, stated in the UI where organizers configure events and where they revoke.

Concurrent rotations across organizer devices. Two organizer devices (or an organizer and a co-organizer) that revoke at the same moment each mint "v(n+1)" with different keys. The protocol keeps both keys everywhere and heals by a further rotation (NIP §4.1), so no one loses access to content they held a key for. What it cannot recover is the losing device's roster: a person removed only on that device is on the surviving roster, and the repair re-grants everyone on it. The organizer is told to check and revoke again. A co-organizer's account learns about a rotation only from the fresh 21605 the rotating device re-issues; one this device never heard of (neither granted by it nor named in a grant it received) stays on the old keys and sees "keys changed on another device".

Client hygiene