Status Draft. Protocol version 1 (sv1) of the Sloppy Voice v2 product
Date 2026-12-04
Depends on 00 to 21 (every document; this one is written last and cross-checks them)
Decisions used D-001 to D-094, in particular D-004, D-006, D-007 (revised), D-016, D-017, D-021, D-022, D-023, D-026, D-030, D-033, D-035, D-036, D-037, D-038, D-040, D-041, D-043, D-046, D-049, D-051, D-054, D-055, D-056, D-061, D-062, D-063, D-065, D-071, D-072, D-074, D-077, D-079, D-080, D-081, D-082, D-083, D-084, D-085, D-086, D-087, D-089, D-090, D-091, D-092, D-093, D-094
Decisions proposed here PD-22-1 to PD-22-3 (listed in §16.2; inline blocks start with "Proposed decision:")
Owns The whole-system threat model (assets, security goals per mode, adversary model, per-adversary analysis); the metadata exposure table; the residual-risk register (RR-* IDs); the implementer security checklist (SC-* IDs); the plain-language security statements for documentation outside the app; the cross-document security consistency review

1. Scope

1.1 What this document covers

This document is the security reviewer's entry point to the Sloppy Voice v2 specification. It:

  • states what each security mode protects and what it doesn't (§3);
  • defines the adversaries the design considers (§4) and, for each one and each mode, what it can and can't do, through which mechanism, and which document specifies that mechanism (§5);
  • checks each hard problem HP-1 to HP-15 of 00 §6 against those adversaries (§6);
  • gives the full metadata exposure table that 00 §5.4 refers to (§7);
  • keeps the register of residual and accepted risks, stated plainly (§8);
  • covers privacy (§9), denial of service and abuse (§10), and cryptographic agility and the post-quantum outlook (§11);
  • gives plain-language statements about security for help pages and documentation, consistent with 00 §5.5 and 20 (§12);
  • gives an implementer checklist that points to the normative sections (§13);
  • records where the other documents' security sections disagree with each other or with 00, and what this document recommends (§14).

1.2 What this document doesn't cover

  • It defines no protocol object, message, endpoint, event type, error code or timer. Every mechanism it names is specified in its owning document, which is the normative source. Where this document and an owning document disagree about a mechanism, the owning document wins and the disagreement is a defect to be reported (§14).
  • It doesn't define user-interface copy. 20 owns all in-app text (00 §1.7 rule 6). §12 states meanings, and gives reference statements for help pages and documentation that sit outside the app.
  • It doesn't reopen owner decisions. Where an owner decision creates a risk (D-071 most of all), this document states the risk and the mitigations and doesn't argue for a different decision.

1.3 Normative content

Most of this document is analysis and is informative. The following parts are normative:

  1. §12.3, the claims list. Clients, their help pages and their documentation MUST NOT make the claims listed there. This restates and extends 20 §2.3 rule 4 for material outside the app.
  2. §13, the checklist, restates requirements of other documents. Each item's force (MUST, SHOULD) is the force it has in its owning document, which governs. An implementation that claims a conformance class (00 §1.5) and fails an item that applies to that class doesn't conform.
  3. §8, the register, is normative in one respect: a document that says a risk is "recorded in 22" or "accepted" refers to an RR-* entry, and a new accepted risk MUST be added to the register before it is described to users as accepted.

Proposed decision PD-22-3: the register of §8 is the single list of accepted residual risks. Other documents cite its RR-* IDs, and a new accepted risk is added to it before it is described as accepted anywhere. Rationale: one place to review what the system doesn't protect against.

1.4 Terminology

This document uses the terms of 00 §2 exactly. It adds:

