Proof 01 — Adversary Model & Zero-Trust Relay Security Boundary
This document defines the adversary classes, trust boundaries, and security guarantees of fatext v4.0 across the static publication anchor, registered public relays, and peer-to-peer mesh.
1. Adversary Classes
- Global Passive Network Observer (𝒜net): Records encrypted packets, timestamps, and sizes across Internet links (
Store-Now-Decrypt-Later), attempting later decryption with a cryptographically relevant quantum computer (CRQC). - Malicious or Compromised Public Relay (𝒜relay): Controls up to f registered or community
--seedrelays; inspects Drop-Box headers, attempts to correlate senders via rate-limit tokens, injects forgedReachDescriptorentries, or selectively drops envelopes. - Sybil Mesh Polluter (𝒜sybil): Generates synthetic identities to poison Kademlia DHT routing buckets or dilute decoy rings.
- Static Mirror Tamperer (𝒜mirror): Serves modified or stale
relays.json/ binary archives over compromised CDNs or HTTP mirrors.
2. Trust Boundary Matrix
| Component | Secret Material Held | Capabilities Under Compromise | Enforced Cryptographic Guard |
|---|---|---|---|
| Static Origin / Mirror | None online (offline cold RFC 8032 Ed25519 key) | Can only delay updates until expires_at; cannot forge relays.json.sig or SHA256SUMS.sig | Pinned client official_release_key_fp + monotonic registry_epoch anti-rollback |
| Public Seed Relay | Own master.seed (pk_id in relays.json) | Can drop queued ciphertexts on its own host; cannot decrypt envelopes, forge microlog events, or identify ring signers | X25519 + ML-KEM-768 E2EE + Scoped LSAG blind quotas + multi-relay replication (k_home = 3) |
| Peer Node | Own master.seed (0600) | Compromises only that single agent_id; historical fatext-p2p-v5 sessions remain confidential | Ephemeral per-session ML-KEM-768 + X25519 forward secrecy + revoke / equivocation freeze |
3. Theorem 1.1 (Zero-Trust Relay Confidentiality & Integrity)
Statement: Let 𝒜relay control all Drop-Box and WebSocket relays traversed by honest agents A and B whose authentic microlog chains are mutually resolved. Under the IND-CCA2 security of either RFC 7748 X25519 or NIST FIPS 203 ML-KEM-768, the INT-CTXT security of AES-256-GCM, and the EUF-CMA security of Schnorr / SAG / bLSAG over RFC 9496 ristretto255, 𝒜relay has negligible advantage in distinguishing message plaintexts or injecting accepted frames.
Proof Sketch:
- Every asynchronous payload and
p2p_offer/p2p_answerframe encapsulates a fresh 32-byte key under the recipient'smicrolog-authenticatedek_kem(1216 B) and authenticates sender identity inside theAES-256-GCMplaintext viaristretto255Schnorr or ring signature. - Any modification of outer
kem_ct,iv,ct, or AAD causes either implicit KEM rejection (yielding an independentSHAKE256pseudorandom key that fails GCM tag verification with probability 1 - 2-128) or direct GCM authentication failure. - Because the static trust anchor never holds
master.seedor participates in key exchange, compromise of web hosting infrastructure yields zero decryption capability over past or future traffic. ∎