Term Meaning
Adversary A party, or a role a party plays, whose capabilities §4 defines. One real organisation can play several roles (for example the same operator runs a user's home server and the hosting server of a channel).
Honest path A delivery path where every server and client involved follows the specification. "Cut off within 4 s on every honest path" (HP-15) says nothing about a relay or SFU that ignores leases, for example one colluding with a removed member (RR-12).
Residual risk A risk that remains when every party follows the specification. Each has an RR-n ID in §8.
Accepted risk A residual risk that the owner, or the lead through a logged decision, chose to keep in exchange for usability or simplicity. Its register entry names the decision.
Detection A user, an operator or a client learns of an attack. The design distinguishes user-visible detection (one of the surfaces of 00 §4.12), silent detection (a client stops showing or playing something without a warning, D-043) and diagnostic detection (a report to servers, never shown to the user, D-035).

References such as "07 §13.6" name a document number and a section in it. "00 §5.2" is the trust table of the overview.

1.5 How to read this document

  • To learn what the system promises: §3 and §12.
  • To check whether a specific attack works: §5 (by adversary), then §8 (by risk).
  • To see what servers learn: §7.
  • To build an implementation: §13, then the sections it cites.

2. System summary for security reviewers

This section repeats only what the analysis needs. 00 §3 to §6 is the full architecture.

2.1 Parties and trust boundaries

                                   +--------------------+
   OIDC provider(s) <-- login ---- |  Home server (H)   | --- push --> Push gateway --> APNs / FCM / Web Push
   (Google, GitHub, ...)           |  sessions, devices,|                                       |
                                   |  IdentityState,    |                                       v
                                   |  KeyBackup, vault, |                                 user's device
                                   |  DM index, notify  |
                                   +---------+----------+
                                             | HomeAssertion (+ IdentityState), S2S events, notify
                                             v
   +-----------+   HTTPS + WebSocket   +---------------------+   relay control   +---------------+
   |  Client   | --------------------> | Hosting server (S)  | ----------------> | Relay / SFU   |
   | (device:  |                       | community, channels,|                   | (media plane) |
   | identity  | <-------------------- | DMs, MLS DS (+AS in |                   +-------+-------+
   | key, DSK, |   events, MLS, sealed | channels), calls,   |                           |
   | MLS, K_*) |   content, history    | leases, reports     |                           |
   +-----+-----+                       +---------------------+                           |
         |                                                                               |
         +---------------------- media (DTLS; SFrame in secure calls) -------------------+

No line joins two clients. Clients never communicate with each other directly: every exchange between them goes through servers, and all call media goes through the hosting server's relay or SFU, in every context and mode (D-094).

Trust boundaries that the analysis crosses again and again:

  1. Client ↔ every server. In insecure contexts everything crosses it in plaintext under TLS. In secure contexts only ciphertext and metadata cross it.
  2. Home server ↔ hosting server. The home server vouches for its users (HomeAssertion, IdentityState). The hosting server decides membership and, in channels, is the MLS Authentication Service.
  3. Hosting server ↔ relay and SFU. The relay and SFU are inside the hosting server's trust domain (15 §17 item 1, 21 §13 item 2).
  4. Device ↔ the user's other devices. They share the identity key, the vault and the pins. Each has its own DSK.
  5. Web client code ↔ its origin. A web client is exactly as trustworthy as the origin that serves its code (HP-10).

2.2 The modes this document analyses

Mode What it means here Owners
Insecure Any insecure context: insecure channels, insecure 1:1 DMs and group DMs, and their calls. Confidentiality rests on TLS and DTLS hop by hop (D-021). 00 §5.1, 11, 12
Secure channel A secure channel on any server, including every channel of a secure server. MLS group, SealedMessage, server-validated identity (D-035). 09, 13, 14
Secure DM A secure 1:1 DM or secure group DM. MLS group with sv_participants, SealedMessage, client-validated identity with pins (D-036, HP-2). 12, 13, 14, 07
Calls Calls in any context. A call has the mode of its context (SM-11). Insecure calls: DTLS only. Secure calls: SFrame keyed from MLS, plus MediaAttestation (D-041 to D-043). Routes: the hosting server's relay and SFU, in every context (D-094). 15 to 18

Some parties act at the account level rather than per context (the OIDC provider, the home server, the push gateway). For them §5 still uses the four modes, describing the effect of their actions on contexts of each mode.

2.3 Key hierarchy

OIDC login --(D-016)--> home session (bearer tokens; no keys for insecure accounts, D-021)

Identity key (Ed25519, one per secure account, on every enrolled device)          [07 §3.1]
  |-- signs IdentityCertificate (sub, ik, igen, kind)                             [07 §5]
  |-- signs DeviceCertificate per device (did, dsk, dbk, plat)                    [07 §6]
  '-- signs DeviceRevocation                                                      [07 §8]
Home server key --> signs IdentityState (sec, igen, idc, devices, revoked; <= 24 h) [07 §7]
     => device valid only under dual control: certificate AND listed AND not revoked [07 §9]

DSK (per device, never leaves it) = MLS leaf signature key; signs SealedMessages,
     HistoryShares, MediaAttestations                                             [07 §3.2, 13 §3.7]

MLS group per secure context (ciphersuite 0x0001)                                 [13]
  |-- exporter "sv1 history" -> K_hist(e) -> K_msg per message (AES-256-GCM, kc)  [14 §3]
  |     '-- HistoryShare: chosen K_msg under K_share, HPKE to each recipient dbk  [14]
  '-- exporter "SFrame 1.0 Base Key" -> SFrame keys per KID (joinNonce, source)   [18 §3, §4]

Vault key (generations) -> AccountVault: key archive, pins, settings, phrase entropy [08 §8 to §10]
Recovery phrase (80 bits) --Argon2id--> KeyBackup (identity key, vault key)       [08 §4, §5]
Pairing: CPace over the home server relay -> pairing payload                      [08 §6, 04 §11]

3. Assets and security goals

3.1 Assets

ID Asset Where it lives Why it matters
AS-1 Message content: text, formatting, edits, reaction values, replies Hosting server (plaintext in insecure contexts; SealedMessage ciphertext in secure ones); members' devices; key archives The thing people want kept private.
AS-2 Attachments and their names Hosting server blob store (SVF1 ciphertext in secure contexts); devices As AS-1; files often carry more sensitive data, including photo location (11 §14.3).
AS-3 Live media: voice, screen video, screen and application sound, webcam In transit only; relay and SFU forward it; never recorded by the protocol (18 §14 item 5) Calls are often more private than text.
AS-4 History keys K_hist(e), the key archive, and the per-message keys in manual history shares Devices; home server (archive, wrapped under the vault key); hosting server (HistoryShares, sealed to the recipient's devices) Whoever holds them reads the history they cover. Newcomers never receive them automatically (D-007).
AS-5 The identity key Every enrolled device; KeyBackup (wrapped); pairing payload in transit Binds the account to every device. Its loss means a reset; its theft is mitigated only by dual control (D-033).
AS-6 DSKs One per device, never exported Authenticates every message, history share and media attestation from that device.
AS-7 Vault keys and the AccountVault Devices; home server (ciphertext) Unlocks pins, the key archive and the recovery-phrase entropy (08 §8.6.5).
AS-8 Recovery phrase and KeyBackup The user (paper, password manager); home server (ciphertext) Restores AS-5 and AS-7 on a new device.
AS-9 Session credentials: access and refresh tokens, remote session tokens, bot tokens, fetch tokens, event tickets, rejoin tokens, RelayTickets Devices; servers store hashes Bearer credentials. They give access to insecure contexts in full and to secure contexts' ciphertext and metadata.
AS-10 Linked provider logins The OIDC provider The root of every account (D-016): fresh authentication, resets and recovery all rest on them.
AS-11 Server keys (sign, mls-external-sender), relay-control credentials, VAPID keys Servers, ideally in an HSM or KMS (21 §8.1) Sign HomeAssertions, IdentityStates, S2S tokens, RelayTickets and MLS Remove proposals.
AS-12 Membership and identity bindings: rosters, sv_participants, pins, verification state Hosting servers, MLS group state, vaults Decide who can read a secure context.
AS-13 Metadata: who talks to whom, when, how much, from where Every server involved; push services; networks §7 lists it. Encryption doesn't hide it.
AS-14 IP addresses Every server, relay and SFU a client connects to; never other clients (D-094) Reveal location and enable network attacks.
AS-15 Availability: being able to send, receive, join and call Servers, relays, networks Every server can deny service to what it handles.
AS-16 The secure state of contexts Hosting server; clients' pins (09 §13, 12 §11.1) A silent downgrade would expose AS-1 to AS-3 without anyone noticing.
AS-17 Push tokens and push keys Gateway; home server holds push keys only (19 §11.2) A leaked token lets anyone wake the device.

3.2 Security goals by mode

"Yes" means the protocol provides the goal against every adversary except those named in the cell. "No" means the goal isn't provided. "Partial" is explained in the cell.

# Goal Insecure contexts Secure channel Secure DM and group DM Calls
SG-1 Confidentiality against third parties (network, DNS after first contact, unrelated servers) Yes, by TLS and DTLS. Not against a DNS attacker at first contact with a cross-site, non-DNSSEC delegation (RR-8). Yes Yes Yes. Insecure calls by DTLS; secure calls also by SFrame.
SG-2 Confidentiality against the servers involved (home, hosting, relay, SFU, push) No. The hosting server, its relay and SFU read and hear everything; the home server sees insecure previews (00 §5.1, RR-3). Yes for content and media. Not for metadata (§7). Not against members the hosting server admits (RR-2). Yes for content and media. Not for metadata. Insecure: no. Secure: yes, except that a removed member colluding with the relay can keep hearing until the removal commit (RR-12).
SG-3 Sender authenticity against servers No. The server attributes senders and can forge anything. Yes for live content (DSK signatures, 14 §4.6). For messages the reader receives through the key archive or a manual share that were sealed before its own leaf joined, only as strong as the hosting server's credential records (RR-37). Yes. Insecure: no (16 §15 item 1). Secure: yes; members colluding with a relay can forge media for seconds (RR-11).
SG-4 Sender authenticity against other members Yes, against members (the server attributes senders from sessions). Yes for text (DSK signatures). Partial for media (RR-11). As secure channel. As the context.
SG-5 Membership integrity: only people the controlling party admitted can read The server decides; it can read anyway. The hosting server decides (D-035). It can admit accounts it controls; they appear in the member list (RR-2). The participants decide. The hosting server can't add a person (D-036). As the context.
SG-6 Identity continuity: a changed identity key is visible No identity keys exist. Only to the user themself (W4a, W4b), and an equivocating home server can delay that (RR-25). Other members aren't told (D-035, RR-1, RR-2). Yes: W2 to every contact who pinned the old key; blocking for verified contacts. First contact is trust on first use (RR-9). As the context.
SG-7 Forward secrecy Not applicable (servers keep plaintext). Partial. MLS secrets have it, but content keys don't expire: members' devices and the key archive keep them (RR-7). Newcomers never receive earlier keys (D-007), except message keys a member deliberately shares (RR-55). Partial, as channels. Secure calls: yes. Media keys are never archived, and each receiver erases an old epoch's keys 10 s after it learns that the call switched past it (18 §6.6, D-080).
SG-8 Post-compromise security Not applicable. Yes for new content once the compromised leaf is refreshed: removed (device revocation, 13 §13) or self-updated after the attacker lost access (at most 7 days of activity, 13 §14.1). A copied identity key or vault key doesn't heal this way (RR-7, RR-33). As channels. As the context's group.
SG-9 Downgrade resistance: a context seen as secure can't silently become insecure Not applicable. Yes after first sight: pins and W9 (D-056). Before first sight: no (RR-47). 1:1 DMs: computed by clients from home-signed IdentityStates. Group DMs: pinned, W9 (12 §11.1). A call's mode comes from the client's own view of its context (15 §17 item 12).
SG-10 Bounded authority: a revoked speaker or listener is cut off quickly Yes within 4 s (HP-15): every call path goes through the hosting server's relay or SFU, which enforces leases (D-094). Yes within 4 s for media; content delivery stops at once; cryptographic exclusion follows the removal commit (RR-12). As channels. As stated.
SG-11 Live only: no audio or picture captured while the user believed they weren't heard or seen is ever sent Yes (D-012, D-090, 16 §7.5, 17 §4.5, §5.9). Yes Yes Yes
SG-12 Non-repudiation (the opposite of deniability) Not applicable (no signatures). Yes, deliberately: messages and media are transferably signed by device keys (14 §17 item 6, 18 §14 item 10, RR-22). Yes Secure calls: yes.
SG-13 Metadata privacy against servers No. No, beyond padding and constant-bitrate audio (§7). No. No.
SG-14 Availability against the servers involved No. Every server can deny service to what it handles. No. No. No.
SG-15 IP address privacy against strangers Yes for message requests and links (D-049, 01 §11.4). Not against the servers a client connects to. As insecure. As insecure. Yes against other participants: they never learn a user's IP address from a call, because all media goes through the hosting server's relay or SFU (D-094). Not against the hosting server and its relay and SFU.

3.3 Explicit non-goals

The design deliberately doesn't try to provide:

  1. Protection of insecure contexts against the servers that handle them (00 §5.1).
  2. Anonymity. Every party is known by its canonical address to the servers it uses.
  3. Protection against the user's own compromised device, operating system or browser extensions.
  4. Protection against a member who copies or forwards what they can read. Group messaging can't prevent it (14 §17 item 3).
  5. Hiding who is a member of a context from its hosting server, or hiding the user's communities from their home server (09 §18 item 8).
  6. Deniability of messages or media (PD-22-1).
  7. Availability against a server, relay, gateway or network that drops traffic.
  8. Protection against a user who is socially engineered into approving an attacker's device or entering a code on an attacker's screen (08 §18.2). The design reduces it; it can't prevent it.
  9. Cryptographic protection of channel membership against the channel's hosting server (D-035). This is the owner's rule that servers validate identity in channels.

4. Adversary model

4.1 Adversaries

ID Adversary Capabilities assumed Typical real-world instance
ADV-NET Network attacker Reads, drops, delays, replays and injects packets on any path between parties; can't break TLS 1.2+ with a valid certificate, DTLS, or the primitives of 04. Public Wi-Fi, an ISP, a state on the backbone.
ADV-DNS DNS attacker Controls the DNS answers some verifier sees (poisoned or malicious resolver, on-path DNS); can't forge DNSSEC; can obtain a certificate only where §5.2 says so. A malicious resolver, on-path DNS tampering.
ADV-REG Domain registration holder Controls the registration of a server's domain: sets its DNS records, including DNSSEC, and obtains certificates for it that CAs issue legitimately. A hijacked registrar account; a domain that lapses after its server shuts down and is re-registered by someone else (21 §11.9, 09 Q4).
ADV-HOME Malicious or compromised home server Full control of one server in its home-server role for its own accounts: its keys, storage, code and operator. A malicious operator, an insider, a breach.
ADV-HOST Malicious or compromised hosting server Full control of one server in its hosting role for the contexts it hosts: sequencing, storage, the MLS Delivery Service and (in channels) Authentication Service, call control, moderation, its relays and SFU. As ADV-HOME. Often the same server.
ADV-MEDIA Malicious relay or SFU Controls the media plane of a hosting server: forwards, drops, delays, duplicates and alters data-channel messages and RTP; sees everything it forwards; may forge lease ticks; doesn't hold MLS secrets. A compromised media node, a third-party relay shared by several servers (21 §6.11), an edge platform.
ADV-PUSH Push gateway or push provider Sees, drops, delays and replays push messages it carries; knows installations and timing. The app publisher's gateway (for the official apps, the official gateway the project runs, D-093), APNs, FCM, a Web Push service.
ADV-OIDC OIDC provider takeover Can pass a login, and therefore fresh authentication (05 §9), as the victim at a provider linked to the victim's account. A hijacked Google or GitHub account; a compromised or malicious provider.
ADV-DEV Stolen or lost device Holds an enrolled or unenrolled device of the victim with its stored tokens and keys, subject to the platform's protection at rest (08 §13). May also unlock it. A phone taken from a table; a laptop left on a train.
ADV-TOK Token thief Holds a copy of one or more bearer credentials (AS-9) but not the device, its keys or the provider login. Malware that reads app storage, a leaked log, a backup.
ADV-MEM Malicious member A legitimate member or participant of a context, with a conforming or modified client. A troll, a stalker, an infiltrator.
ADV-BOT Malicious bot operator Runs a bot that was added to a context; holds its token and, for a secure bot, its keys. A third-party bot service, a careless bot owner.
ADV-WEB Compromised web origin Can serve any code from the origin that serves a web client (the operator, an attacker who controls the origin, or script injected through a bug on it). A breached static host, a malicious community operator who serves its own web client.
ADV-PEER Malicious federation peer Any other server: sends S2S requests and events, serves its own metadata and users, receives HomeAssertions addressed to it. A hostile server operator.
ADV-QC Future quantum attacker Records traffic now and later breaks X25519 and Ed25519. §11.

4.2 Assumptions (what the analysis trusts)

The analysis assumes:

  1. Client software. The user's own client follows this specification, and its platform (operating system, browser, hardware key store) isn't compromised beyond what ADV-DEV and ADV-WEB describe. A web client is trusted exactly as far as its origin (HP-10).
  2. Primitives. Ed25519, X25519, AES-GCM, SHA-2, HKDF, HMAC, Argon2id and CPace are secure as used by 04, and implementations meet 04's strictness rules (RR-17 covers libraries that don't).
  3. Randomness. Every key, nonce, jti, did and joinNonce comes from a working CSPRNG (04 §13). Weak randomness breaks everything at once (04 §18 item 12).
  4. WebPKI. Certificate authorities issue certificates only to domain holders, except where §5.2 analyses mis-issuance.
  5. Clocks. Parties keep time within 60 s (00 §7.7). Audio timers don't rely on wall clocks (16 §11).
  6. The provider login. The user's linked providers are as secure as their own account security. Sloppy Voice can't improve it (ADV-OIDC).

4.3 Collusions considered

Real attackers combine roles. The analysis covers these combinations explicitly:

Combination Why it matters Where analysed
ADV-HOME + ADV-HOST run by one operator The common case: a user's DMs are often hosted on their own home server (D-048), and local accounts join their own server's community (D-068). §5.3, §5.4
ADV-MEM + ADV-MEDIA SFrame keys are shared by all members, so a member who also controls the relay or SFU can inject media under another member's key. A hosting-server operator who is also a member of its own secure channel is the realistic case. §5.5, §5.10, RR-11
ADV-MEM + ADV-HOST The hosting server can then attribute historical messages under fabricated credentials (14 §17 item 5), and a removed member can keep hearing until the removal commit. §5.4, RR-12, RR-37
ADV-OIDC + ADV-DEV A stolen enrolled device plus the provider login can enrol new devices (W4c) and revoke the owner's devices. An unlocked device often supplies the provider login itself: a signed-in provider session in its browser, a saved password, or GitHub, whose re-authentication can't be forced (05 §9.3). §5.7, §5.8, RR-41
ADV-OIDC + ADV-HOME Indistinguishable from ADV-HOME for the victim's account. §5.3
ADV-DNS + mis-issued certificate Defeats same-site and wellknown evidence and therefore pinning (02 §21.1). §5.2
ADV-HOST + ADV-WEB A community operator who serves its own web client to visitors. PD-20-12 stops conforming web clients from creating or receiving secure accounts' keys on such origins, unless the user's home server publishes no links.web; the operator's own code can ignore the rule and phish the recovery key (RR-4). §5.12

5. What each adversary can and can't do

Each subsection gives one table with a row per mode (§2.2). "Can" lists what the adversary achieves when every honest party follows the specification. "Can't" lists what it doesn't achieve, and "Mechanism" says why, with the owning document. Residual risks are cross-referenced to §8.

5.1 ADV-NET: network attacker

Mode Can Can't Mechanism and owner
Insecure See which servers and relays a client talks to, when, and roughly how much (TLS and DTLS traffic analysis). Block or slow any connection. See the domains a client resolves unless it uses DoH (02 §21.7). Read or alter content, tokens or media. Steal a token from a URL, Referer or log. Hijack the WebSocket. Strip TLS. Make a client accept a bad certificate. Exploit compression to recover tokens. TLS 1.2+ with forward secrecy, HSTS, no certificate overrides (03 §2.2, §18.12); tokens only in headers and session.hello, never URLs (03 §3.2, §18.1); per-message compression without context takeover (03 §18.5); DTLS on every media hop (15 §6.3).
Secure channel As insecure, plus: the sizes and timing of TLS records still reveal activity bursts. Read content, even with a compromised server key later (forward-secret TLS; content is end-to-end encrypted). As above, plus MLS and SealedMessage (13, 14).
Secure DM As secure channel. As secure channel. As above.
Calls See who sends media to which relay, packet sizes and timing. Learn speech rhythm (talkspurts) and, for video, motion and scene changes from packet sizes (RR-31). Recover speech from packet sizes in secure calls (constant-bitrate Opus, 16 §5.5). Intercept a relay connection: the client receives the relay's DTLS fingerprint in the SDP answer over HTTPS (15 §6.2). Read media. DTLS; SFrame in secure calls (18); CBR Opus (16 §5.5); fingerprint exchange over TLS (15 §6.2).

Residual: RR-21 (timing correlation), RR-31 (media size leaks). Insecure contexts still rely on ADV-NET not also being ADV-DNS at first contact (§5.2).

5.2 ADV-DNS: DNS attacker

Mode Can Can't Mechanism and owner
Insecure At first contact with a domain delegated cross-site without DNSSEC (dns-only), point it at a server the attacker runs, whose metadata lists the victim domain, and be accepted (D-074). The victim then talks to the attacker as if it were the real server: everything they send is read, and the attacker can impersonate every account of that domain to them. With a same-site delegation, the same works only if another party holds a host in the victim's registrable domain (02 §21.1). With a mis-issued certificate, also for same-site and wellknown, and even against pins. Make any domain unreachable. After first contact: change a pinned server's base URL or keys without a keyChain signature or strong evidence (the domain is suspended instead: denial of service, not impersonation). Receive users' existing session tokens at a new base URL. Make a server accept a domain the real server doesn't list. Make canonicalize() show users under someone else's canonical domain. Delegation evidence and pinning (02 §9, §10, D-030); clients send tokens only to the issuing base URL unless their own pin accepts the change (02 §10.6, PD-02-8); the domain list (02 §8.1, D-002); the canonical-domain check (02 §5.3, PD-02-3); peer secure flag pinned (PD-02-14).
Secure channel As insecure, plus: a spoofed home domain lets the attacker publish fake IdentityStates to servers that have never contacted the real home server, so a hosting server at first contact could admit the attacker's key for a user of that domain, silently for other members (00 §5.2). A spoofed hosting domain at first contact runs the channel: it is the Authentication Service and can admit anyone. Read a real secure channel's content. Get its fake keys accepted by a hosting server that pinned the real home server. Cause W9 to be bypassed for a channel the client pinned secure. MLS and SealedMessage (13, 14); server pins (02 §10); client secure-state pins (09 §13). The victim's own devices raise W4b if the fake key appears in a channel, DM or group DM roster they share (07 §18.2).
Secure DM Trust on first use: a spoofed home domain at first contact can make a client pin a key the attacker generated (RR-9). Substitute a key after first contact without W2 (pins, 07 §16). Identity pins (07 §16); safety-number verification (07 §17).
Calls Redirect a call's control plane only as part of the above. Anything beyond the above; media follows the control plane's authenticated relay assignment (15 §6.1). RelayTickets signed by the pinned server key (15 §5).

Also: a revoked server sign key stays accepted by a verifier that the thief blocks from /meta for at most about 48 h (24 h cache plus 24 h of stale use for newly signed objects, 02 §21.4). Recovery after a key compromise needs a standby key pinned in advance, strong evidence, or an admin decision at each peer (PD-02-9).

ADV-REG: domain registration holder. Whoever controls a server's domain registration (a hijacked registrar account, or a new owner of a domain that lapsed after its server shut down) gets legitimately issued certificates and can publish same-site delegation (with a base URL on the domain itself or a subdomain of it, which D-081 accepts) or wellknown delegation. That is strong evidence, so peers and clients accept a pin change without suspending (02 §10.2, §21.1), even after first contact. Pins left at peers slow only a takeover that has weak evidence (21 §13 item 12). Once the change is accepted, the holder:

Mode Can Can't Mechanism and owner
Insecure Act as the domain's server: impersonate every account of the domain to other servers (HomeAssertions under its own keys), run the domain's insecure contexts, and receive the session tokens of clients whose pins accept the move (02 §10.6). Read what the real server already stored, unless it also controls that server. 02 §10.2, §10.6, §21.1.
Secure channel Sign IdentityStates for the domain's accounts: a silent key replacement in channels, as for ADV-HOME (§5.3); hosting servers admit the new keys. Read existing secure content or history, even once admitted with a replaced identity: nothing hands a newcomer earlier keys (D-007). 07 §18; D-035.
Secure DM Replace keys: contacts who pinned the old keys see W2 (21 §11.9). Do it silently for pinned contacts. 07 §16.
Calls As the contexts above. — —

Mitigations are operational: registrar locks and two-factor authentication at the registrar, DNSSEC, Certificate Transparency monitoring, and keeping a domain registered long after its server shuts down (21 §11.9).

Residual: RR-8 (first-contact discovery), RR-9 (first-contact pins), RR-45 (server key compromise window), RR-52 (domain registration).

5.3 ADV-HOME: malicious or compromised home server

The home server is the root of trust for its users' identities in insecure contexts and for which identity key is current (00 §5.2).

Mode Can Can't Mechanism and owner
Insecure Impersonate any of its own users anywhere: mint HomeAssertions for any of its accounts, for any audience, at any time (06 §19). Read the insecure previews of its users' notifications (19 §21). Learn every server its users visit (audiences, 06 §14.2), every community they belong to (09 §18 item 8), their whole DM index including message requests (12 §9), who notifies them, when, from which context and sender (19 §3.3). Turn on encryption for an insecure account with a key it chose (a hostile first upgrade; contacts pin it silently, RR-10). Act as a DNS attacker (§5.2) towards its own web users, whose delegation step goes through its /v1/resolve (02 §21.6). Use any role its users hold in other servers' communities, including admin and moderator roles, because a remote role holder is only as trustworthy as their home server (10 §16 item 9). Deny service: withhold assertions, notifications, DM requests. Mint assertions for another server's accounts (sub must be in the iss domain, which the verifier resolves itself). Reuse an assertion at another audience. 06 §4, §6.3, §8.5; 02 (key resolution).
Secure channel Replace a user's identity key silently for other members: publish an IdentityState with a key it generated (a reset, igen + 1). Hosting servers admit it as the Authentication Service; channel members see nothing (D-035, 00 §10 item 1). The new identity's devices get no earlier channel content: nothing hands them a history key (D-007). Equivocate: show different IdentityStates to different verifiers. By equivocating it can keep showing the victim's own devices the old state and so delay W4a, until a hosting server run by another operator relays the newer state to one of them (07 §18.4) or W4b fires; where it also hosts every context the victim uses (D-048, D-068), possibly indefinitely, and in channels the victim isn't in nobody notices (RR-25). Make its user appear unenrolled (only lowers access). Withhold IdentityStates and events, stopping new secure joins for its users (07 §22.1). Fetch the ciphertext of notified secure events with event tickets (19 §21). Try offline guesses against the KeyBackup (about 2^79 Argon2id evaluations on average, 08 §18.1). Make one online guess against each device per user-started pairing session; only a correct guess against the approving device exposes the payload (10^-6, 04 §11.7, 08 §18.2). Serve a new device older, authentic versions of vault records, or leave a pin out (08 §18.5). Add a device under the existing identity key (it lacks the identity key; dual control, D-033, 07 §9). Produce a DeviceProof for a real device. Read secure content, history or the vault with its users' existing keys, or the KeyBackup without the phrase; replacing the identity doesn't give it channel history either (D-007). Hide a replacement from the victim's own devices without equivocating: if it serves them the new state they see W4a at once (and the push ignores do-not-disturb, 19 §21), and they see W4b if the fake key appears in a channel, DM or group DM roster they share (07 §18.2). Present an older vault version to a device that has seen a newer one (08 §8.4). Make devices adopt a vault key of its own (08 §10.2). 07 §9, §18; 08 §5, §6, §8, §10; 04 §11.7, §12.
Secure DM Replace a user's key: every contact who pinned the old key sees W2, and verified contacts can't send until they decide (07 §16.5). Once the other participants' clients accept the new key (at once for unverified contacts), they re-add the replaced identity to their group DMs, which starts a new membership: it is served nothing from before the re-add (D-007, 12 §11.5). At first contact, before Accept, relay fake server keys and IdentityStates for a contact on another server, so that its own user sees a wrong key in the request (12 §20, RR-9). Learn the DM partners of its users from KeyPackage claims (13 §21 item 7) and the DM index. Block secure DM creation by withholding KeyPackages (denial of service). Introduce a new key for a pinned contact without W2. Get earlier 1:1 or group DM history through the re-add (D-007, 12 §11.5). Make its user pin a key from the states it relayed: the client creates no pin before Accept and then fetches the contact's IdentityState from the contact's own home server (07 §14.7, 12 §10.5), except for web users, whose resolution goes through it (§5.2). 07 §14, §16; 12 §10.5, §11.5; 14.
Calls Ring its users' devices (call pushes) or suppress rings. Learn call timing from call pushes. Join or hear a secure call as its user without a device in the group (it would need a replaced identity, which W4a reveals to the user unless it equivocates, as above). 19 §14; 15 §2.2.

The home server also can't make a client trust a moved base URL without strong evidence or a URL-bound rotation; a client then shows the server as temporarily unreachable and refuses to start an upgrade, reset, pairing or backup upload unless the IdentityState names its own identity key (02 §10.6, PD-02-18).

Residual: RR-1 (resets), RR-2 (server-validated identity), RR-10, RR-25 (equivocation), RR-34 (old vault versions), RR-40 (KeyBackup guessing), RR-15 (pairing guess), RR-53 (restores).

5.4 ADV-HOST: malicious or compromised hosting server

Mode Can Can't Mechanism and owner
Insecure Read, alter, record, delete and forge every message, edit, reaction, attachment, typing signal, read position and presence update in its insecure contexts, and every call's audio and video through its relay and SFU (11 §20, 16 §15, 17 §16). Show any display name to its own users through its own software (01 §15 item 15). Enforce visibility and retention only as it wishes (09 §18 item 10). Learn every participant's IP address. Read insecure contexts on other servers. Make a conforming client show a display name that fails the linkage check (01 §6.4). 00 §5.1; 01 §6.4.
Secure channel Decide membership as the Authentication Service: admit accounts it controls, which appear in the member list and read what is sent from their admission on; they get earlier content only if a member shares it with them (09 §18 item 1, RR-2). Fabricate a user of another server with a self-consistent IdentityCertificate; members detect it only through the background check S2, a SHOULD whose failures are diagnostics, never warnings (07 §22.5, OQ-07-1, RR-2). Order, delay, withhold and delete ciphertext, history shares and handshakes; partition a group so that members don't notice (13 §21 item 1). Withhold or fake reports, fake audit entries (10 §16 item 4). Read reported content (D-077). Attribute a historical message (one the reader receives through the key archive or a manual share) to a member under a fabricated credential, together with a member who holds that epoch's key (14 §17 item 5, RR-37). Serve sealed items outside an account's visibility, to a bot or anyone else; they stay unreadable, because nothing hands the keys over (D-007). See all metadata of §7. Present a channel the client never saw as secure as insecure; delete a secure channel and create an insecure one with a similar name (RR-47). Read content or media (it holds no group secret). Forge a member's message, edit, reaction or delete (DSK signature, key commitment, AEAD; 14 §4, §6.3). Move a SealedMessage to another context, group, generation or sender (the SealedHeader binds them, 14 §17 item 2). Reattach an edit or reaction to another message (the target is signed, 11 §20). Forge a member commit or GroupInfo (13 §21 item 1). Downgrade a channel or server the client pinned secure without W9 (D-056, 09 §13). Put forged plaintext on the lock screen for a context the device has pinned as secure or knows as a secure DM (19 §21, §13.1 D6a); for a context the device never saw as secure it can (RR-47). Feed pre-upgrade plaintext into sealed history, or relabel later plaintext as pre-upgrade (09 §18 item 3). Read a HistoryShare: its key is sealed to the recipient's devices' dbk, which the identity key certified (07 §3.6). 13 §6, §21; 14 §4 to §7, §17; 09 §13; 11 §4.3; 19 §13.1.
Secure DM Delay, drop, reorder; remove participants; lie about participation states (12 §20). Invent a new group DM naming any participants; it reaches recipients as a message request shown "via" that server (12 §20). Serve a commit honest clients must reject, leaving them blocked (denial of service, 13 §15.4). See metadata, including group names (12 §20). Lie in server-proposal annotations, which can make a committer drop a person or device (denial of service only, 13 §21 item 8). Serve a re-added participant ciphertext from before the re-add, which it holds no keys for (D-007). Add a person to a secure DM (sv_participants changes only by member commits that clients check, D-036, 13 §5.3). Make a client accept a changed key for a contact: a change needs a state signed by the contact's home server, and it raises W2 (07 §16.4). Downgrade a 1:1 DM (clients compute its mode from home-signed IdentityStates) or a secure group DM (pinned; W9) (12 §11.1). Learn a message-request recipient's IP address before Accept (D-049, 12 §10.4). Read content. 07 §14; 12 §10, §11; 13 §5.
Calls Grant or revoke media rights (leases); end calls; see who is in a call, who speaks when, bitrates (00 §5.4). Forward ciphertext to a group member it doesn't show in the roster (that member can read the context anyway, 15 §17 item 15). In insecure calls: everything. Decrypt or forge secure media (SFrame keys come from MLS, 18 §14 item 1). Turn a secure call into an insecure one for a client that knows the context is secure (15 §17 item 12, 18 §14 item 15). Make an honest home server ring a recipient for an unaccepted message request: the call is recorded in the request and nothing rings (19 §14.2, 15 §17 item 10). 15 §2.2, §13; 18 §8.6; 19 §14.2.

A third party that steals only the hosting server's MLS external-sender key can send Remove and external_senders-only GroupContextExtensions proposals: denial of service only, because clients refuse server changes to sv_participants and other extensions, refuse external Adds, and accept a new external sender only if the hosting server's ServerMetadata lists it (13 §21 item 9).

Residual: RR-2, RR-3, RR-12, RR-26, RR-36 (partitions), RR-37, RR-38, RR-44, RR-46, RR-47.

5.5 ADV-MEDIA: malicious relay or SFU

Relays and SFUs are inside the hosting server's trust domain (15 §17 item 1). This subsection isolates what a compromised media node alone can do.

Mode Can Can't Mechanism and owner
Insecure Hear and see everything it forwards; record it; drop, delay, duplicate, alter or inject frames under any pid (the route header isn't authenticated end to end, 16 §15 item 1). Nothing about content: it can replay recorded speech under any pid with fresh timestamps, because nothing is authenticated end to end (16 §15 item 1). Amplify traffic towards a third party (it never sends to an address that hasn't completed ICE and DTLS, 15 §17 item 9). 16 §9.3; 15 §6.
Secure channel Nothing beyond the channel's calls (below); text never passes through it. — —
Secure DM As the DM's calls (below). — —
Calls (secure) See who sends which source when, frame sizes and timing, KID leaf index (stable per device and group), epoch residue, attestation timing, VP8 keyframe flags and picture size, layer IDs (18 §14 item 12). Drop or delay anything. Forge lease ticks to the clients connected to it, which can delay or extend coverage by at most about 3 s (15 §17 item 2). On the SFU path, deliver part of a video or screen-sound stream late, and change webcam orientation and presentation timing, which aren't authenticated (17 §16 item 2, 18 §14 item 7). Change the unauthenticated fragment fields, RTP payload descriptors, Dependency Descriptor (including its layer IDs) and feedback, which can only cause loss, make the SFU forward the wrong layer, or make a sender change quality within limits (17 §16 item 3, 18 §8.5.3). With a member's help, inject frames under another member's KID until MediaAttestation stops the source: normally under 1 s, up to about 3 s per episode if it also drops attestations, at most 3 counted episodes per participant and source per minute, plus up to about 3 s per minute excused as route disruptions, which a relay-controlling attacker can provoke (18 §9.7 item 11, §14 item 2, RR-11). With a removed member's help, keep that member hearing until the removal commit (RR-12). Decrypt or alter secure media alone. Move audio to another pid or source, flip flags or change timestamps on relay paths (the route header is SFrame metadata, 16 §15 item 2). Replay a frame, or make held-back speech play more than about 1.1 s late (18 §14 item 7). Hear speech through packet sizes (CBR, 16 §5.5). Learn shared-sound loudness (no ssrc-audio-level on source 2, 17 §16 item 11). Stop a stream with a forged or corrupted MediaAttestation: an attestation whose signature doesn't verify stops nothing (18 §9.8, D-080). 18 §3 to §9; 16 §4, §5.5, §9; 17 §6.5, §12.6.

The relay-control link is a high-value channel: whoever speaks as call control to a relay can grant or revoke rights in every call on it, but can't decrypt a secure call (21 §13 item 1). A relay shared by several servers isolates them by issuer (21 §13 item 3).

Residual: RR-11, RR-12, RR-13, RR-31, RR-39.

5.6 ADV-PUSH: push gateway or push provider

Mode Can Can't Mechanism and owner
Insecure Learn that an installation receives a wake-up, when, and the push type (alert, call, background); the gateway also learns which home servers serve which installations and how often (19 §21). For the official apps that gateway is the project's official gateway (D-093), which servers deliver to by default (gatewayPolicy any), so one operator sees this for official-app installations on every server. Drop, delay or replay pushes (denial of notifications only). Correlate push timing with traffic it sees elsewhere (RR-21). Learn content, sender, context, account address or security mode: the payload is a fixed 93-octet opaque ID, encrypted end to end in Web Push (D-051, 19 §10.1). Forge a record or change what a device shows (the device fetches records from its home server with its own credential). Let home servers link accounts across home servers by device token: they hold push keys, not tokens (19 §11.2). (The gateway itself can link an installation's registrations across home servers; see Can.) 19 §10, §11, §13.1.
Secure channel As insecure. As insecure; also previews (none exist for secure contexts at any server, D-022). D-022; 19 §4.8.
Secure DM As insecure. As insecure. As above.
Calls Learn that a call is ringing and when. A party holding a leaked platform token can register it with a gateway for a server of its own and wake the device; the device suppresses unknown r where the platform allows, but on iOS a forged call push briefly reports and ends a CallKit call (19 §21, RR-20). Learn who calls whom. 19 §13.1 D2, §13.3.

Residual: RR-20, RR-21.

5.7 ADV-OIDC: OIDC provider takeover

This is the adversary behind owner decision D-071. The same analysis covers a hijacked provider account of one victim and a compromised or malicious provider that can sign in as any of its users.

Mode Can Can't Mechanism and owner
Insecure Take the account. Sign in and get a device record; read and post in every insecure context the victim can reach; pass fresh authentication, so link its own provider, unlink the victim's others (keeping at least one), sign out the victim's devices, and delete the account (05 §22.2). If the account is insecure, turn on encryption with its own key (a hostile first upgrade): contacts who start secure DMs pin the attacker's key silently, and the victim's devices only see "Approve this device" (07 §22.4, RR-10). Sign in unnoticed: each sign-in shows W4d on the victim's other signed-in devices (D-084), except devices the attacker signs out before they process it. Learn the Sloppy Voice address from the external e-mail, or claim an account by registering a provider account with the victim's e-mail (no e-mail matching, P-05-1). Keep the account if the victim acts first through another linked provider: the victim signs out every other device and unlinks the hijacked provider (05 §22.2, RR-41). 05 §4.4, §9, §10, §22.2.
Secure channel Reset the identity at once, with no hold (D-071): a new identity key, igen + 1, accepted silently by channel members (D-035). The new identity's device joins by external commit and reads and posts from then on. It gets no earlier channel content: the membership continues, but nothing hands it a history key (D-007, 00 F6), so the ciphertext served to it stays unreadable; only the pre-upgrade plaintext of a channel the victim joined before its upgrade stays readable, as it is to the server (RR-46). It could ask a member to share earlier messages, which every member would see (K8, RR-55). Alternatively turn encryption off at once (a downgrade, D-071; refused on a secure server, SM-3): the victim's devices leave every secure channel and group DM. Sign the victim's devices out first, so that they get no push, miss W4d for the attacker's sign-in, and show W4a only when the app is next opened (05 §13 step 1, §14.1, §12.12). Use an unenrolled device only in insecure contexts until then (D-058). Download the KeyBackup with fresh authentication and attempt offline guessing (infeasible, 08 §18.1). Start pairing and prompt the victim's devices; success needs the victim to approve and type or scan a credential shown on the attacker's screen (social engineering, RR-43). Obtain the identity key, decrypt the KeyBackup, or enrol a device under the existing identity without the victim's device (dual control, D-033). Read secure history through the victim's vault (the reset retires the old vault; only the victim's old devices hold its keys, 08 §18.6). Keep the reset from the victim indefinitely: devices that are still signed in raise W4a at once, and the push ignores do-not-disturb (19 §21); devices the attacker signed out get no push (revocation deletes their push registrations, 05 §13 step 1) and raise W4a on the sign-in screen the next time the app runs (05 §14.1), which on a phone with the app suspended may be hours later. 07 §15, §18.1; 08 §5.7, §6, §18; 05 §14.1.
Secure DM Reset, as above. Once the other participants' clients accept the new key (at once for unverified contacts), they re-add the new identity to their group DMs, which starts a new membership: it is served nothing from before the re-add (D-007, 12 §11.5). Or downgrade, as above: contacts see W2 (W2.downgraded), and from then on their 1:1 DMs with that address aren't end-to-end encrypted (K2, W7), so the hosting server and the attacker read new messages; verified contacts stay paused until they choose to continue (07 §16.5). Do it silently: every contact who pinned the old key sees W2; a verified contact can't send until they accept or verify the new key, and a reset followed by a downgrade keeps that block (07 §22.3). Get earlier 1:1 DM or group DM history: a re-add starts a new membership in both (D-007, 12 §11.5), and only the victim's old devices and retired vault hold the old keys. Exceed 5 identity changes per 24 h (W2 floods are bounded, 07 §22.3). 07 §16; 12 §11.5; 14.
Calls Join calls in contexts the new identity can enter, including secure channel calls after the reset. Join secure DM calls before the contact's client re-admits the new identity (which follows W2; for verified contacts only after the contact accepts). 15 §2.2; 12 §11.5.

Recovery. The victim takes the account back by removing the attacker's sign-in methods and devices first (20 §12.9 steps 1 and 2) and then resetting (step 3). A reset before that is pointless, because the attacker can reset again at once (20 §22 item 9). The victim recovers old pins and history keys only by pairing an old device that still holds the old vault keys (08 §18.6, §11.4).

Residual: RR-1, RR-10, RR-41, RR-43.

5.8 ADV-DEV: stolen or lost device

Mode Can Can't Mechanism and owner
Insecure Until the user removes the device: use its session as the user in every insecure context; read what the client stored. Keep a stolen refresh token alive until reuse detection revokes the device (05 §22.3). Act after the device is revoked: the home server ends its sessions at once (05 §13), remote servers within about 70 s (06 §19). Do anything that needs fresh authentication (revoke the owner's other devices, unlink providers, delete the account, reset, download the KeyBackup; 05 §9.1), unless the unlocked device also gives access to a linked provider login: a signed-in provider session, a saved password, or GitHub, whose re-authentication can't be forced (05 §9.3). Then the thief acts as ADV-OIDC + ADV-DEV (§4.3, RR-41). 05 §7.6, §9, §13; 06 §11.
Secure channel Unlock the stored keys, subject to platform protection (hardware-backed wrapping and the device lock, 08 §13), and then: read everything the user could read, including all history through the key archive (D-007, D-054); post as the user from that device; keep a copy of the identity key, the vault key and the recovery-phrase entropy (08 §18.7). Even while the device stays locked, read newly notified secure messages on the lock screen if the user set previews: "full" (19 §21). After revocation, keep what it already decrypted and the keys it already had. If the user removed the device as removed rather than lost or stolen, combine the old phrase with a KeyBackup obtained elsewhere to read the new vault generation (08 §18.3, RR-33). Enrol a new device with the copied identity key alone (dual control: no home session to get it listed, D-033). Use the device after revocation: it is delisted from the IdentityState, removed from every MLS group by server proposals and commits, and its later SealedMessages and MediaAttestations are rejected (07 §22.2). Read vault records written after the rotation, when removed as lost or stolen, because that removal also replaces the recovery phrase (D-082, 08 §10.8). 07 §9, §11.8; 08 §10, §13; 13 §13.
Secure DM As secure channel. As secure channel. Revocation doesn't change the user's identity, so contacts see nothing (D-017). As above.
Calls Join calls as the user until revocation. Keep listening after "Move voice here" or revocation: leases are cut within 4 s (15 §11, HP-15). 15 §4, §11.

Combined with ADV-OIDC, the thief can enrol devices (the victim's devices see W4c) and remove the victim's devices. Identity rollover after theft is deferred (D-072): a user who believes the identity key itself is in hostile hands can only reset, at the cost of W2 for DM contacts.

Residual: RR-18 (software-only key protection), RR-32 (notification key subset), RR-33, RR-27, RR-41 (a device that also gives a provider login).

5.9 ADV-TOK: token thief

Credential What it gives Bound Owner
HomeAssertion (copied in transit) For an insecure account: one session as the user at the assertion's one audience, if presented before the legitimate client; insecure-context access only. For an enrolled device: nothing without the DSK (DeviceProof) (06 §19). 300 s; single use at its audience. 06
Home access token The account's home API, including insecure previews and the DM index, for its remaining life. A socket opened with it lasts at most the token's life plus 60 s. 15 minutes (05 §7.5, 03 §18.1). 05, 03
Home refresh token The session until the thief and the owner both refresh; reuse detection then revokes the device and both copies (05 §7.6). Within 24 h of the session's last provider sign-in it also passes the check for turning on encryption (D-085), so a thief with such a token of an insecure account can make a hostile first upgrade (05 §22.3, RR-10). Every other fresh-authentication operation is out of reach (05 §9.1), and so is turning on encryption once the session's last sign-in is more than 24 h old (D-085). 05
Remote session token The user's session at one server within its secureAccess: insecure contexts in full; in secure contexts metadata and ciphertext only, because it lacks MLS and history keys (06 §19). 1 h, or up to 24 h when extended during a home outage; ends within about 70 s of a device revocation at reachable audiences. Not sender-constrained (OQ-06-1, RR-23). 06
Bot token The bot's account. For a secure bot, also a reset of the bot's identity (silent in channels, a bot-worded W2 in DMs, 05 §22.6). Until revoked; revocation, not rotation, is the response (05 §15.4). 05
Fetch token Notification records of the registration, which include insecure previews and event tickets, so also the notified events: insecure content in full, secure ciphertext only (19 §21). Rotated at least every 30 days; expires after 60 (19 §9.3, RR-19). 19
Event ticket Exactly the events it names, while the recipient still has access; ciphertext in secure contexts. It identifies the account, not a device: the bounded exception that 00 SM-4 records (PD-19-16). 72 h (19 §4.7, RR-19). 19
RelayTicket One connection to one relay for one pid within the lease lists. 60 s (15 §17 item 4). 15
Rejoin token Nothing beyond the session that presents it; accepted only from the same account and device. 60 s (15 §17 item 5). 15
Invite code Join while the invite is active. 60 random bits; failed attempts limited (09 §18 item 7). 09
Capability download URL One blob. 10 minutes (11 §20). 11

Common mechanisms: tokens are bearer secrets kept out of URLs and logs, stored only as hashes on servers, and never sent to a server other than the issuer; no cookie or other ambient credential authorizes a request (D-026, 00 §7.3, 03 §3.2, §18.1). Secure contexts stay confidential against every token thief, because tokens never carry keys.

5.10 ADV-MEM: malicious member

Mode Can Can't Mechanism and owner
Insecure Read what the context shows; copy and forward it; report genuine content out of context (10 §16 item 2); flood with what rate limits allow; send crafted media to decoders in calls where they hold speak_and_share (17 §16 item 5). Post as another member (the server attributes senders from sessions). Put words in someone's mouth through a report: insecure reports use the server's own copy (10 §16 item 2). 11 §4.5; 10 §10.
Secure channel Read everything sent while they are a member (D-007), and keep it after removal (10 §16 item 6). Hand a copy of keys or content to anyone (inherent, 14 §17 item 3). Put addresses in the cleartext mention hint that the content doesn't mention (receivers suppress them after decrypting, 11 §20). With share_history (channels) or as a participant of a secure 1:1 DM or group DM, deliberately share earlier messages they can read with one specific current member; every other member sees K8 and channels log it (D-007, 10 §11.3, RR-55). Win a fork vote only with more voting accounts than the honest ones, at a cost (13 §21 item 10). Prove to a third party what another member's device sent (non-repudiation, RR-22). Embed forbidden content or an "everyone" token inside ciphertext (it doesn't notify; content rules are enforced through reports, 10 §16 item 5). Forge another member's text (DSK signatures, 14 §4.6). Inject content through a HistoryShare: every shared key is checked against the stored SealedMessage's key commitment and its sender's signature (14). Share with a non-member, or share messages they can't read themselves: the server checks membership and the sharer's own visibility, and keys they don't hold can't be derived (14). Forge a report: the sender's signature and key commitment bind the reported content (D-040, 14 §13). Read content sent after their removal (13 §13, D-037). Escalate their own permissions (10 §4.3). Make other members resync on their own (13 §21 item 10). 10 §4.3, §10; 13 §13, §15; 14 §4, §13 and its HistoryShare rules.
Secure DM As secure channel. In a group DM, add people (every active participant may, 12 §12.1); the person added reads only from their join on (D-007); any participant may deliberately share earlier messages with them (12 §12.5). Only the owner (the creator) removes others while the creator is a participant; once the creator has left, any active participant can remove any other (D-087), visibly (dm.participant_removed names the remover), and anyone remaining can add them back (12 §12.1, §20). Add someone without the other participants seeing it in sv_participants and the roster. Remove others while the group still has an owner, unless they are the owner (12 §12.1). 12 §12; 13 §5.
Calls Record what they hear and see (inherent). In secure calls, derive every sender's SFrame key (group-shared); with a relay or SFU inject media under another member's KID for seconds: at most 3 counted episodes of about 3 s per participant and source per minute, plus up to about 3 s per minute excused as route disruptions, which a relay-controlling attacker can provoke (18 §9.7 item 11, RR-11). Every member of a secure channel's group can decrypt its calls, whether or not they joined the call, with the relay's help (18 §14 item 3). Send crafted frames to decoders (authenticated in secure calls, so only members can, 17 §16 item 5). Inject under another member's KID without control of the relay or SFU, which carry all media (18 §14 item 2, D-094). Keep hearing after removal on honest paths (lease cut within 4 s; new epoch within about 2 s of the commit). Force a sender into a keyframe flood (17 §16 item 6). 18 §4.5, §9; 15 §4; 17 §7.2.

Residual: RR-11, RR-22, RR-27, RR-28, RR-55.

5.11 ADV-BOT: malicious bot operator

Mode Can Can't Mechanism and owner
Insecure Read everything the bot can see under its roles (10); post as the bot. Webhooks (non-member integrations) post in their channel to whoever holds the token (11 §20). Pass as a person: bots carry kind: "bot" and an unforgeable badge; webhooks carry a mandatory "Webhook" badge and can't use @ in names (11 §20, 20 §13.1). Join a community without a manage_bots holder's approval (09 §18 item 14). 05 §15; 09 §4.4; 11 §15; 20 §13.
Secure channel A secure bot is a full MLS member: whoever runs it reads everything it can read (W6, D-061). Like every newcomer it reads only from its join on (D-007, D-061 as amended), unless a member deliberately shares earlier messages with it (RR-55). With a leaked bot token, reset the bot's identity (silent in channels). Enter without W6 being shown to every member. Use webhooks or other non-member integrations in secure contexts (security.context_secure_unsupported). Read anything without being a member. D-061; D-007; 09 §7.4; 14.
Secure DM As secure channel. A bot identity reset shows a bot-worded W2. — 07 §15.6; 20 §3.2.
Calls A bot that joins a secure call holds media keys like any member and must implement SFrame and MediaAttestation (00 §1.5). — 18 §14 item 11.

5.12 ADV-WEB: compromised web origin

Mode Can Can't Mechanism and owner
Insecure Take the session tokens of every user who loads the code (03 §18.4), and therefore everything those users can do in insecure contexts. — —
Secure channel Take the identity key, DSK, vault keys and the recovery-phrase entropy (held in the vault's recovery record, 08 §18.7) of every secure user who loads the code, either from the Worker or at the next moment the identity key is unwrapped (08 §18.4). With them and the session it already holds, read all of the user's history and act as the user. Because it holds both the identity key and a session, dual control doesn't help (07 §22.11). Persist after the origin is fixed, except through the service worker, the one script exempt from SRI because browsers can't integrity-check it, which is constrained (no key except the notification key subset of 08 §13.5 and the push fetch token of 19, so until the next load replaces it an altered service worker can read new messages only in contexts with notifications; no-cache; update on every load; 20 §16.4, §16.6, §22 item 7, D-065). Load code from other origins, run inline script or eval, or inject through message content (CSP, SRI, Trusted Types; WH-1 to WH-9, 20 §16). Reach users who never load its code. Conforming web clients create or receive a secure account's keys only on the home server's links.web origin, or on any origin when the home server publishes none (PD-20-12, 20 §16.11); this keeps honest third-party clients from leading secure users into key flows, but a malicious origin's code ignores the rule and can still ask for the recovery key or run "Start fresh" (RR-4). 20 §16; 08 §13.3.
Secure DM As secure channel. As secure channel. As above.
Calls Take media keys and media in secure calls (the encoded-transform worker runs the origin's code, 18 §14 item 11). — —

Recovery after a compromise of a web origin requires more than fixing it: each affected secure user should revoke the web device, make a new recovery key (the phrase entropy leaked) and, because rollover is deferred (D-072), reset if they believe the identity key was taken. Reproducible builds and the release manifest let experts detect a compromise after the fact; they don't prevent it (20 §22 item 7).

Residual: RR-4.

5.13 ADV-PEER: malicious federation peer

Mode Can Can't Mechanism and owner
Insecure Send false events within its own authority: accounts it homes, contexts it hosts, reports it forwards (06 §19). Flood (rate-limited per peer). Learn what sessions of other servers' users at it reveal: account, did, security state, key thumbprints, client software, IP address, activity; correlate a device across servers by its did (06 §19, RR-49). List any domain in its own metadata (06 §19). Impersonate another server: S2S tokens are bound to iss, method, URI, body hash and audience, and are single use (06 §8.5). Reuse a HomeAssertion or DeviceProof elsewhere (audience-bound, single-use jti). Slip past an allowlist or blocklist by listing domains (federation policy never matches the peer's own list, 06 §12.3). Make a server fetch internal addresses (SSRF rules, 02 §5.6, 06 §3.1). Make another server fan out revocations (only its own account changes trigger them). Send notify.event for users who have no relationship with it (legitimacy filter, 19 §6.1). 06 §3, §8, §9, §12; 19 §6.1.
Secure channel Send a false identity.changed, which only makes the audience refetch the IdentityState the home server signs (06 §19). Anything beyond insecure. 07 §12.3.
Secure DM Claim KeyPackages for a target (bounded per claimant and peer, 13 §21 item 7). Exhaust a target's KeyPackages (last-resort KeyPackage, per-target limits). 13 §9.3 to §9.5.
Calls — — —

5.14 ADV-QC: future quantum attacker

See §11.2. In short: recorded MLS traffic (and with it all secure content and media keys of the recorded epochs), recorded VaultKeyGrants and recorded pairing transcripts run with the 6-digit code are at risk (RR-14). The KeyBackup, attachments at rest and anything protected only by symmetric primitives are not.

5.15 Summary matrix

The matrix condenses §5.1 to §5.13 (ADV-REG is analysed in §5.2) to one word per cell: Full (reads and forges), Read (reads but can't forge), Meta (metadata only), DoS (can deny service), Imp (can impersonate a user to others), None.

Adversary Insecure contexts Secure channel Secure DM Secure call
ADV-NET Meta, DoS Meta, DoS Meta, DoS Meta, DoS
ADV-DNS (after first contact) DoS DoS DoS DoS
ADV-DNS (first contact, dns-only) Full, Imp Imp (fake members; first-contact identity) Imp (wrong pin) Meta
ADV-REG (after first contact too) Full, Imp Imp (silent key replacement) Imp with W2 As the context
ADV-HOME Full for its users; Imp Imp, silent to others (W4a/W4b to victim unless it equivocates, RR-25), Meta, DoS Imp with W2, Meta, DoS Meta, DoS
ADV-HOST Full Meta, DoS; admits members; fabricates users (diagnostics only) Meta, DoS Meta, DoS; admits members, who can decrypt the calls (RR-44) (secure); Full (insecure)
ADV-MEDIA Full (calls) — — Meta, DoS; short forgery with a member
ADV-PUSH Meta (timing), DoS Meta, DoS Meta, DoS Meta, DoS
ADV-OIDC Full (takes the account) Imp after a reset (silent to others, W4a to victim); no earlier content (D-007) Imp after a reset with W2; no earlier DM or group DM history (D-007) As the context
ADV-DEV (until revoked) Full as the user Read all the user's history; act as the device As channel As the context
ADV-TOK As the token allows Meta (ciphertext) Meta (ciphertext) Meta
ADV-MEM Read Read from their join on; deliberate sharing, visible as K8 (RR-55) Read Read; short forgery with a relay
ADV-BOT Read Read (W6) Read (W6) Read
ADV-WEB Full for its users Full for its users (keys taken) Full for its users Full for its users
ADV-PEER False events in own authority, Meta None beyond insecure DoS on KeyPackages (bounded) None

6. The hard problems against the threats

This section checks each design of 00 §6 against the adversaries of §4: what threat it answers, what holds, and what remains.

HP Design (owner) Threats it answers What holds What remains
HP-1 One identity key vs MLS leaf uniqueness Identity key signs per-device DeviceCertificates; leaf key = DSK; sv_device credential (07, 13) ADV-DEV, ADV-MEM, ADV-HOST A stolen DSK is one removable leaf. Adding a device warns nobody. Leaf keys stay unique. The identity key never signs content, MLS messages or media, so it is used rarely and can be unwrapped only briefly (07 §3.3, D-065). The identity key is on every enrolled device and must be exportable for pairing, so any one compromised device gives it up (04 §18 item 13). Rollover is deferred (D-072). RR-18, RR-4.
HP-2 Who validates identity Channels: the hosting server is the AS, clients run silent checks (S1 MUST, S2 SHOULD), only self-alerts. DMs: clients pin, W2, optional verification (07) ADV-HOME, ADV-HOST, ADV-OIDC, ADV-DNS DMs: a changed key is always visible to every contact who pinned it. Channels: the victim sees W4a and W4b, unless a home server equivocates, which delays W4a until a hosting server on another operator relays the newer state (07 §18.4) or W4b fires (RR-25); a hosting server can't make a client accept a leaf whose internal chain fails (S1). Dual control stops a home server adding devices and a key thief enrolling them. Channels are silent for other members by owner requirement: a malicious home server or a hijacked login replaces a user's identity there unnoticed by others (RR-1, RR-2). A hosting server's fabricated user of another server is caught only by diagnostics (RR-2, RR-42). DM first contact is trust on first use (RR-9).
HP-3 Transparent joins and leaves External commits for channels; Welcome from KeyPackages for DMs; sv_participants; single sequencer with epoch fence; server-first removal with freeze and commit duty (13) ADV-HOST, ADV-MEM No member needs to be online to join. The DM host can't add anyone. Removed devices get nothing from the moment of removal (delivery cut, leases revoked, content frozen until a commit). Forks are detected and settled by account votes. The hosting server decides channel membership (RR-2). Cryptographic exclusion of a removed device waits for a commit, which has no deadline if no member is online; media senders keep the old epoch meanwhile (RR-12). A partition by the sequencer isn't detected (RR-36).
HP-4 History in secure contexts K_hist per epoch, per-message K_msg with key commitment and DSK signatures; no history before the join (visibleFromSeq); key archive in the vault for own devices; deliberate manual sharing (HistoryShare, VisibilityGrant) (14, 08) ADV-HOST, ADV-MEM, ADV-DEV, ADV-OIDC The hosting server stores only ciphertext and sealed keys and can't forge content. Newcomers, re-added participants and bots get nothing from before their join, so a takeover reset can't read a group's past (D-007). A user's own devices always get their history without other members. A share reveals only the chosen messages' keys, is verified by the recipient like a report, and is visible to every member. Content keys don't expire on members' devices: whoever compromises one current member device, or a vault plus its key, reads all history that member can (RR-7). A member may share with someone they shouldn't (RR-55). Operations made after a join on older messages are hidden from the newcomer by the server only (RR-26). Historical attribution relies on the hosting server's records (RR-37).
HP-5 Media E2EE SFrame from the context's MLS group; KID with random joinNonce and source; coordinated epoch switch; MediaAttestation (18, 15) ADV-MEDIA, ADV-HOST, ADV-MEM, ADV-NET Servers, relays, SFUs and the network can't decrypt or alter secure media. No key and counter reuse across crashes, rejoins and new SFU sessions (a fresh joinNonce per encryptor instance). Rotation doesn't glitch audio. Media keys are never archived. An attestation whose signature doesn't verify stops nothing, so a relay that isn't a member can't silence media through fake attestations (D-080). Members can forge each other's media for seconds with a relay's help (RR-11). Removal exposure follows commit duty (RR-12). The SFU path doesn't authenticate capture timing or webcam orientation (RR-13). Sizes and timing leak (RR-31). Every member of a channel can decrypt its calls (RR-44).
HP-6 Mixed-security matrix SM-1 to SM-12, server enforcement from HomeAssertion sec/enr and IdentityState; DM mode computed from participants; secure-state pins (00 §4, 09, 12) ADV-HOST, ADV-DNS An insecure account or unenrolled device never reads a secure context (SM-4). A client never shows the closed lock without holding the group state (SM-12). A pinned secure context presented as insecure is a hard error (W9) with no override (20 §22 item 8). Secure servers take no plaintext: an insecure DM that accepts content never lands on one, and a DM that can't move is closed (K5) or held in encryption_pending (SM-10, 12 §13.1). Secure group DMs never downgrade (D-069). Pins are trust on first sight (RR-47). SM-4 records two bounded exceptions, neither of which exposes secure content: event tickets (RR-19) and the pre-upgrade reads of needs_encryption members (09 §9.3 check H6).
HP-7 Federation trust Delegation evidence and pinning; KeyRotation chain; HomeAssertion + DeviceProof; request-bound S2S tokens; revocation fan-out (02, 06) ADV-DNS, ADV-PEER, ADV-NET No server can impersonate another. Assertions are short-lived, audience-bound and single use; a copied assertion of an enrolled device is useless without the DSK. After first contact, a DNS attacker causes only suspension, and a sibling host in the same registrable domain can't override a pin (D-081). Revocations reach audiences, including every server on the account's community list, in about 70 s (06 §11.1). First contact without DNSSEC is trust on first use (RR-8). A revoked key can be accepted for about 48 h by a verifier blocked from /meta (RR-45). Remote session tokens are bearer tokens (RR-23).
HP-8 Alias canonicalization One canonicalize(); canonical-only signed objects; canonical-domain check (01, 02) ADV-PEER, ADV-DNS, impersonators An alias can't create a second identity or dodge a block. A server can't show its users under someone else's domain (PD-02-3; 00 HP-8 still lacks the check, X-23). Links show canonical forms. A dropped alias domain bought by someone else receives old unresolved links (01 §15 item 6). Whoever takes over a canonical domain's registration takes over its identities (RR-52).
HP-9 Where DMs live Deterministic hosting rule; dm.request to the recipient's home; no recipient contact with the host before Accept (12, 19) ADV-HOST, ADV-MEM (spam), ADV-PEER Both sides compute the same host and ID. A stranger can't learn a recipient's IP address by messaging them. Secure servers never accept plaintext DM content or store plaintext received from other servers; they keep only the read-only history of DMs closed with K5 or held in encryption_pending (SM-10). Notifications carry no content. The hosting server is usually one participant's own home server and sees all DM metadata (12 §20). It can invent group DMs that arrive as requests (RR-38). A reused address reopens a dm: ID, but as a new conversation with a new account (D-086, RR-29).
HP-10 Bots and web clients Secure bots are visible MLS members (W6); web keys wrapped in IndexedDB under a non-extractable key, used in a Worker; strict CSP and SRI on every script except the service worker, which holds no key but the notification key subset and the push fetch token; keys only on the home server's web origin (05, 07, 08, 20) ADV-BOT, ADV-WEB Bots can't be hidden or faked. Web keys can't be copied out of storage by other origins or by reading the disk. Injected script is blocked by CSP and Trusted Types. Conforming web clients create or receive a secure account's keys only on the home server's links.web origin, or on any origin when the home server publishes none (PD-20-12). Whoever runs a bot reads what it reads (W6 says so). A web client is only as trustworthy as its origin (RR-4): a malicious origin's code ignores PD-20-12 and can still phish the recovery key.
HP-11 Abuse handling in secure contexts Key-reveal reports per message, verified by DSK signature and key commitment; moderation by metadata (10, 14) ADV-MEM, ADV-HOST Reports reveal only the reported messages and are unforgeable. Moderators can remove, mute and ban in every mode (D-023). Moderators of the hosting server see reported content (D-077, RR-28). Content rules inside ciphertext are enforced only after the fact (RR-51). Non-repudiation is the price (RR-22).
HP-12 Upgrades One-tap account upgrade behind a provider sign-in within 24 h (D-085); dry run, W5 and atomic switch at upgradeSeq for channels; irreversible server upgrade (08, 09, 12) ADV-HOST, ADV-OIDC, ADV-TOK The secure era never contains plaintext from honest clients. A server can't relabel later plaintext as pre-upgrade history. Downgrades are refused (SM-7, D-073). Pre-upgrade plaintext stays where the server put it, including backups (RR-46). A hostile first upgrade of an insecure account, by someone who controls its provider login or holds a token less than 24 h after the session's sign-in, is silent for contacts (RR-10).
HP-13 Auto-rejoin with PTT Transmit state follows the physical control; live audio only; VAD and open-mic come back muted; the webcam comes back off and a screen share resumes only if the seat was restored within 30 s (D-090) (15, 16, 17, 20) Accidental disclosure Nothing captured during an outage or while the user believed they weren't heard is ever sent. The indicator never hides that the room can hear; it shows "talking" while the room can't hear only during the detection window in the next column. The talk indicator may show transmitting for at most about 1.6 s while a route dies silently; the error is on the safe side (16 §15 item 7, RR-54).
HP-14 Recovery and pairing 8-word phrase with Argon2id; CPace pairing relayed by the home server, one attempt per session; vault generations (08, 04) ADV-HOME, ADV-OIDC, ADV-DEV The home server can't read backups or pairing payloads, and gets at most one online guess against each device per user-started session; only a correct guess against the approving device exposes the payload (04 §11.7). A revoked device can't read vault records written after the rotation when it was removed as lost or stolen, because that removal also replaces the recovery phrase (D-082). Offline guessing of the KeyBackup is the only thing between the home server and the identity key: about 2^79 Argon2id evaluations (RR-40). Social engineering (RR-43). RR-33 when a device isn't removed as lost or stolen. Recorded 6-digit pairing transcripts are exposed to a future quantum attacker (RR-14).
HP-15 Bounded authority Lease snapshots every 1 s, valid 3 s; relay and receiver enforcement on the audio clock (15, 16, 21) ADV-MEM, ADV-MEDIA A revoked participant is cut within 4 s on every honest path, and every call path goes through a relay or SFU that enforces leases (D-094); a stalled interface or sleeping laptop can't keep stale audio playing; relays stop a call whose snapshots stop. Unsigned lease ticks let a malicious relay wedge coverage for about 3 s (RR-39).

7. Metadata exposure

00 §5.4 lists what servers see in secure contexts by design (RR-48). This section gives the full table. It is the single reference for metadata; other documents contribute rows and cite it.

7.1 Who sees what in secure contexts

Columns name observers. Y means the observer sees the item in normal operation. P means partially (the cell's note or the Mitigation column says how). – means no. "Members" are other members of the same context. "Network" is ADV-NET. "Public" is anyone on the Internet without an account.

# Item Hosting server Home server (of the user) Relay / SFU Push gateway and provider Members Network Public Mitigation and notes Owner
MX-1 Context membership and roster, including each member's device count and join and leave times Y P: its own users' communities (community list) and DMs (DM index) P: call participants only – Y – P: public community data and invite previews Hidden channels answer exactly like unknown names (01 §15 item 12, 09 §18 item 11). 09, 12, 13
MX-2 Context names, topics, rules, settings, group DM names Y P: context names in notification records – – Y – P: what the community publishes Group names are metadata even in secure groups; clients don't suggest they are private (12 §20). 09, 12
MX-3 Each member's account security state (accountSecurity) and needs_encryption Y Y (its own users) – – P: only to channel managers and the member itself; needs_encryption visible in member lists – P: whether an account is secure is public (MX-20) Never shown per person in channel UI (09 §18 item 9). 09
MX-4 Who sends each entry, from which device (did), and when Y P: senders and times of notified events – – Y – – Inherent: the server sequences and authenticates. 11, 14
MX-5 Entry kind (message, edit, reaction, delete) and, for operations, the target message Y P: notification kind – – Y – – Reaction add or remove is visible, not the reaction value (11 §20). The target is signed (11 §20). 11, 14
MX-6 Padded content size Y (256-byte buckets) – – – Y P: TLS record sizes – Padding to 256 bytes hides exact length of short messages (14 §4.5). 14
MX-7 Attachment count per message and padded sizes; a small blob next to a larger one hints at an image or video with a preview Y – – – Y P – SVF1 buckets: 4 KiB minimum, 8 buckets per doubling above 64 KiB (04 §10.3). Size classes stay visible (RR-16). 04, 11
MX-8 Reply structure – – – – Y – – Reply structure is encrypted in secure contexts (11 §3.5 rule 5); a reply ping appears as a mention hint (MX-9). There are no threads in v1. 11
MX-9 Mention hints and mentionAll Y P: mention-kind notifications – – – – – Each user can stop sending hints (D-063, 11 §4.4), at the cost of mention notifications for offline recipients. 11
MX-10 Typing, read positions Y – – – P: typing – – Read positions are private to the account; no read receipts in v1 (11 OQ 1). 11
MX-11 Presence and custom status Y (per server, not federated) – – – Y – – invisible hides presence from users, not from the server. A custom status is copied to every server the client uses (11 §20). 11
MX-12 Which contexts a session subscribes to, at which level, and whether the user is looking at the app (foreground state) Y – – – – – – Clients subscribe at full only to contexts in view or in a call (03 §18.11). 03
MX-13 MLS handshake metadata: who commits when, tree size, Welcome sizes, epoch numbers, ekid Y – – – Y – – PublicMessage handshakes by design (D-034). 13
MX-14 Manual history shares: who shared earlier messages with whom, when, and which seq range (VisibilityGrants) Y – – – Y (K8; in channels also the audit log, to holders of view_audit_log) – – Shares happen only by a member's deliberate act (D-007); the server never sees the shared keys. 14, 10
MX-15 KeyPackage claims: who wants to start a secure DM with whom – (the host learns at dm.request) Y (both the claimant's and the target's home servers) – – – – – Same information as the later dm.request (13 §21 item 7). 13
MX-16 DM index and message requests: every DM partner, every request, accept, decline and block P: participants of DMs it hosts Y – – – – – The recipient contacts no hosting server before Accept (D-049). 12
MX-17 Notification records: which contexts notify the user, kind, sender, context name, timing; whether the recipient is attentive Y (it produces them) Y – – – – – Secure records carry no content (D-022). 19
MX-18 Push timing and push type per installation – Y – Y – P – Fixed 93-octet opaque payload; keyed collapse keys (19 §10). Timing correlation remains (RR-21). 19
MX-19 Vault: number, sizes and types of records, buckets, write times (correlate with epoch changes), generation rotations, backup and pairing times – Y – – – – – Record IDs are keyed hashes; contexts and contacts aren't revealed (08 §18.5). 08
MX-20 Public identity: whether an account is secure, number of enrolled devices, each device's platform and enrolment time, recent revocation times Y Y – – Y – Y Public by design so anyone can compute DM security; rate-limited (07 §22.8). Dropping plat is 07 OQ-07-5. 07
MX-21 Device IDs (did), identical at every server and in the public IdentityState Y Y – – Y – Y Servers can correlate a device's visits (06 §19, RR-49). 05, 06, 07
MX-22 Audiences: every server that received a HomeAssertion for the user – Y – – – – – Retention 30 days after the last assertion (06 §14.2). 06
MX-23 Community list P: membership in its own community Y – – – – – Accepted so every device shows the same list (09 §18 item 8). 09
MX-24 Call participation: who is in a call, when they join and leave, who rings whom Y P: ringing pushes Y P: call push timing Y P – Message requests never ring (15 §17 item 10). 15, 19
MX-25 Who speaks when (talkspurts, DTX, speaking), loss reports Y – Y – Y P – Constant-bitrate Opus hides phrases (16 §5.5); talkspurt timing remains (RR-31). 16
MX-26 Who shares which source, who watches whom, frame sizes and timing, keyframe flags, codec, VP8 picture size, layer IDs Y – Y – Y P – Video isn't padded; motion and scene changes, and known videos, can be inferred (17 §16 item 2, RR-31). 17, 18
MX-27 KID leaf index (links a device's streams across rejoins), epoch residue (rotations), attestation timing – – Y – Y – – 18 §14 item 12. 18
MX-28 Media bitrates and quality, diagnostics counters Y – Y – – – – Diagnostics carry no content, keys or addresses and follow the user's setting (15 §14.2, 20 §17). 15, 16, 17
MX-29 IP addresses of connecting clients Y Y Y P: provider sees the device's address – Y – No contact with a stranger's server before Accept (D-049); links fetched only on tap (01 §11.4); other call participants never learn a user's address from a call, because all media goes through the relay or SFU (D-094). 03, 12, 15
MX-31 DTLS certificate fingerprints Y – Y – – Y – Fresh per call join or context; reuse across contexts would make it a device identifier (04 §2.4). 04, 15
MX-32 DNS queries for _sloppyv names; /v1/resolve queries of web clients – Y (/v1/resolve) – – – Y (resolver) – DoH hides queries from the network, not from the DoH resolver (02 §21.7). 02
MX-33 Address existence and kind Y Y – – Y – Y Inherent in shareable addresses; rate limits and no-store on misses (01 §15 item 12). 01
MX-34 Reported content and context messages Y, as plaintext to moderators P: forwarded reports (no reporter identity) – – – – – Only reported messages and up to 10 on each side, by per-message keys (D-040, D-077). 10, 14
MX-35 Signature digests of author-deleted secure messages (sigHash) Y – – – – – – Reveals no content unless someone reports (14 §17 item 12). 14
MX-36 Event tickets and the ciphertext they unlock Y Y (could fetch with a ticket) – – – – – 72 h; secure-context tickets only to enrolled devices (PD-19-16). 19
MX-37 The OIDC login: which provider, when the user signs in, and the home server's client identity – Y – – – – – The provider learns sign-in times (RR-50). No e-mail scope unless the admin wants labels (05 §22.5). 05
MX-38 Client software name and version Y Y – – – – – Sent in session.hello and HomeAssertion requests (06 §19). 03, 06

7.2 Insecure contexts

In an insecure context the hosting server sees everything in §7.1 plus all content and media: message text, edits, reaction values, attachments and their names, voice, screen video and sound, and webcam (00 §5.1). The user's home server also sees insecure previews of up to 140 characters in notification records (00 §4.9); a secure home server discards them instead of storing them (SM-10, 19 §6.2 rule H6). The relay and SFU hear and see all media. Nothing in the protocol limits what these servers keep. Insecure-context visibility rules and retention are server promises (09 §18 item 10).

7.3 What each server learns, in one paragraph each

  • The hosting server of a secure context learns its full social graph and activity pattern: who is a member, who talks when, how much, and whom they mention or ping with a reply (unless hints are off), who calls, who speaks when, who watches whom, and from which IP addresses. It doesn't learn content or media.
  • The user's home server learns where the user goes (audiences, community list), whom the user talks to in DMs (DM index, KeyPackage claims), when and from where the user is notified, and the shape of the user's vault. It doesn't learn content, except insecure previews.
  • A relay or SFU learns per call who sends which source when, sizes and timing, and IP addresses of participants.
  • A push gateway or provider learns when an installation is woken and with what push type. The official gateway (D-093) learns this for every installation of the official apps, together with which home server sent each push (19 §21).
  • An OIDC provider learns when the user signs in to their home server.

7.4 What users can do about metadata

A user can: turn off mention hints (D-063); use invisible presence; turn problem reports off (they are on by default, D-089, 20 §17); and use a separate account for memberships their home server shouldn't know about (09 §18 item 8). Nothing hides metadata from the hosting server of a context the user takes part in.

8. Residual and accepted risks

8.1 The principal accepted risks, stated plainly

These five risks shape what users can be told. Each is accepted, by the owner or through a logged decision. None of them is a bug.

8.1.1 No reset hold (D-071, owner decision)

The risk. Anyone who can sign in to one of a user's linked login providers (for example by taking over their Google account) can replace that user's encryption identity at once. Nothing makes them wait, and they don't need any of the user's devices.

What follows.

  • In every secure channel the user is in, the attacker's new identity is accepted without any notice to the other members (D-035). The attacker's device joins by external commit and reads and posts from then on, but gets none of the channel's earlier encrypted messages: nothing hands keys to it (D-007). Pre-upgrade plaintext of a channel the user joined before its upgrade was never encrypted and stays readable to the account (RR-46).
  • In secure DMs and group DMs, every contact who pinned the old key sees W2. Contacts the user verified can't send until they accept or re-verify. Once the other participants' clients accept the new key (at once for unverified contacts), they re-add the new identity, which starts a new membership: the attacker is served nothing from before the re-add, in 1:1 DMs and group DMs alike (D-007, 12 §11.5).
  • The attacker could ask a member to share earlier messages manually. That needs the member's deliberate act, and every other member sees K8 (RR-55).
  • The user's own devices that are still signed in see W4a at once, and the push for it ignores do-not-disturb (19 §21). Fresh authentication lets the attacker sign the user's devices out first; those devices then get no push (revocation deletes their push registrations, 05 §13 step 1) and show W4a only the next time the app is opened (05 §14.1). The new-sign-in notice W4d (D-084) doesn't close this gap either: a device that is signed out before it processes the sign-in never shows it. Those devices also stop working in encrypted conversations until the user sets them up again (20 W4a.reset).
  • A hijacked login can instead turn encryption off at once (D-071; refused on a secure server, SM-3). The victim's devices see W4a (W4a.downgraded) and leave every secure channel and group DM. DM contacts see W2, and from then on their 1:1 DMs with that address aren't end-to-end encrypted (K2, W7), so the hosting server and the attacker can read new messages. Verified contacts stay paused until they decide (07 §16.5).
  • For an insecure account, the same takeover is a full account takeover, and the attacker can also turn on encryption with a key of their own, which contacts pin without a warning (RR-10); the 24 h sign-in rule for turning on encryption (D-085) doesn't stop someone who controls the provider login.

Why it is accepted. Someone who has genuinely lost every device and their recovery key shouldn't have to wait to use their account again (D-071).

Mitigations. W4a and its "This wasn't me" flow (20 §3.4.1, §12.9); W2 for DM contacts; W4b when the attacker's device appears in a channel, DM or group DM roster the user shares; backup sign-ins (05 §22.2); auth.provider_linked and device.added events visible in the account's lists; the rate limit of 5 identity changes per 24 h (07 §22.3); safety-number verification for people who need stronger assurance. The new-sign-in notice W4d (D-084, 05 §12.12) tells the user's signed-in devices about a sign-in even when no reset follows, and is the only alert for insecure accounts; without a reset hold it gives no time to act before a reset.

What users must not be told. That a channel lock protects them against someone who takes over a member's login.

8.1.2 Server-validated identity in channels (owner requirement, D-035)

The risk. In channels the hosting server decides who is a member and which key belongs to whom; members' devices accept its word. Therefore:

  1. A malicious home server can replace one of its own users' keys and be accepted in every channel, silently for the other members (00 §10 item 1). Only the victim's own devices can notice (W4a, W4b), and only if the home server serves them the new state or a hosting server relays it to them (07 §18.4); a home server that equivocates can keep W4a from firing, and in channels the victim isn't in nobody notices (RR-25).
  2. A malicious hosting server can admit accounts it controls to its own secure channels. They appear in the member list and read what is sent after their admission; earlier content only if a member shares it with them (D-007, 09 §18 item 1).
  3. A malicious hosting server can make a fabricated user of another server appear in its own channel. Member clients detect this only through the background check S2, which is a SHOULD and whose failures are diagnostics, never warnings (07 §22.5). 00 §5.2 and §10 item 1 now state this limit; §16 OQ-22-2 asks to close the gap.

Why it is accepted. The owner's requirement (brief §2) is that servers, not devices, validate identity in channels, so that resets and new devices never warn other members. Channels can have thousands of members whose keys change; per-member warnings would be noise (D-035).

Mitigations. Self-alerts W4a and W4b; the member list; the local chain check S1, which stops a hosting server from mixing up keys within one identity; DM pins, which still protect DMs with the same people; the optional "known contact" badge in channel member lists (07 §13.7); and the lock text, which says the server decides who is a member (20 §8.4).

What users must not be told. That a channel lock protects them against the community's server choosing the members, or against a member's home server.

8.1.3 Insecure mode offers no protection from servers (D-021, brief §2)

The risk. In an insecure context the hosting server, its relay and SFU, and for notification previews the recipient's home server, can read, hear, see, record, alter and forge everything. The user's home server can impersonate them in every insecure context. The protocol protects insecure contexts only against third parties: the network and unrelated servers (00 §5.1).

Why it is accepted. Insecure-by-default is the owner's core requirement: no keys, no security friction (D-021).

Mitigations. None against the servers. The open lock tells secure users (W1, W3, W7). In insecure contexts, insecure users see no lock and no security text, by design (00 §4.12.6).

8.1.4 Web clients trust their origin (D-065)

The risk. A web client runs whatever code its origin serves. Whoever controls that origin (its operator, or an attacker who breaks into it) can take the identity key, the vault keys, the recovery-phrase entropy and the session tokens of every secure user who loads the code, and read and act as them (§5.12).

Why it is accepted. Browsers are a v1 platform (D-010) and offer no way to pin code.

Mitigations. The web hardening profile (20 §16: CSP, SRI, integrity-checked workers, Trusted Types, no third-party code, separate origin from the API and user content); keys only on the home server's own web origin (PD-20-12); non-extractable wrapping keys; reproducible builds and a release manifest that experts can check after the fact; shared-computer mode. The About screen states the trust plainly (20 §16.10).

8.1.5 Content keys don't expire on members' devices (D-007, D-054)

The risk. In a secure channel or group DM, history keys never expire. Every member device keeps the keys of the epochs it was in, and the key archive in each member's vault keeps them for that member's other devices. Whoever compromises one current member's device, or obtains a user's vault ciphertext together with the vault key (for example through the recovery phrase and the KeyBackup), can read everything that member can read: everything since that member joined, plus anything shared with it (14 §17, 08 §18.7).

Why it is accepted. The owner wants a user's own new devices to see everything the user could already read (D-007, D-054), which needs keys that last.

Mitigations. There is no automatic handover: newcomers, re-added participants and bots get nothing from before their join (D-007), so a takeover reset (RR-1) or an account a hosting server admits (RR-2) can't read the past; manual sharing needs a member's deliberate act and is visible to everyone (K8, and the audit log in channels; RR-55); regular UpdatePath commits limit how long a compromise exposes new content (13 §14.1); device revocation and vault rotation cut off a stolen device from new data. 20 MUST NOT describe an encrypted channel or group as protected against a later compromise of a member's device.

8.2 Register

Status values: Accepted (owner), Accepted (decision D-nnn), written "Accepted (D-nnn)", Accepted (document) when an owning document accepts it within its scope, written with that document's section, for example "Accepted (04 §18 item 3)", and Open when a pending question could change it. RR-* IDs are stable and never reused.

ID Risk, stated plainly Exploited by Modes Status and source Mitigations Owners
RR-1 A hijacked provider login replaces or removes the user's identity at once; a replacement is silent for channel members; group DM participants' clients re-add it after W2 (at once for unverified contacts); the new identity gets no earlier group or DM content (D-007); devices the attacker signed out first learn of it only when next opened. ADV-OIDC Secure channel, secure DM Accepted (owner, D-071) §8.1.1 05, 07, 08, 14, 20
RR-2 Channels trust the hosting server for membership and the home server for keys; a malicious one can add members or replace keys without other members noticing; fabricated users of other servers are caught by diagnostics only. ADV-HOME, ADV-HOST Secure channel Accepted (owner requirement, D-035); fabrication part Open (§14 X-1, OQ-22-2) §8.1.2; for a home server that also hides the replacement from the victim, RR-25 07, 13, 20
RR-3 Insecure contexts are fully readable and forgeable by the servers handling them. ADV-HOST, ADV-HOME, ADV-MEDIA Insecure Accepted (owner, D-021) §8.1.3 00 §5.1, 11, 16, 17
RR-4 A compromised web origin takes the keys of every secure user who loads it; its code ignores PD-20-12, so it can also phish the recovery key or run "Start fresh"; when the home server publishes no links.web, conforming web clients on any origin may hold a secure account's keys. ADV-WEB All Accepted (D-065) §8.1.4 08, 20
RR-7 Content keys don't expire: one compromised member device or vault exposes all the history that member can read (from its join on, plus what was shared with it). ADV-DEV, ADV-WEB, ADV-MEM Secure channel, secure group DM Accepted (owner, D-007, D-054) §8.1.5 08, 13, 14
RR-8 First contact with a domain delegated cross-site without DNSSEC is trust on first use; so is same-site delegation when another party holds a host in the same registrable domain; a mis-issued certificate defeats same-site, wellknown and pinning. ADV-DNS All Accepted (D-074) Pinning (D-030); mandatory .well-known upgrade by servers (02 §4.3); same-site delegation advice; validating resolvers; CT monitoring (02 §21.1) 02
RR-9 Identity pins in DMs are trust on first use: the client pins the key it fetches from the contact's home server after Accept, so whoever controls that first fetch (a DNS attacker, or the user's own home server towards its web users through /v1/resolve) can plant a wrong key; before Accept the key shown is checked only with server keys the user's home server relays, for display; most people never verify, so an attack looks like "they got a new phone". ADV-HOME, ADV-DNS Secure DM Accepted (owner requirement for DMs; 07, 12 §20) No pin before Accept; after Accept the client fetches and pins from the contact's own home server (07 §14.7, 12 §10.5); safety numbers and QR verification (07 §17); W2 copy explains the common cause (20 §22 item 2) 07, 12, 20
RR-10 Whoever controls a linked provider login of an insecure account, or holds a token of a session whose last provider sign-in is less than 24 h old, can turn on encryption with their own key; contacts pin it silently; the victim's devices show W4d for a new sign-in, if there was one, and then only "Approve this device". ADV-OIDC, ADV-TOK Secure DM Accepted (D-085 bounds the token case to 24 h after a sign-in; D-071 for a provider takeover) A provider sign-in within 24 h (05 §9.1, D-085); W4d (D-084); the victim removes the device (fresh authentication) and resets; contacts then see W2; "Approve this device" worded so a user who didn't turn on encryption sees something is wrong (07 §22.4) 05, 07, 08, 20
RR-11 A member who controls the relay or SFU can inject media under another member's key: normally under 1 s, up to about 3 s per episode if it also drops attestations, at most 3 counted episodes per participant and source per minute, plus up to about 3 s per minute excused as route disruptions, which a relay-controlling attacker can provoke (18 §9.7 item 11); forged media that played can't be taken back. ADV-MEM + ADV-MEDIA Secure calls Accepted (D-043, D-080) MediaAttestation, play floor and per-(pid, sourceId) budget (18 §9); silent stop 18
RR-12 After a removal, the removed device still holds the current epoch's keys until a member commits; media senders keep using that epoch, so a removed member colluding with the relay or SFU can keep hearing for that interval, which has no upper bound if no member device commits. ADV-MEM + ADV-MEDIA Secure calls (content is frozen meanwhile) Accepted (D-037) Delivery and leases cut at once; content freeze; designated committer every 3 s; self-update triggers (18 §3.6) 13, 15, 18
RR-13 On the SFU path, capture timing and webcam orientation aren't authenticated: an SFU can deliver parts of video or screen-sound streams late, and rotate a webcam picture. ADV-MEDIA Secure calls (SFU route) Accepted (17, 18) Microphone audio never takes the SFU path; content can't be read or altered 17, 18
RR-14 Harvest now, decrypt later: recorded MLS traffic (and with it secure content and media keys), recorded VaultKeyGrants and recorded 6-digit-code pairing transcripts fall to a future quantum computer. ADV-QC Secure Accepted (04 §17.3) sv1-c2 hybrid suite planned; QR pairing preferred (§11) 04, 08, 13
RR-15 A relaying home server gets one online guess against each device per user-started pairing session; only a correct guess against the approving device exposes the payload (1 in 10^6 with the 6-digit code). ADV-HOME Secure Accepted (D-053) One CPace run per session, enforced by both devices; every attempt needs the user (04 §11.7, §18 item 10; 08 §18.2). The limit of 5 sessions per hour is enforced by the home server, so it bounds only honest servers 04, 08
RR-16 Attachments: size classes and counts stay visible; while streaming, a member colluding with the hosting server can substitute a validly encrypted blob that is caught only by the final sha256 check. ADV-HOST, ADV-HOST + ADV-MEM Secure Accepted (04 §18 items 8, 9) SVF1 buckets; saved and handed-off files are checked first; playback stops on failure 04, 11
RR-17 An Ed25519 library less strict than 04 §4.3, used without the required wrapping, may accept signatures others reject. Any forger All Accepted (04 §18 item 3) 04 §4.3 rules and vector V-4; checklist SC-A2 04
RR-18 Platforms without a hardware-backed key store protect keys in software only. ADV-DEV Secure Accepted (04 §18 item 13, 08 §13) OS backups excluded; short unwrap windows 04, 08
RR-19 A stolen fetch token reads notification records, insecure previews and event tickets (insecure content in full, secure ciphertext) for up to 60 days; an event ticket gives account-level, not device-level, access to secure ciphertext for 72 h, the bounded exception that SM-4 records; the home server can use tickets too. ADV-TOK, ADV-HOME All Accepted (PD-19-16) Rotation every 30 days; secure tickets only to enrolled devices; hashes only; ciphertext stays unreadable 19
RR-20 A leaked platform push token lets anyone wake the device through another home server; on iOS a forged call push briefly shows a CallKit call. Token holder All Accepted (19 §21) Unknown r suppressed; app keeps tokens secret; optional app attestation at the gateway 19
RR-21 An observer of both a hosting server's traffic and push traffic can correlate who is notified when. ADV-NET, ADV-PUSH All Accepted (19 §21) Opaque payloads, coalescing over 30 s 19
RR-22 Secure messages and media are non-repudiable: anyone with the ciphertext and the key can prove to a third party which device sent what. ADV-MEM Secure Accepted (D-038, D-040; PD-22-1) Not claimed deniable anywhere (§12.3) 14, 18, 20
RR-23 Remote session tokens are bearer tokens for 1 h (24 h when extended); whoever steals one acts as the user at that server (not reading secure content). ADV-TOK All Open (06 OQ-06-1, deferred) Hashes only; rotation on renewal; revocation fan-out 06
RR-24 Revocation isn't instant everywhere: about 70 s at reachable audiences; up to the session's remaining hour at an unreachable one; up to 24 h for a device thief who can also cut the network between the home and a remote server; leaves at a server outside the audience set (no recent assertion, DM index entry or community-list entry, 06 §11.1) stay until 90-day eviction; leaves are never removed on expired evidence alone. ADV-DEV All Accepted (D-062; 07 §22.7) Lease revocation cuts calls within 4 s; 24 h revalidation by hosting servers; S2S retries for 24 h 05, 06, 07, 13
RR-25 A home server can show different IdentityStates to different verifiers; there is no key transparency log in v1. The victim's own devices can be shown a stale state, which delays W4a until a hosting server on another operator relays the newer state or W4b fires; where the same operator also hosts every context the victim uses, possibly indefinitely, and in channels the victim isn't in nobody notices. ADV-HOME Secure Accepted for v1 (07 OQ-07-2) Highest-ver rule; equivocation proof on same ver; own devices read relayed states; W4b 07
RR-26 Some limits are enforced by the server, not by cryptography: withholding operations (edits, reactions) made after someone joined on messages from before their join; the extent of a VisibilityGrant; every visibility rule in insecure contexts; retention and deletion. ADV-HOST, ADV-MEM Secure, insecure Accepted (D-007; 11 §20; 14) W6 says a bot reads what it can access; copy never promises more than "deleted in the app" 09, 11, 12, 14
RR-27 Delivered content can't be recalled: a modified client keeps what it decrypted; removed members keep the keys of epochs they were in. ADV-MEM All Accepted (10 §16 item 6) Honest clients delete; forward secrecy covers later epochs 10, 11, 13
RR-28 Reported secure content becomes plaintext to the hosting server's moderators; reporters' addresses are visible to moderators; genuine content can be reported out of context; forwarded insecure evidence is only the origin server's claim. ADV-HOST, ADV-MEM Secure, insecure Accepted (D-077) Disclosure line before sending; per-message keys; context messages on by default; forwarded evidence labelled and not acted on alone (10 §16) 10, 14
RR-29 After a deleted account's quarantine, someone else can register the same address. They get a new account incarnation, so servers carry nothing over except address-keyed bans, and DM contacts see W2's new-account wording (D-086). Residual: a server learns of the new account only when it first sees its inc, so until then it keeps the earlier account's records, which nobody can use; and bans meant for the earlier person apply to the new one until moderators lift them. Address re-registrant All Accepted (D-086; bans by design, 10 §9.2) 365-day quarantine; incarnation keying (06 §11.6); W2's new-account wording; the DM reopened as a new conversation (12 §6.4) 01, 05, 06, 07, 09, 10, 12
RR-30 Some lookalike names escape the confusable data; people on other servers can choose any lookalike local part; anyone can squat a name first. Impersonators All Accepted (01 §15) UTS #39 Highly Restrictive script rule (01 §3.5, D-092), skeleton collisions, domain always shown when it differs, reserved names, pins and verification in DMs 01, 20
RR-31 Encrypted media leaks timing and sizes: who speaks when, video motion and scene changes, and known videos can be identified by their burst pattern. ADV-NET, ADV-MEDIA, ADV-HOST Calls Accepted (16 §15 item 4, 17 §16 item 2) Constant-bitrate Opus; no audio-level extension on shared sound 16, 17
RR-32 The notification extension holds recent history keys in less isolated storage; its compromise reads recent secure messages of notified contexts. ADV-DEV Secure Accepted (08 §18.8, 19 §21) No signing key or MLS state in the subset 08, 14, 19
RR-33 A device removed as removed rather than lost or stolen keeps a working recovery phrase; with the KeyBackup it reads the new vault generation. ADV-DEV + ADV-HOME or ADV-OIDC Secure Accepted (D-082) New recovery key when removed as lost or stolen (D-082, 08 §10.8); the removal flow asks whether the device was lost or stolen (05 §12.10) 05, 08
RR-34 A home server can serve a newly enrolled device older, authentic vault records, or omit a pin. ADV-HOME Secure Accepted (08 §18.5) Devices that saw newer versions keep them; same effect as never having pinned 08
RR-35 Withdrawn (revised D-007): there is no automatic history handover for members to delay. ADV-MEM Secure Withdrawn — 14
RR-36 The sequencer can partition a group so that each part stays confidential but members don't notice. ADV-HOST Secure Accepted (13 §21 item 1) Each partition stays confidential; ekid catches accidents only 13
RR-37 A hosting server with a member holding an epoch's key can attribute a historical message (one the reader receives through the key archive or a manual share) to a member under a fabricated credential in channels; in DMs, a stolen DSK of a device revoked without a DeviceRevocation can backdate messages; genuine DM messages signed under an identity key older than the pin's previous key can't be shown. ADV-HOST + ADV-MEM, ADV-DEV Secure Accepted (14 §17 item 5); pin history Open (14 OQ 2) Live messages use leaves the device validated; DM records accepted only for pinned or listed keys 07, 14
RR-38 A DM hosting server can invent group DMs naming any participants (arriving as message requests "via" it), lie about participation and remove participants. ADV-HOST DMs Accepted (12 §20) Request filter; it can't add anyone to a secure DM 12
RR-39 Lease ticks aren't signed; a malicious relay can delay or extend coverage for about 3 s, plus however long the client's WebSocket stays down. ADV-MEDIA Calls Accepted (15 §17 item 2) WebSocket ticks override after 3 s 15
RR-40 Whoever holds the KeyBackup (the home server, a breach, a provider takeover with fresh authentication) can guess the recovery phrase offline: about 2^79 Argon2id evaluations on average, infeasible today. A recovery key in a password manager or on paper is as safe as that place. ADV-HOME, ADV-OIDC Secure Accepted (D-052) Argon2id floors and ceilings; download limits and activity log; printed copy says who could use it 04, 08, 20
RR-41 With two linked providers, whoever acts first wins: an attacker with one provider can unlink the victim's other. A thief of an unlocked device that also gives access to a linked provider login (a signed-in provider session, a saved password, or GitHub, whose re-authentication can't be forced, 05 §9.3) passes fresh authentication and gains the same powers. ADV-OIDC, ADV-OIDC + ADV-DEV All Accepted (05 §22.2) Link and unlink events to every device; W4d on the other devices for every new sign-in (D-084); suggestion to add a backup sign-in 05
RR-42 Detection depends on settings and silence: identity diagnostics (the only detection of fabricated users) follow the diagnostics setting, which defaults to failures (D-089), and aren't sent when it is off; credential-check failures, forks, resyncs and attestation failures are never shown. ADV-HOST Secure channel Accepted (D-035, D-043, D-055); Open in part (OQ-22-2) Silent stop of failing sources (media); proposed silent stop of failing leaves (OQ-07-1) 07, 13, 18, 20
RR-43 Social engineering can get a user to approve an attacker's device or type a code on the attacker's screen. ADV-OIDC Secure Accepted (08 §18.2) Prompt names device, provider and time; screenshots blocked; W4c afterwards; revocation 08, 20
RR-44 Every member of a secure channel's group can decrypt its calls, whether or not they joined; call confidentiality equals channel membership, which the hosting server decides. ADV-MEM + ADV-MEDIA, ADV-HOST Secure calls Accepted (18 §14 item 3) Relay forwards only to listeners 15, 18
RR-45 A stolen server sign key lets the thief impersonate the server's users, forge IdentityStates and hijack relay sessions on the server's relays (21 §13 item 5) until revocation reaches verifiers; a verifier blocked from /meta can accept it for about 48 h. It can also sign a state with a huge ver that locks the account out of every verifier that accepts it, until the key is listed as revoked (ver poisoning, 07 §22.6). Key thief All Accepted (02 §21.4) discovery.metadata_changed within 10 s; standby keys; HSM custody (21 §8) 02, 21
RR-46 Pre-upgrade plaintext stays plaintext on the server and in its backups; "Delete messages sent before encryption" depends on the server's honesty. ADV-HOST Upgraded channels Accepted (D-057) K3 marker; W5 copy doesn't promise erasure from backups 09, 20
RR-47 Downgrade detection works only after a client has seen the context as secure; a server can delete a secure channel and create an insecure lookalike, including at the same address after claiming deletion (410) or answering 404, which is read as lost access (09 §13.5, §18 item 2). ADV-HOST Secure channel Accepted (09 §18 item 2) New channel has no history, no lock, and an open lock for secure accounts 09
RR-48 Metadata of secure contexts is visible to servers (§7). All servers Secure Accepted (00 §5.4) Padding, CBR audio, mention hints optional §7
RR-49 Device IDs are the same at every server and public, so servers can correlate one device's activity across the federation; the public IdentityState shows platforms and enrolment times. ADV-PEER, ADV-HOST All Accepted (06 §19); plat Open (07 OQ-07-5) Rate limits on the identity endpoint 05, 06, 07
RR-50 Login providers learn when users sign in, and a provider that suspends or loses an account can lock its owner out unless another provider is linked. ADV-OIDC (privacy), provider failure All Accepted (D-016) Backup sign-ins (05 §8.8); no e-mail scope by default 05
RR-51 In secure contexts moderation acts on metadata; forbidden content inside ciphertext is found only when someone reports it. ADV-MEM Secure Accepted (D-023, D-040) Reports; bans; mutes; rate limits 10
RR-52 Whoever controls a server's domain registration (a registrar hijack, or a domain that lapses after its server shuts down and is re-registered) gets legitimate certificates and strong evidence, so pinning doesn't stop it: it impersonates every account of the domain, signs IdentityStates (silent key replacement in channels, W2 in DMs) and receives tokens of clients whose pins accept the move. ADV-REG All Accepted (21 §13 item 12) Registrar locks and two-factor authentication; DNSSEC; CT monitoring; keeping domains registered after shutdown (21 §11.9); identity pins in DMs (W2); 09 Q4 02, 09, 21
RR-53 A naive server restore undoes revocations and resets made after the backup point, bringing a stolen device back, and rolls back ver, KeyPackages and replay caches. Operator error, ADV-HOME All Accepted (21 §13 item 7) The security journal and the restore procedure (21 §11.6, §11.6.1, §11.6.4); without a journal only the counter problems are closed 07, 08, 13, 21
RR-54 When a route dies without notice, the talk indicator can show "talking" for up to about 1.6 s while the user isn't heard (detection latency); it never errs the other way. Network failure Calls Accepted (16 §15 item 7); consistent with the intent of D-012 routeUp turns false within 1,500 ms of the last relay message, plus at most 100 ms to the user interface (16 §7.2, §7.10) 16, 20
RR-55 A member who may share (holders of share_history in channels; any participant in secure group DMs and secure 1:1 DMs, 14 §7.2) can reveal earlier messages to a specific current member who shouldn't see them; the recipient can read and keep them, and a share can't be withdrawn. ADV-MEM Secure channel, secure group DM, secure 1:1 DM Accepted (owner, D-007) Never automatic, default or prompted; share_history not in everyone by default; K8 for every member and an audit-log entry in channels; recipients must be current members; only messages the sharer can read; per-message keys only, never K_hist 10, 12, 14, 20

9. Privacy considerations

Security modes are about content. Privacy also covers who learns what about people, which §7 tabulates. This section collects the design choices that limit it, and what remains.

9.1 Principles applied throughout

  1. Each server learns only what its role needs. Remote servers store only what serving a user needs, for bounded times, and never forward it to third servers outside defined protocol messages (06 §14.1). Presence is per server and never federated (11 §11). Push registrations exist only at the home server; hosting servers never see push tokens, devices or notification settings (D-051, 19 §3.3).
  2. No contact with strangers before consent. A message request is shown from the recipient's own home server; the recipient's client contacts no hosting server, and so reveals no IP address, until Accept (D-049, 12 §10.4). Reporting a request goes through the home server too (10 §16 item 15). No call rings for an unaccepted request (15 §13.1).
  3. Nothing is fetched because of message text. Clients make no request for a link until the user taps it; secure contexts never fetch link previews automatically; remote resources in content are never loaded (11 §20, 20 §22 item 5).
  4. No e-mail use. Provider e-mail addresses have no relation to Sloppy Voice addresses and aren't used for anything; servers SHOULD NOT request the email scope (05 §22.5).
  5. Content-free telemetry. Diagnostics contain counters and reasons only, never content, keys, other people's addresses or IP addresses, go only to the server involved, are kept at most 30 days, and follow the user's setting, which sends failure reports by default and can be turned off (D-089; 15 §14, 20 §17).
  6. Location stripped by default. Clients strip photo location data from attachments unless the user keeps it (11 §14.3). Avatars are re-encoded (05 §22.5).

9.2 Specific exposures and their handling

Topic Exposure Handling Owner
IP addresses Every server, relay and SFU a client connects to; link targets the user taps. No contact before Accept; links only on tap; call media only through the hosting server's relay or SFU, so other participants never learn a user's address from a call (D-094). Remote servers SHOULD NOT keep IP addresses beyond 30 days except for an open abuse case (06 §14.1). 06, 12, 15
Public identity endpoint Security state, device count, platforms and enrolment times are public (MX-20). Rate limits; whether to drop plat is 07 OQ-07-5. 07
Device correlation The same did at every server (MX-21); DTLS certificates if reused (MX-31). Fresh DTLS certificates per call join or context (04 §2.4). did correlation is accepted (RR-49). 04, 06
Address enumeration Lookup and registration reveal whether a name exists. Rate limits, no-store misses; hidden channels answer like unknown names (01 §15 item 12). 01
Share links A share-link page could track visitors. No tracking, no third-party code, no deferred-join state (01 §15 item 10, 20 §22 item 5). 01, 20
DNS and resolution Resolvers learn which domains a client contacts; /v1/resolve tells the home server which domains a web user resolves. DoH optional; the home server already learns audiences (02 §21.7). 02
Home server's view Audiences, community list, DM index, notification records, vault shape (§7.3). Accepted so every device shows the same lists and notifications work. A separate account is the remedy (09 §18 item 8). 06, 09, 12, 19, 08
Custom status Copied to every server the client uses. The status picker says so (11 §20). 11
Read state Private to the account; no read receipts in v1. — 11
Reports Reported content and reporter addresses go to moderators; the target never sees the reporter; report.forwarded carries no reporter identity (10 §16 item 3). Disclosure line before sending (10 §10.11). 10
Logs, metrics and backups Operational data can become a metadata leak. No identities in metric labels, limited relay logs, backups protected like the live database, keys out of database backups (21 §13 items 6, 9). 21
Screen sharing Accidental disclosure of other windows and notifications is the main real-world risk. Window capture offered first; honest indicator; after a drop the webcam comes back off, and a share resumes by itself only if the seat was restored within 30 s (D-090, 17 §4.5). 17, 20
Global shortcuts A low-level input hook for push-to-talk could become a keylogger. Discard every other event; hook only during calls in PTT mode (16 §15 item 8). 16
Shared computers Later users of a browser could find keys or tokens. Shared-computer mode keeps keys in memory, revokes after 12 h (05 §22.7, 08 §13.4). 05, 08
Deletion Deleting an account is immediate, with no grace period (D-091). Messages a user sent stay with their recipients; a deleted address is quarantined for 365 days, then can be registered by a new account, which has a new incarnation and inherits nothing (RR-29, D-086). The public inc shows only whether an address still belongs to the same account. Plain deletion screen behind fresh authentication and a confirmation (05 §16.1, §16.5). 01, 05, 06

9.3 What the privacy design doesn't provide

It doesn't hide the social graph from hosting servers or home servers, doesn't provide anonymity, and doesn't hide timing from network observers who can see both ends. A user who needs those properties needs a different system or additional tools; Sloppy Voice copy never suggests otherwise (§12.3).

10. Denial of service and abuse

10.1 Denial of service by the parties the user relies on

Every server can deny service to what it handles, and the protocol doesn't pretend otherwise. The design's aim is that denial of service never turns into a confidentiality or integrity failure, and that ordinary outages look like outages, not like security events.

Party What it can deny What stops it from becoming worse Owner
Home server Logins, assertions, IdentityStates (no new secure joins), KeyPackages (no new secure DMs), notifications, backups, vault records, pairing. Existing leaves stay (positive-evidence rule, 07 §22.7), and in channels can still self-update with an unchanged credential under an unexpired IdentityState (D-083); remote sessions may be extended to 24 h while the home is unreachable (D-062); an outage never produces a false G2 (09 §18 item 16) or a sign-in prompt to an unknown server (PD-02-18). 06, 07, 08, 09
Hosting server Everything in its contexts: messages, MLS handshakes, history shares, calls, reports. Withholding can't forge or read (13 §21, 14 §17). A sequencer that sends a commit clients must reject leaves them blocked, shown like an unreachable server (13 OQ-13-2). A stolen external-sender key gives only Remove and external_senders-only proposals, which clients limit to denial of service (13 §21 item 9). 13, 14
Relay or SFU Media. Dead-man rules: relays and SFUs stop forwarding 3 s after the last snapshot (21 §13 item 4). 15, 21
Push gateway Notifications. The app still works when opened (19 §21). 19
DNS attacker Reachability of any domain. A spoof of a pinned domain suspends instead of redirecting; short attacks heal themselves (02 §21.8). Stale use keeps known servers usable for 7 days while unreachable (02 §13.2). 02

10.2 Denial of service against servers and clients

Target Attack Bound Owner
Any API Request floods, large or deeply nested bodies, slow consumers Per-session, per-IP and per-peer rate limits; size limits with floors; 10 s hello and 75 s idle timeouts; slow-consumer handling (03 §18.7) 03
Federation Event floods, unknown kid refetch storms, forged tokens Cheap checks before signature verification; per-peer rate limits; once-per-minute metadata refetches; replay caches that fail closed (06 §19, 02 §21.5) 02, 06
Resolver Use as an open proxy, DNS amplifier or port scanner; SSRF Cache-only answers, negative caching, 10 outbound fetches per second, non-public targets refused (02 §5.6, §21.5) 02
Sign-up and login Account farming, code replay, transaction floods Per-IP and per-identity limits; optional human verification; single-use codes (05 §20) 05
MLS Commit storms, giant GroupInfo, mass joins Three commits in flight then 425; maxMlsUploadBytes; join pacing; per-role and overwrite rate limits (13 §21 item 14, 10 §16 item 7) 13
KeyPackages Draining a target's KeyPackages Per-claimant, per-peer and per-target limits; last-resort KeyPackage (13 §21 item 7) 13
History sharing Oversized or garbage HistoryShares A per-share cap of 5,000 items, membership and visibility checks and rate limits at the server; recipients verify every key against the stored SealedMessage (14) 14
Key-management starvation by moderation Muting or restricting a member's MLS traffic MLS traffic is exempt from every restriction (10 §16 item 14) 10
Relay Media floods, amplification Ticket validation before allocation; inbound caps per session; no forwarding to addresses that haven't completed ICE and DTLS (15 §17 item 9, 16 §15 item 10) 15, 16
Receivers Crafted media, far-future counters, many KIDs, keyframe floods Size limits, fuzzed and sandboxed decoders, per-stream caps, hold limits, replay window, keyframe request limits (16 §15 item 11, 17 §16 items 5 and 6, 18 §14 item 13) 16, 17, 18
Notifications Mention floods, false notify.events Legitimacy filter, coalescing over 30 s, rate caps, lanes that keep revocations and rings ahead of message notifications (19 §21) 19
Identity W2 floods by repeated resets 5 generation changes per 24 h (07 §22.3) 07
Pairing Prompt floods 5 pairing sessions per account per hour; codes expire after 10 minutes (08 §6.10) 08

10.3 Abuse by people

Abuse Handling Owner
Spam DMs and first contact Message requests filtered at the recipient's home server, capped at 64 KiB and in number; decline (30 days) and block (permanent) are invisible to the sender; large communities (over 200 members) don't count for auto-accept (12 §20). 12, 10
Ringing abuse Only active participants can be rung; never by someone they blocked; re-rings at most every 10 s and 5 per call (15 §17 item 10). 15
False mention hints Receivers suppress mentions the decrypted content doesn't support; mentionAll needs mention_everyone (11 §20, 19 §21). 11, 19
Impersonation by name Display-name linkage, confusable checks, domain shown when it differs, bot and webhook badges (01 §15, 20 §22 item 3). Lookalikes outside the confusable data remain (RR-30). 01, 20
Ban evasion Domain bans covering aliases, federation blocks (10 §16 item 12, 06 §12). 06, 10
Report abuse Per-reporter rate limits, deduplication, the invalid resolution (10 §16 item 2). 10
Join spam Rate limits, request expiry, closed policy (09 §18 item 13). 09
Bots Only a manage_bots holder can admit a bot; W6 for secure contexts (09 §18 item 14). 09
Moderator abuse Audit log; hierarchy rules; reports never visible to their targets (10 §16 items 3, 8). One rogue admin can do anything except dismantle the admin peer group, including granting admin to accomplices; operators recover through configuration (10 §16 item 8). A remote admin or moderator is only as trustworthy as their home server, which can use their role in insecure contexts and, under D-035, in secure channels (10 §16 item 9, §5.3). 10

10.4 Moderation reach by mode

Moderation works in every mode (D-023). What differs is how it is enforced. In calls it is enforced the same way in every context, because all media goes through the hosting server's relay or SFU (D-094).

Action Insecure contexts Secure contexts
Delete a message The server deletes it. The server deletes the ciphertext; honest clients delete their copies; content already decrypted can't be recalled (RR-27).
Kick, ban Delivery stops at once. Delivery stops at once; content freeze until the removal commit; cryptographic exclusion follows the commit (D-037).
Mute for everyone, revoke speak_and_share The relay and SFU stop forwarding within 4 s; receivers drop on their audio clock. Same.
Review content Moderators see the server's own copy. Only reported messages, revealed per message and verified (D-040); visible to the hosting server's moderators (D-077).

11. Cryptographic agility and post-quantum outlook

11.1 Agility without negotiation

Version 1 has exactly one suite, sv1-c1 (D-027, 04 §2). There is no negotiation of algorithms or parameters inside it, so there is nothing for an attacker to downgrade, and implementations have one code path. A verifier rejects any object that names a different algorithm, suite, format version or parameter set (crypto.unsupported_algorithm, 04 §2.2). Agility comes from versioned objects instead (04 §17.2): JWS typ values, the SVF1 magic, Argon2idParams alg and v, the CPaceAD version, the MLS ciphersuite of each group, and the SFrame suite. A context moves to a new suite by starting a new MLS group generation once every member device supports it, and a suite chosen for an object or context is never downgraded (04 §17.1). 04 §17.2 proposes advertising future suites in ServerMetadata and session.hello features.

Implementations MUST keep primitive choices isolated in code, reject every unknown suite and never "try" a sv1-c2 object (04 §17.4).

11.2 Post-quantum outlook

Asset Exposure to a future quantum computer Plan
MLS traffic (X25519 HPKE), and through it K_hist, SealedMessages, attachment keys and SFrame keys of recorded groups Harvest now, decrypt later. Recorded today, readable later (RR-14). sv1-c2: an MLS ciphersuite with a hybrid KEM (X25519 + ML-KEM-768) as standardized for MLS by the IETF, keeping Ed25519 so identities don't change; SFrame with a 256-bit AES suite (04 §17.3).
VaultKeyGrants (HPKE to X25519 box keys) Harvest now, decrypt later. A hybrid KEM signalled by new grant fields in 08.
Pairing with the 6-digit code (CPace over X25519) With discrete logarithms solved, each of the 10^6 codes can be tested offline against a recorded transcript, revealing the pairing payload and the identity key. Hybrid PAKE in sv1-c2. Until then clients SHOULD offer the QR code first (04 §17.3), because its 128-bit secret keeps the transcript out of reach.
Ed25519 signatures (identities, DSKs, server keys) Forgeable once such a computer exists, not retroactively. Hybrid signatures (Ed25519 + ML-DSA-65) in sv1-c3 or protocol version 2. Moving an identity to a new key type needs identity rollover, which D-072 defers.
KeyBackup (80-bit entropy, Argon2id, AES-256) Not practically affected: a quantum search still needs about 2^40 sequential Argon2id evaluations of 64 MiB each. None needed.
AES-128 in MLS 0x0001 and SFrame 0x0004 About 2^64 margin against quantum search; acceptable for v1. Raised to 256-bit in sv1-c2.
AES-256-GCM, SHA-256, HKDF, HMAC Adequate. None.
TLS and DTLS Recorded insecure-context traffic is exposed unless the TLS stack uses a hybrid post-quantum key exchange. Many TLS 1.3 stacks offer one. Outside this specification; operators can enable it where their stack offers it.

04 OQ 2 asks whether sv1-c2 should be a v1.x goal; its recommendation (yes, once an IETF hybrid MLS ciphersuite and at least two open-source MLS libraries support it) is consistent with this analysis.

11.3 Other cryptographic hygiene that bears on agility

  • Strict Ed25519 (04 §4.3): cofactorless verification, canonical encodings, small-order rejection. Libraries that are less strict are a residual risk (RR-17).
  • Key commitment wherever keys are revealed to third parties (reports): kc in SealedMessages and SVF1's own commitment (04 §9.5, 14 §17 item 7).
  • Nonces. Random 96-bit nonces within 04 §9.3's bounds; SVF1 uses counters under per-blob keys; SFrame uniqueness rests on the random joinNonce and MUST NOT be "simplified" by persisting counters (18 §14 item 6).
  • Context separation. Labelled signatures can't be moved between JWS, labelled and MLS contexts, and owners bind each content to its context (04 §18 item 14).
  • Randomness. A failed CSPRNG aborts; there is no fallback (04 §13).

12. Plain-language security statements

12.1 The meanings the app uses

00 §5.5 fixes the meaning of the lock and 20 §8.4 owns the exact in-app copy. For reference, the lock details sheet says:

Where In-app text (20 §8.4) What it deliberately doesn't say
Open lock "The people who run {host} can read messages and hear calls here." —
Closed lock, channel "Only members can read messages and hear calls in this channel. The people who run {host} decide who is a member, and you can see every member in the member list." That members' identities are checked by their devices, or that the channel is protected against the server or a member's home server choosing who is a member (RR-2).
Closed lock, DM or group DM "Only you and the people in this chat can read it and hear its calls. You'll be told if someone's security key changes." That the first key seen is guaranteed to be the right one (RR-9).
Web client About screen "This web app is only as trustworthy as {origin}, which serves its code." (20 §16.10) That the web app is as safe as the native apps.

This document adds no in-app text and no warning.

12.2 Reference statements for help pages and documentation

Proposed decision PD-22-2: help pages, FAQs and other documentation published for Sloppy Voice clients explain security with the statements below, adapted to the product's voice but not strengthened. Rationale: the in-app surfaces are deliberately few (D-055), so the honest detail has to live somewhere people can find it, and it must agree with 00 §5.5, 20 and the risks of §8.

What "Not encrypted" means. The community or chat is run by a server. The people who run that server, and the services it uses for calls, can read the messages, see the files and hear and see calls. Your own server can also see the start of messages it notifies you about, and could post as you. The connection is protected from everyone else, such as other people on your Wi-Fi. This is how most chat services work.

What the lock means in a channel. Messages, files and calls are end-to-end encrypted: the server stores and forwards them but can't read or hear them. The server still decides who is a member, and its operators can see who is in the channel, when people post and how much. Look at the member list to see who can read the channel. If someone takes over a member's sign-in account, they can appear as that member from then on without other members being told, but they can't read the channel's earlier messages; only that member's own devices are told. The same is true if a member's own server is dishonest, and then even that member may not be told.

What the lock means in a DM or group chat. Only you and the people in the chat can read it and hear its calls. If someone's security key changes, you'll see a notice. That usually means they set up a new phone or started fresh, but it can also mean someone else took over their account. If it matters, compare safety numbers with them in person or over a call. When you talk to someone for the first time, the app trusts the key it sees; verifying them is how you make sure.

What servers always see, even with the lock. Who is in a conversation, who sends messages when and roughly how big they are, who is mentioned and whom a reply pings (unless you turn mention hints off), who is in a call and when they speak, and the internet addresses of the devices that connect. Your own server also knows which communities you're in and whom you have DMs with.

Earlier messages. In encrypted channels and group chats, people see only messages sent after they joined. Someone already in the chat can choose to share earlier messages with one person; everyone in the chat sees when that happens. Your own new devices get everything you could already read. If someone gets hold of one member's unlocked device, they can read what that member could read.

Deleting. "Delete" removes the message for everyone in the app. People may already have read it, copied it or kept it with a modified app, and the server's operators may still have copies, for example in backups or, in conversations that aren't encrypted, under their moderation rules.

Deleting your account. It happens at once and can't be undone or cancelled. Nobody can use your address for a year; after that someone else may take it, and the people you had direct conversations with will see that it's a new account.

Reports. When you report messages from an encrypted conversation, the reported messages (and, unless you turn it off, a few around them) are shown to the server's moderators.

Proof of who wrote what. Encrypted messages are signed by the sender's device. Anyone who has the messages and their keys, such as another member, can prove which device sent them. Sloppy Voice doesn't make messages deniable.

Your recovery key. Anyone who has your recovery key and can sign in to your account can read your encrypted messages. Keep it in a password manager or on paper somewhere safe.

Your sign-in account. Your Sloppy Voice account is only as safe as the sign-in accounts you link to it (for example your Google account). If someone takes one over, they can sign in as you and start your encryption over with a new key straight away, or turn it off. In encrypted channels they can then post as you, and other members aren't told, but they can't read earlier messages. In group chats the other people see a notice that your key changed, and unless they verified you their apps let the new key back in straight away, still without the earlier messages. Your own devices stop working in encrypted chats until you set them up again. If your account uses encryption, your devices will tell you when they next connect, which can be the next time you open the app. When someone signs in to your account on a new device, your other signed-in devices show a notice the next time you use them; if it wasn't you, tap "This wasn't me". To take your account back, first get your sign-in account back, then remove their sign-in and devices, then reset encryption; the people you message privately will see another notice. Protect your sign-in accounts with a strong password and two-step verification, and add a second sign-in method.

Your internet address in calls. Every call goes through the server that hosts the conversation, never directly between devices, so the other people in a call don't see your internet address. The server and the services it uses for calls do.

Web app. The web version is only as trustworthy as the website that serves it. For encryption, use your own server's web app or the Sloppy Voice app.

Calls in encrypted channels. Any member of an encrypted channel can listen to its calls with the server's help, even without joining them visibly. Treat a channel call as visible to the channel's members.

12.3 Claims that MUST NOT be made

Clients, their help pages, their documentation and their marketing MUST NOT state or imply any of the following. Each is false under this specification.

# False claim Why it's false
NC-1 "The server can't see who you talk to" or "can't see when you talk". §7.
NC-2 An insecure (unlocked) context is private from its server, or "not encrypted" only means "not encrypted between devices". RR-3.
NC-3 A channel lock protects against the community's server or against a member's home server. RR-2.
NC-4 Members are told when another member's identity changes in a channel. D-035.
NC-5 Messages are deniable, or "can't be used as proof". RR-22, PD-22-1.
NC-6 Deleting a message removes it from everyone's devices, or that retention guarantees erasure. RR-27, RR-26.
NC-7 An encrypted channel or group chat is protected if a member's device is later compromised; or a person who joins later can never see earlier messages (a member can share them deliberately). RR-7, RR-55; D-007
NC-8 "Delete messages sent before encryption" removes them from the server's backups. RR-46.
NC-9 The web app is as safe as the native app, or that the release manifest hash on the About screen verifies the running code. RR-4, 20 §16.7.
NC-10 The server that hosts a call can't see who is in it, who speaks when, or the participants' internet addresses. §7 (MX-24, MX-25, MX-29); D-094.
NC-11 Bots in encrypted contexts can't read messages. D-061, W6.
NC-12 Reported encrypted messages stay encrypted. D-077.
NC-13 A verified contact can never be impersonated, or that verification protects channels. Verification protects DMs only, and only while pins hold (07 §16).
NC-14 Sloppy Voice is anonymous. §9.3.
NC-15 Encrypted calls are protected against eavesdropping by every member, or that only people visibly in a call can hear it. RR-44.

12.4 Deniability

18 §14 item 10 leaves to this document whether users need to be told that secure messages and media aren't deniable.

Proposed decision PD-22-1: users aren't warned in the app that secure messages and calls are non-repudiable, because the warning catalogue is closed (D-055) and the property affects few people. The help-page statement "Proof of who wrote what" (§12.2) says it, and no client or document may claim deniability (NC-5). Rationale: non-repudiation is what makes reports unforgeable (D-040); people who need deniability need to know they don't have it, which documentation achieves without adding interruptions for everyone.

13. Implementer security checklist

Each item restates a requirement of its owning document, which governs (§1.3). "Applies to" uses the conformance classes of 00 §1.5. Items are grouped by area; an implementation checks every group that applies to its classes.

13.1 Every implementation

ID Requirement Applies to Normative source
SC-A1 Verify every JWS with the fixed profile: a protected header of exactly alg (EdDSA), typ (the exact registered value) and kid (used only as a cross-check), so jwk, jku, x5u, x5c, crit and every other member are rejected; never re-serialize signed payloads. The RFC 8292 VAPID JWT is outside this profile. All 04 §6, §6.2, §6.8; 00 §7.13
SC-A2 Verify Ed25519 strictly: S < L, canonical R and public keys, small-order keys rejected, cofactorless equation; wrap any library that is less strict. All 04 §4.3, §4.4
SC-A3 Reject unknown suites, algorithms, format versions and parameter sets; never fall back or negotiate. All 04 §2.2, §17.4
SC-A4 Parse JSON as I-JSON: reject duplicate members, non-canonical base64url and padding; ignore unknown members. All 00 §7.2; 03 §2.4; 04 §3
SC-A5 Use a CSPRNG for every key, nonce, jti, did, joinNonce; abort on failure. All 04 §13
SC-A6 Use each key for one purpose; erase secrets after use; keep secrets out of logs, crash reports and diagnostics; avoid secret-dependent timing. All 04 §14
SC-A7 Name only canonical addresses in signed and stored objects; reject a signed object naming an alias (address.non_canonical). All 01 §7.5, §7.6; 07 §4.2
SC-A8 Allow ±60 s clock skew and no more; time checks per object. All 00 §7.7; 04 §6.6
SC-A9 Never treat an IdentityCertificate's sub as authenticated without a current IdentityState, HomeAssertion or pin. All 04 §6.10; 07 §9
SC-A10 Bind every labelled-signature content to its context, with length-prefixed fields. All 04 §7.2
SC-A11 Respect AEAD nonce rules and per-key usage bounds; check key commitments wherever keys can be revealed. All 04 §9.2, §9.3, §9.5

13.2 Servers: transport, discovery and federation

ID Requirement Normative source
SC-S1 HTTPS only, TLS 1.2+ with forward secrecy, HSTS, early data refused for non-GET, no TLS compression. 03 §2.2, §18.12; 21 §2.4
SC-S2 Bearer tokens in Authorization or session.hello only; never in URLs; no cookie or other ambient credential authorizes a request (05's transaction cookie on the browser-navigation auth pages binds a sign-in to the browser and authorizes nothing). 00 §7.3; 03 §2.9, §3.2; 05 §6.4; D-026
SC-S3 Refuse form, multipart and text/plain bodies on JSON endpoints (415); the only non-JSON request bodies are attachment bytes, the form-encoded OAuth endpoints and 05's consent form. 00 §7.2, §7.3; 03 §2.4, §2.9, §18.2; D-079
SC-S4 WebSocket: authorize from session.hello only, never from Origin; per-message deflate only with no context takeover; close a socket when its newest token expires (+60 s) or its session is revoked. 03 §5.1, §5.3, §5.13, §18.3, §18.5
SC-S5 Re-check authorization on every delivery; never replay events from a period without access; answer hidden resources as core.not_found. 03 §5.6, §7.4, §18.6
SC-S6 Apply rate limits per session, per IP and per peer, and the advertised size limits. 03 §15, §16
SC-S7 Serve only domains listed in domains; require the canonical domain to resolve back to the same base URL. 02 §5.3, §8.1
SC-S8 Record delegation evidence; pin the first-seen base URL and key set per domain; accept changes only through keyChain or strong evidence; suspend otherwise; never accept a peer's secure going from true to false. 02 §9, §10.2, §10.3
SC-S9 Publish keys as next at least 25 h before use; keep retired keys 7 days; sign KeyRotations with the signer 02 §12.1 names (none for a sign key that replaces a revoked one); list compromised keys as revoked and send discovery.metadata_changed; never let a revoked key extend keyChain. 02 §11.4, §11.7, §12; 21 §8
SC-S10 Refuse server-side fetches to non-public addresses, check the connected address, no redirects on S2S. 02 §5.6; 06 §3.1; 19 §11.7
SC-S11 Verify HomeAssertions and DeviceProofs completely; consume jti only after every other check; keep revoked and deleted marks. 06 §6.3, §8.6, §11.4
SC-S12 Verify S2S tokens bound to iss, aud, method, URI, body hash and jti; check each event's subject binding. 06 §8.5, §9.4, §10.1
SC-S13 Track audiences, including the servers on the account's community list, and fan out device.revoked and identity.changed (target 10 s), account.suspended and account.deleted; as an audience, end sessions within 60 s and start leaf removal. 06 §11.1, §11.2; 07 §12.3
SC-S14 Never match federation policy against a peer's self-asserted domain list; key blocks by canonical domain. 06 §12.3
SC-S15 Keep only the data 06 allows about remote users, for the times it allows. 06 §14

13.3 Servers: accounts, identity and secure mode

ID Requirement Normative source
SC-S20 Validate ID tokens fully (iss on both legs, nonce, azp, algorithm allow-list); PKCE S256; exact redirect matching; the "Continue to …" page; single-use codes. 05 §4.3, §5.4, §6
SC-S21 Rotate refresh tokens with reuse detection that revokes the device; store only token hashes; never store a response that carries newly issued tokens for idempotent replay (credential-issuing endpoints ignore Idempotency-Key). 05 §7.4, §7.6; 03 §14.2 item 8
SC-S22 Require fresh authentication, with auth.reauth_required, for every operation in 05's table, including resets, revoking other devices, KeyBackup download from unenrolled devices and turning on encryption (24 h, D-085). 05 §9.1; 07 §11.4
SC-S23 Never match accounts by e-mail. 05 §4.4
SC-S24 Publish an IdentityState for every account with strictly increasing ver; jump ver after a restore; rate-limit generation changes (5 per 24 h). 07 §7.2, §7.3, §20
SC-S25 Enforce dual control: list a device only after its DeviceCertificate verifies under the current identity key and it was registered through the device's own home session. 07 §9, §11.5
SC-S26 Enforce SM-4 at every door from the HomeAssertion's sec and enr and the IdentityState, allowing only its two recorded exceptions: the pre-upgrade reads of needs_encryption members and event tickets. 00 §4.2; 06 §7; 09 §9.3; 19 §4.7
SC-S27 As channel AS, run every check of 07 §13.3 on every commit that adds or updates a leaf, with IdentityStates no older than 300 s (an unexpired one suffices for an existing leaf's UpdatePath with a byte-identical credential while the home server can't be reached, D-083); propose removal of stale leaves. 07 §13.3, §13.4; 13 §6.1, §6.4; D-083
SC-S28 Run the DS validation pipeline and commit policy; sequence by compare-and-set on the epoch; never accept Adds by value in channels; never change sv_participants or other extensions on behalf of a DM. 13 §6.4, §11.1, §12
SC-S29 On removal: cut delivery and leases at once, send Remove proposals, freeze content until a commit, designate committers every 3 s. 13 §13
SC-S30 After a state loss or restore, retire the group generation rather than reuse epochs; follow the restore procedure and security journal. 13 §15.6; 21 §11.6
SC-S31 Apply every SealedMessage acceptance rule (signature against the session's device, ekid once the epoch's reference has settled, epoch grace only across UpdatePath commits, size bound); never do what 14 §5.8 forbids. 14 §5.2, §5.3, §5.8; 13 §15.3
SC-S32 In secure contexts serve sealed items, and anything else derived from content, only from the account's visibleFromSeq or within its VisibilityGrants; accept a HistoryShare only from a current member allowed to share, for a current member, within the sharer's own visibility; write the audit entry in channels. 14; 09 §7; 12 §12.5; 10 §11.3
SC-S33 Never accept plaintext after upgradeSeq; never seal, archive or share pre-upgrade plaintext, and serve it only to accounts that were members at the upgrade; refuse every downgrade. 09 §7.2, §10.4, §10.5, §12; 14
SC-S34 Apply the DM hosting rule; never let an insecure DM accept content on a secure server (close it with K5, or hold it in encryption_pending when both homes are secure servers); process account.deleted for DM participants. 00 §4.2 SM-8, SM-10; 12 §4, §6.4, §13.1, §13.2
SC-S35 Deliver message requests through the recipient's home server and never require the recipient to contact the host before Accept. 12 §8, §10
SC-S36 Verify secure reports by signature, key commitment and AEAD before showing content; protect evidence as plaintext; show the disclosure line; never show a report to its target. 10 §10.4, §10.5, §10.7; 14 §13
SC-S37 Exempt MLS traffic from moderation restrictions. 10 §3.5
SC-S38 Serve every blob with nosniff, a sandbox CSP and Content-Disposition: attachment; capability URLs valid 10 minutes, one blob, no session token. 11 §14.4
SC-S39 Validate mention hints (record mentionAll as false without mention_everyone) and check that a secure operation's cleartext target equals the signed ref. 11 §4.3, §4.4
SC-S40 Give secure-context event tickets only to enrolled devices; store only hashes of tickets and fetch tokens; rotate fetch tokens every 30 days. 19 §4.7, §9.3
SC-S41 Accept notify.event only from hosts the user has a relationship with; a secure server never stores insecure previews or any other plaintext content received from other servers. 00 §4.2 SM-10; 12 §8.2; 19 §6.1, §6.2 rule H6
SC-S42 Send pushes with the fixed opaque payload only; hold push keys, never raw platform tokens. 19 §10.1, §11.2
SC-S43 Store KeyBackups and vault records without ability to read them; enforce download limits and fresh authentication; delete the KeyBackup at a reset. 08 §5.5, §5.7, §5.9, §8
SC-S44 Relay pairing messages without inspecting them; at most 5 sessions per account per hour; one CPace exchange per session. 08 §6.8, §6.10
SC-S45 Give every account an immutable random inc and a new one on re-registration; key every record about another server's account on (address, inc) and treat a changed inc as account.deleted for the earlier one; keep bans keyed by address; delete accounts at once with no grace period. 05 §11.1, §16.1; 06 §11.6; 09 §4.2; 10 §4.4, §9.2; 12 §6.4; D-086, D-091
SC-S46 Announce every new sign-in with device.added via: "login" on the account's me stream. 05 §7.3, §12.12; D-084

13.4 Servers: calls and media plane

ID Requirement Normative source
SC-M1 Send lease snapshots every 1 s (valid 3 s) and revocations at once; relays stop forwarding any sender not covered and every call whose snapshots stop for 3 s. 15 §4.2 to §4.5
SC-M2 Validate RelayTickets (60 s, one connection, one pid) before allocating resources; check every frame's route-header pid against the session. 15 §5.2, §4.5
SC-M3 Forward only to authenticated sessions in listeners; cap inbound traffic per session; never forward to an address that hasn't completed ICE and DTLS. 15 §6.6, §17 item 9; 16 §8.1; 17 §8.3
SC-M5 SFU: disable a revoked participant's tracks within 1 s; stop when the adapter dies. 15 §4.7; 21 §7.1
SC-M6 Relay control: TLS and relay authentication; per-node, per-issuer credentials stored hashed; issuer isolation on shared relays. 21 §6.2, §6.7, §6.11
SC-M7 Diagnostics: accept only the report kinds defined, keep at most 30 days, never content, keys or addresses. 15 §14

13.5 Clients (Full client, Web client, Bot client)

ID Requirement Normative source
SC-C1 Show the closed lock only when SM-12 holds, using 20's decision function; never from a remembered state. 00 §4.2 SM-12; 20 §8.2, §8.3
SC-C2 Pin the secure state of channels, servers and group DMs; raise W9 with no override on a downgrade; take a call's mode from the client's own view of its context. 09 §13; 12 §11.1; 15 §2.1, §2.5; 20 §3.9; D-056
SC-C3 Never send content composed under a closed lock as plaintext without a user action; never trust a hosting server's word alone that a secure conversation became insecure. 11 §4.7, §13.4
SC-C4 Compute DM security from home-signed IdentityStates; pin group DM secure state. 12 §11.1
SC-C5 As DM AS: admit a leaf only if its chain verifies, the identity key equals the pin and the person is in sv_participants; require a fresh IdentityState for a new device; remove only on positive evidence. 07 §14
SC-C6 Pin contacts on first use, share pins through the vault, raise W2 on every key change, block sending for verified contacts, and show W2's new-account wording once when a contact's address belongs to a new account (07 §16.8). 07 §16, §16.8; 20 §3.2
SC-C7 In channels, run S1 on every leaf (MUST) and S2 in the background (SHOULD); report failures as diagnostics only; raise W4a and W4b. 07 §13.6, §18
SC-C8 On finding the own device revoked, check the public IdentityState before discarding identity state, and raise W4a if the identity changed. 05 §14.1; 07 §18.1
SC-C9 Verify a SealedMessage's signature against a validated leaf, check kc, then decrypt; never show unverified content or content under a rejected credential. 14 §6.2 to §6.4
SC-C10 Restore history on a new device from the key archive with ekid checks; append every learned history key to the archive; verify every key of a received HistoryShare against key commitment and sender signature before storing or showing it; never prompt or suggest sharing. 14; 08; 20 §5.1
SC-C11 Check claimed KeyPackages; reject external commits from identities not in sv_participants. 13 §5.3, §9.6
SC-C12 Run the display-name receiver check; show the domain whenever it differs; isolate bidi text; never truncate domains. 01 §4.4, §6.4, §6.8; 20 §15
SC-C13 Make no network request for a link before a tap; never join without a preview and a tap; fetch pasted share links without credentials and with bounds. 01 §10.5, §11.4; 20 §10.1
SC-C14 Send each session token only to the base URL that issued it, unless the client's own pin accepts a move; show an unaccepted home move as "temporarily unreachable" without a sign-in prompt. 02 §10.6; 03 §3.2
SC-C15 Before Accept of a message request, contact only the home server and create no pin; after Accept, fetch each participant's IdentityState from that participant's home server and pin from it. 12 §10.4, §10.5; 07 §14.7
SC-C16 Recovery phrase: 80 bits, Argon2id at or above the floors (refuse weaker, respect ceilings); no online oracle. 08 §4, §5.3; 04 §12
SC-C17 Pairing: CPace with key confirmation, one attempt per session, session and both device IDs bound in; offer the QR code first; show device, provider and time in the prompt; keep pairing screens out of screenshots and shares. 08 §6; 04 §11; 04 §17.3
SC-C18 Vault: reject lower record versions and lower generations; accept only grants signed by an active device and linked to the previous key; make a new recovery key when a device is removed as lost or stolen. 08 §8.4, §10.2, §10.8; D-082
SC-C19 Key storage: platform-wrapped keys, excluded from OS backups; short unwrap windows for the identity key; notification key subset holds history keys only. 08 §13; 04 §14.2
SC-C20 Secure calls: SFrame with the KID layout and a fresh random joinNonce per encryptor instance (every join, rejoin, media-process start and new SFU session); never persist counters instead; replay window; erase an old epoch's keys 10 s after learning that the call switched past it; a sender that can't install the switched-to epoch stops sending after 8 s. 18 §4.3, §5, §6.3, §6.6, §7; D-080
SC-C21 Send MediaAttestations every 500 ms per source; verify late; stop a stream silently when a validly signed attestation contradicts a frame (mismatch or equivocation) or after 3 s unattested, never because of an attestation whose signature doesn't verify; keep the per-(pid, sourceId) budget across joinNonces. 18 §9.3, §9.7, §9.8; D-080
SC-C22 Use constant-bitrate Opus for every source in secure calls; no ssrc-audio-level on source 2. 16 §5.5; 17 §12.4
SC-C23 Enforce leases in the audio render path on the audio clock; stop rendering when removed from listeners. 16 §12; 15 §4.6
SC-C24 Live audio and video only: never send what was captured during an outage or while muted or PTT was released; treat an unobservable PTT as released; bring VAD and open-mic back muted; drive the talk indicator from TalkState. 16 §7.5 to §7.10; 17 §5.9; 20 §11
SC-C25 Global PTT shortcuts: prefer a shortcut service; with a low-level hook, discard other events at once and remove the hook outside calls. 16 §7.7
SC-C26 Bound reassembly and decoding resources; use robust decoders and sandbox video decoding. 17 §6.9, §10.5; 16 §5.6
SC-C27 Screen sharing: capture only what the user picked; exclude the client's own windows; keep screens that show recovery words or pairing codes out of the share; honest indicator and stop control; webcam off after a drop; a screen share resumes only if the seat was restored within 30 s (D-090). 17 §4.2 to §4.6
SC-C28 Calls: send media only to the relay or SFU the hosting server assigns, never directly to another client (D-094); fresh DTLS certificates per call join or context. 15 §7.1; 04 §2.4
SC-C29 Push: process the opaque payload per 19 §13.1 (suppress unknown r; ignore plaintext for contexts pinned secure; show the sender whose key verified; suppress unsupported mentions). 19 §13.1
SC-C30 Show only catalogue surfaces; follow the never-prompt list and copy rules, including in translations. 20 §2.1, §2.3, §7, §19.2
SC-C31 Strip photo location data by default; never auto-fetch link previews in secure contexts; render content without HTML. 11 §3.3, §14.3; 20 §16.9
SC-C32 Diagnostics: counters and reasons only, under the user's setting (default failures, D-089). 15 §14.2; 20 §17
SC-C33 Generate a fresh box key at every enrolment and bind it as dbk in the DeviceCertificate; seal K_share only to dbk values from leaves that passed validation. 07 §3.6, §6; 14
SC-C34 Raise W4d once per new sign-in on every other device, never block, and let the M5 prompt replace it; ask for a provider sign-in before turning on encryption when the last one is more than 23 h old. 05 §12.12; 08 §3.2; 20 §3.4.4, §9.5; D-084, D-085

13.6 Web clients (in addition to §13.5)

ID Requirement Normative source
SC-W1 WH-1 to WH-10: strict CSP header, no inline script or eval, SRI and integrity-checked workers, response headers, separate origin from user content (MUST) and from the API (SHOULD), no third-party code, Trusted Types, service-worker limits (the service worker is the one script exempt from SRI and holds no key except the notification key subset of 08 §13.5 and the push fetch token of 19), keys only on allowed origins. 20 §16.1 to §16.6, §16.11; 00 HP-10
SC-W2 Store keys wrapped under a non-extractable WebCrypto key, unwrap only in the dedicated Worker, treat storage eviction as device loss, offer shared-computer mode. 08 §13.3, §13.4; D-065
SC-W3 Publish a reproducible build and a release manifest (SHOULD); the About screen never calls the hash a verification. 20 §16.7
SC-W4 Desktop apps built on web technology: CSP, context isolation, no Node integration, sandbox, external links in the system browser, signed updates. 20 §16.8
SC-W5 Resolve discovery through the home server's /v1/resolve or DoH and check the domain list yourself; treat definitive /v1/resolve answers as final. 02 §5.4, PD-02-4

13.7 Bots, push gateways and operators

ID Requirement Applies to Normative source
SC-B1 Secure bots: one DSK per process; kind: "bot"; protect the bot token like a key (its leak allows a reset); revoke rather than rotate a leaked token. Bot client 05 §15.4, §22.6; 07 §15.6
SC-P1 Push gateway: seal platform tokens into push keys bound to one home server; authenticate home servers with sv-push+jwt; rate-limit per push key and per home server; publish the source. Official app builds use the project's open-source official gateway or a published open-source fork (D-093). Push gateway 19 §11, §11.1
SC-O1 Keep signing keys in an HSM or KMS, out of database backups; pre-pin a standby key; follow the compromise runbooks. Operators 21 §8
SC-O2 Prefer same-site delegation; use validating resolvers; monitor Certificate Transparency for your domains. Operators 02 §15.1, §15.2; §5.2 here
SC-O3 Keep identities out of metrics labels; limit relay logs. Operators 21 §5.4, §6.12
SC-O4 Keep alias domains registered after removing them; never change the canonical domain. Operators 01 §7.9; 02 §8.3, §15.5
SC-O5 Protect backups like the live database; restore only with the security journal procedure. Operators 21 §11.6
SC-O6 Share a relay only with servers you control. Operators 21 §13 item 2
SC-O7 Keep server clocks within 1 s of UTC. Operators 21 §2.4
SC-O8 Record every operator action outside the protocol in the audit log. Operators 21 §11.2

14. Cross-document consistency review

14.1 Findings

Every document's "Security considerations" and "Open questions" section was read against 00 §4, §5, §6 and §10 and against this document. The table lists every disagreement that affects security, with the recommended resolution and who must act. "Lead" means a change the lead can make; "Owner" means an owner decision is needed (§16). Findings that the cross-document fixes of 2026-12-04 settled are kept, marked Resolved or Partly resolved, so that their IDs stay stable; "Done" means no action remains.

ID Disagreement Documents Recommendation Who
X-1 00 §5.2 and §10 item 1 said a hosting server can never fabricate a user of another server in its channels, but the check that would catch it (S2) is a SHOULD whose failures are diagnostics only, and the local check S1 can't detect a self-consistent certificate the server made up. Partly resolved: 00 §5.2, 00 §10 item 1 and 07 §22.5 now say that member clients detect such a leaf only through silent diagnostics, and 00 §5.2's downgrade cell is limited to channels and servers the client has already seen as secure (RR-47, 09 §18 item 2). Still open: whether S2 becomes a MUST (OQ-22-2). 00 §5.2, §10 item 1, HP-2; 07 §13.6, §22.5, OQ-07-1; 09 §18 item 2; 13 §21 item 2 OQ-22-2 asks to make S2 a MUST and have clients silently stop playing media from a leaf whose IdentityState positively fails, as for a failed MediaAttestation (D-043), and show its messages with the neutral ST.message_invalid line (14 OQ 3); 07 OQ-07-1 keeps this as an option after v1. Until then this document treats fabrication as part of RR-2 and RR-42. Lead; OQ-22-2 amends D-035
X-2 18 shows that a member colluding with a relay can inject media normally for under 1 s, but up to about 3 s per episode when the attacker also drops attestations, at most 3 counted episodes per participant and source per minute, plus up to about 3 s per minute excused as route disruptions, which a relay-controlling attacker can provoke (18 §9.7 item 11, §14 item 2). Resolved: 00 §5.2 (the relay and Other-members rows), 00 §10 item 9, 16 §15 item 3 and 17 §16 item 4 now give that bound, and 15 §17 item 3 gives its first part and points to 00 §10 item 9 for the rest. 00 §5.2, §10 item 9; 15 §17 item 3; 16 §15 item 3; 17 §16 item 4; 18 §9.7 item 11, §14 item 2 None (RR-11). Done
X-3 00 HP-14 and D-054 said a revoked device reads nothing new after a vault rotation. That holds only if the device was removed as lost or stolen (which makes a new recovery key) or the KeyBackup stays out of an attacker's hands, because the device knows the phrase entropy. Resolved: D-082 revises D-054, and 00 HP-14, 08 §10.8 and 14 §17 item 15 now state the condition. 00 HP-14; D-054, D-082; 08 §10.8, §18.3; 14 §17 item 15 None (RR-33). Done
X-4 00 HP-7 defined a user's audiences as assertion recipients in the last 30 days plus DM hosts, so communities not opened for 30 days kept the user's leaves for up to 90 days without learning of resets or revocations. Resolved: 00 HP-7 and 06 §11.1 (now a MUST) include the servers on the account's community list. 00 HP-7; 06 §11.1; 07 §22.7 None (RR-24 updated). Done
X-5 D-070 said secure group DMs default to full history "like channels", and 12 §11.5 followed it: a participant re-added after an identity change got history under the group's setting, so under D-071 a hijack-reset re-added to a full group DM would have received its earlier history. Resolved (revised D-007): D-070 is superseded; a participant re-added after an identity change is served nothing from before the re-add, in 1:1 and group DMs alike (12 §11.5 item 4; 14 §10.2 rule 8, §10.9). D-070; 00 F6; 12 §11.5, OQ 3; 14 §10.9, §17 item 16, OQ 6 None. Done
X-6 SM-4 said only an enrolled device of a secure account can read a secure context, while event tickets identify the account, not the device (PD-19-16, ciphertext only), and needs_encryption members keep reading pre-upgrade plaintext history. Resolved: SM-4 now records both as bounded exceptions (09 §9.3 check H6; 19 §4.7, PD-19-16), and 09 Q1 is resolved. 00 §4.2 SM-4; 19 §4.7; 09 §9.3 None. Done
X-7 00 §4.7 Matrix E says that in secure channel calls only "participants" can hear. Every member of the channel's group can derive the media keys and, with the relay's help, hear the call without joining it (18 §14 item 3). 00 §4.7; 18 §14 item 3 Amend the "Who can hear and see" cells for secure calls in channels and group DMs to "members of the context; participants only on honest relays" (RR-44). Lead
X-8 00 §10 item 8 described the D-071 risk but didn't say that the attacker's new identity received channel history where the setting was full, which 14 §17 item 16 required 22 to state. Resolved (revised D-007): there is no history setting, the new identity gets no earlier channel content, and 00 §10 item 8 now says so. 00 §10 item 8; 14 §17 item 16 None. Done
X-9 07 §22.4 described a hostile first upgrade as needing control of the OIDC login, while 05 §22.3 showed that any session of an insecure account was enough, because turning on encryption needed no fresh authentication. Resolved: D-085 requires a provider sign-in within 24 h to turn on encryption (05 §9.1, 07 §11.4, 08 §3.2); 07 §22.4 now names the provider login and a token less than 24 h after its session's sign-in. 05 §9.1, §22.3; 07 §11.4, §22.4 None (RR-10). Done
X-10 09 §18 item 10 said since_join was cryptographic in secure channels, while 11 §20 showed that edits and reactions made today on messages from before a newcomer joined are encrypted under today's epoch, so that part was server-enforced. Resolved (revised D-007): since_join no longer exists; 09 §18 item 10 now says what is cryptographic and what is server-enforced (RR-26). 09 §18 item 10; 11 §20 None. Done
X-11 00 HP-5 says removed participants "are cut by lease revocation independently of the commit". That holds on honest paths. A removed member colluding with the relay or SFU can keep hearing until the removal commit, which has no fixed deadline (18 §14 item 4). 00 HP-5, §10; 18 §14 item 4; 13 §21 item 4 Add "on honest paths" to HP-5 and record the residual in 00 §10 (RR-12). Lead
X-12 00 HP-5 said MediaAttestations travel on the control data channel of the same path, but the SFU path has none. Resolved: HP-5 and D-080 carry them on every relay connection, with the attestations of SFU-routed sources on the relay (18 §9.6). No change to the security property. 00 HP-5; 15 §8.1; 18 §9.6; D-080 None. Done
X-13 00 §4.12.1 defined W4b only for a different key in a channel roster; 07 extends it to the user's own key on an unlisted device and to DM rosters. Resolved: the W4 row and HP-2's self-alerts now cover channel, DM and group DM rosters and a device the home server doesn't list (07 §18.2). 00 §4.12.1, HP-2; 07 §18.2 None. Done
X-14 00 §4.12.6 said an insecure account sees a closed lock on secure contexts it can't open, which SM-12 forbids. Resolved: 00 §4.12.6 and Matrix B now use 20's outline gated lock, never shown beside content (20 §8.1, PD-20-8). 00 §4.12.6, SM-12; 20 §8.1 None. Done
X-15 00 HP-7 listed same-site among the evidence that can justify a pin change; 02 restricts it to the queried domain, its subdomains or the pinned host, because registrable domains can be shared by parties that don't trust each other. Resolved: HP-7 carries 02's restriction, and D-081 adopts it (02 PD-02-13). 00 HP-7; 02 §10.2, PD-02-13; D-081 None (RR-8). Done
X-16 00 §7.3 and 03 §3.2 said cookies are never used, but 05 needs a short-lived transaction cookie on the browser-facing auth pages to stop login CSRF and code injection. Resolved: 00 §7.3, 03 §2.9 and §3.2 rule 2 and D-026 now say that no cookie or other ambient credential authorizes a request, with 05's transaction cookie as the one cookie (05 §6.4, P-05-3). 00 §7.3; 03 §2.9, §3.2; 05 §6.4; D-026 None (SC-S2). Done
X-17 00 HP-9 could place an insecure group DM on an upgrade_required account's secure home server, against SM-10. Resolved: HP-9 applies 12 §4.3's rule and fails with dm.encryption_pending when every home is a secure server (12 §4.3 is normative). 00 HP-9; 12 §4.3 None. Done
X-18 07 §22.12 says clients SHOULD warn about a wrong clock through general diagnostics; 04 forbids clock errors to the user and 20 shows clock offset only on the connection details screen. 04; 07 §22.12; 20 OQ-20-3 Align 07 §22.12 with 20. A clock message must never look like a security warning. Lead
X-19 Address reuse: everything across servers was keyed by canonical address, so a server that missed account.deleted could carry the old holder's trust and DM threads over to a new holder, and W2 then described a stranger as a known contact. Resolved: D-086 adds an immutable incarnation to HomeAssertion, IdentityState and the profile; records are keyed on (address, inc) (06 §11.6), and contacts see W2's new-account wording (07 §16.8); 01 OQ-3 and 07 OQ-07-6 are deleted. 01 §5.7; 05 §11.1, §22.8; 06 §11.6; 07 §16.8, §22.10; 12 §6.4, §20 None (RR-29). Done
X-20 Without a history of identity keys in each pin, genuine DM messages signed under a key older than the pin's previous key show as "This message can't be shown". 07 §16.1; 14 §6.2, OQ 2 07 keeps the list of previously accepted keys per pin (RR-37). Lead
X-21 After a lossy server restore, nothing makes clients re-upload a KeyBackup, vault records or certificates registered after the backup point, so a recovery key created after it can silently stop working. 07; 08; 21 §11.6, OQ-21-10 Adopt 21's recommendation: devices that see an older igen, KeyBackup or vault generation than they hold re-register and re-upload without prompting. Lead
X-22 00 §5.2 says a home server can never "Read secure content", and that an OIDC provider "Can obtain a home session, which reaches insecure contexts only". Both can replace the user's identity at once; under the earlier full history setting the new identity's devices then received the channel's history. X-8 covers only 00 §10 item 8. Partly resolved (revised D-007): a replaced identity no longer receives any earlier content (14 §17 item 16), and 00 §5.2 now says a reset gives no earlier content; only the wording of the Home server 'Can never' cell remains open. 00 §5.2; 14 §17 item 16 Amend the Home server 'Can never' cell to 'Read secure content without replacing the user's identity' only if still needed for impersonation of new content (RR-1, RR-2). Lead
X-23 00 HP-8's canonicalize() takes the metadata's canonicalDomain without checking that it resolves back to the same server. §5.2 and §6 HP-8 here rely on that check (02 §5.3, PD-02-3). 00 HP-8; 01; 02 §5.3, §21.2, OQ-02-1 Adopt PD-02-3: 01's canonicalize() calls 02's resolve(), and 00 HP-8 mentions the check in one line, as 02 OQ-02-1 recommends. Lead
X-24 03 §3.2 rule 3 said a client never sends an old token to a new base URL, while 02 §10.6 (PD-02-8) lets a token follow a move that the client's own pin accepts. Resolved: 03 §3.2 rule 3 now allows that move (02 §10.6, PD-02-8). 02 §10.6; 03 §3.2 None (SC-C14). Done
X-25 00 §7.2 required JSON bodies with lowerCamelCase members everywhere, while 05 keeps the RFC 6749 form encoding on /v1/auth/par and /v1/auth/token and posts a form to /v1/auth/consent. Resolved: 00 §7.2 and §7.3 list these, with attachment bytes, as the only non-JSON request bodies (03 §2.9), and D-079 adopts the OAuth bodies (05 P-05-4). 00 §7.2, §7.3; 03 §2.9; 05 §7.1, §5.4; D-079 None (SC-S3). Done

14.2 Per-document status

Document Security considerations consistent with this document? Notes
01 Yes Address reuse (X-19) resolved by D-086.
02 Yes Feeds RR-8, RR-45 and RR-52; X-23 (X-15 and X-24 resolved).
03 Yes X-16, X-24 and X-25 resolved; metadata on the socket is MX-12.
04 Yes Feeds RR-14 to RR-18; §11.
05 Yes Feeds RR-1, RR-10, RR-41; X-9, X-16 and X-25 resolved; OQ-05-1 and OQ-05-2 settled by D-084 and D-091.
06 Yes Feeds RR-23, RR-24, RR-49; X-4 resolved.
07 Yes, with X-18 Feeds RR-1, RR-2, RR-25; X-1 (§22.5) and X-13 resolved; X-9 and X-19 resolved (D-085, D-086).
08 Yes Feeds RR-15, RR-33, RR-34, RR-40, RR-43; X-3 resolved for 08 (D-082).
09 Yes Feeds RR-46, RR-47; X-10 resolved (revised D-007).
10 Yes Feeds RR-27, RR-28, RR-51, RR-55.
11 Yes Feeds MX-4 to MX-11, RR-26.
12 Yes Feeds RR-38, RR-55; X-5 and X-17 resolved.
13 Yes Feeds RR-12, RR-36.
14 Yes Feeds RR-7, RR-26, RR-37, RR-55; X-3 resolved (§17 item 15); X-5 and X-8 resolved (revised D-007); X-20.
15 Yes Feeds RR-39; X-2 and X-12 resolved for 15.
16 Yes Feeds RR-31, RR-54; SC-C22 to SC-C25; X-2 resolved for 16.
17 Yes Feeds RR-13, RR-31; X-2 resolved for 17.
18 Yes Feeds RR-11, RR-12, RR-44; X-7, X-11. PD-22-1 answers 18 §14 item 10.
19 Yes Feeds RR-19, RR-20, RR-21.
20 Yes §12 agrees with 20 §8.4; X-18 (X-14 resolved).
21 Yes Feeds RR-45, RR-52, RR-53; X-21.
00 Yes after X-7, X-11, X-22, X-23 §10 items 1, 8 and 9 now match this document; still open: the §5.2 Home server cell (X-22), Matrix E (X-7), HP-5 (X-11) and HP-8 (X-23). Resolved: the §5.2 downgrade, relay and Other-members cells (X-1, X-2), the §5.2 OIDC provider cell and §10 item 8 (X-8, X-22, revised D-007), SM-4 (X-6), HP-5 transport (X-12), §4.12.1 (X-13), §4.12.6 (X-14), HP-7 (X-4, X-15), §7.2 and §7.3 (X-16, X-25), HP-9 (X-17) and HP-14 (X-3).

15. Security considerations

This whole document is about security. Points about the document itself:

  1. It is only as current as the documents it summarises. A change to any owning document's security mechanism MUST be reflected here, in §5, §7 and §8, before the change is published. The checklist (§13) points to section numbers that move when documents are edited; implementers follow the owning document's text.
  2. It assumes conforming implementations. Bugs, side channels in implementations, and supply-chain attacks on client builds are outside the analysis, except where §4.2 says otherwise. The web hardening profile and reproducible builds (20 §16) are the only supply-chain controls the specification sets.
  3. It describes attacks openly. Nothing here depends on secrecy; publishing it helps operators and users decide.
  4. The register is the only place where a risk is "accepted" (PD-22-3). A risk described as accepted elsewhere without an RR-* entry is a defect in this document.
  5. The analysis treats ADV-HOME and ADV-HOST separately, but in practice they are often one operator (D-048, D-068). For a user whose home server also hosts the context, the union of both rows applies.

16. Open questions

16.1 Questions

These items need the owner's or the lead's decision. Each one changes a residual risk in §8. Most were raised first by another document; this section consolidates them with the threat model's view.

ID Question Recommendation
OQ-22-2 Lead, amends D-035; owner informed. Silent stop for positively failed identities in channels (X-1, 07 OQ-07-1). D-035 makes credential-check failures diagnostics only; this would let member devices act on one kind of failure. Yes. Make S2 a MUST, stop playing media from a leaf whose IdentityState positively fails, and show its messages with the neutral ST.message_invalid line ("This message can't be shown", 14 OQ 3) rather than letting them vanish. It is consistent with the owner's requirement that servers validate identity in channels: the hosting server stays the Authentication Service, devices reject only chains that are provably forged, and resets and new devices still never warn anyone. It would let 00 §5.2 again list fabrication among the things a hosting server can never do (it now records the gap), without any warning and without depending on the diagnostics setting (RR-42). 07 OQ-07-1 now keeps this as an option after v1.
OQ-22-3 Settled by the owner (revised D-007, 2026-12-04). The DM re-add floor. Nobody who joins or is re-added to a secure context gets anything from before the join, so no separate floor is needed (12 §11.5). Kept for its ID.

Settled by the owner: OQ-22-1 by D-084 (W4d, 05 §12.12), OQ-22-4 by D-086 (account incarnation, 06 §11.6) and OQ-22-6 by D-085 (a provider sign-in within 24 h before turning on encryption, 05 §9.1), on 2026-12-04; and OQ-22-5 by D-094 (clients never communicate directly, and all call media goes through the hosting server's relay or SFU), on 2026-12-05.

16.2 Proposed decisions made in this document

ID Decision Rationale Section
PD-22-1 Users aren't warned in the app that secure messages and media are non-repudiable; help pages say so, and no client or document may claim deniability. Non-repudiation makes reports unforgeable; the catalogue is closed; documentation reaches the people who need to know. §12.4
PD-22-2 Help pages and documentation use the reference statements of §12.2, adapted but never strengthened. The app shows few surfaces by design; honest detail must still be available and must match the risks. §12.2
PD-22-3 The register of §8 is the single list of accepted residual risks; other documents cite RR-* IDs, and a new accepted risk is added here before it is described as accepted. One place to review what the system doesn't protect against. §1.3, §8

17. References

17.1 Normative

  • RFC 2119, RFC 8174 — requirement key words
  • spec/00-overview.md to spec/21-deployment-operations.md — every mechanism cited in this document
  • spec/DECISIONS.md — decision log (D-001 to D-094)
  • RFC 9420 — The Messaging Layer Security (MLS) Protocol
  • RFC 9605 — Secure Frame (SFrame)
  • RFC 7515 — JSON Web Signature; RFC 8037 — EdDSA in JOSE
  • RFC 8032 — Ed25519; RFC 9106 — Argon2
  • RFC 8446 — TLS 1.3; RFC 9147 — DTLS 1.3; RFC 6347 — DTLS 1.2
  • RFC 8826, RFC 8827 — WebRTC security considerations and security architecture
  • RFC 6749 — OAuth 2.0; RFC 9700 — OAuth 2.0 security best current practice; OpenID Connect Core 1.0
  • RFC 4033 to RFC 4035 — DNSSEC; RFC 8484 — DNS over HTTPS
  • RFC 8030, RFC 8291, RFC 8292 — Web Push, its encryption, and VAPID
  • W3C Content Security Policy Level 3; W3C Subresource Integrity; W3C Trusted Types
  • draft-irtf-cfrg-cpace — CPace (revision pinned in 04)

17.2 Informative

  • RFC 3552 — Guidelines for writing RFC text on security considerations
  • RFC 6973 — Privacy considerations for Internet protocols
  • RFC 7258 — Pervasive monitoring is an attack
  • RFC 9750 — The MLS architecture
  • RFC 6562 — Guidelines for the use of variable bit rate audio with secure RTP
  • RFC 9162 — Certificate Transparency version 2.0
  • RFC 9449 — OAuth 2.0 demonstrating proof of possession (DPoP) (06 OQ-06-1)
  • draft-ietf-keytrans-protocol — Key transparency (07 OQ-07-2)
  • NIST FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA) — post-quantum primitives for sv1-c2 and later suites
  • P. Grubbs, J. Lu, T. Ristenpart, "Message Franking via Committing Authenticated Encryption", CRYPTO 2017
  • Y. Dodis, P. Grubbs, T. Ristenpart, J. Woodage, "Fast Message Franking: From Invisible Salamanders to Encryptment", CRYPTO 2018
  • Unicode UTS #39 — Unicode security mechanisms
  • The project brief (Sloppy Voice v2 protocol specification brief), §2 owner requirements and §5 the old voice and video design