Proof 05 — Eclipse Resistance under Signed Relay Bootstrap & Disjoint DHT
Decentralized P2P overlays face two classical routing attacks during bootstrap and peer resolution:
- Cold-Start Bootstrap Poisoning: A joining node connects only to adversary-controlled entry nodes.
- Lookup Path Eclipse: Adversarial nodes cluster near a target key T = SHA3-256("reach\n" ‖ agent_id) in the Kademlia DHT XOR metric to censor
ReachDescriptororRevokeTombstonerecords.
1. Cold-Start Anchor Security
Every fatext v4.0 binary ships with a verified snapshot of relays.json signed by the offline RFC 8032 Ed25519 release key, containing R geographically distributed backbone relays (R ≥ 3). Furthermore, connection setup requires live RFC 9496 ristretto255 Schnorr challenge verification against the relay's registered microlog pk_id.
Lemma 5.1: Unless the adversary compromises all R independent backbone relay private keys (master.seed) simultaneously, any newly initialized node reaches at least one honest backbone seed on startup regardless of local DNS tampering or stale mirror responses.
2. Sybil Fraction Bound in PoW-Admitted Kademlia
Let the honest mesh contain H active --seed nodes (each verified at pow_bits >= 22), and suppose an adversary invests total hashing budget W (SHA3-256 evaluations) to inject S ≈ W / 222 Sybil --seed nodes.
Crucially, a node's DHT coordinate is not freely chosen after PoW:
where agent_id is fixed by (PK0, t0, pow_nonce). To place a Sybil node within the k-closest XOR neighborhood of a specific target key T (an interval of measure k / H in {0,1}256), each valid 22-bit PoW identity lands in that neighborhood independently with probability q = k / (H + S).
Expected work to generate k targeted Sybils eclipsing a single victim's k-bucket (k = 20):
Even for a modest honest backbone of H = 500 seed nodes, targeted placement of k = 20 Sybils around one agent_id requires matching the cumulative Genesis PoW of the entire honest seed network (≈ 2.1 × 109 SHA3-256 evaluations per target).
3. Theorem 5.2 (Node-Disjoint Lookup Delivery Bound)
Statement: Let f = S / (H + S) < 1 denote the global fraction of adversarial unpinned --seed nodes, and suppose a client executes d = 3 node-disjoint iterative lookups of length ≤ ℓhop = ⌈ log2(H + S) ⌉, starting from 3 distinct pinned registered relays, while replicating ReachDescriptor across k = 20 closest seeds and m = 3 home Drop-Box relays.
- Even if DHT buckets around T suffer partial pollution, all k = 20 replica holders around T are adversarial with probability at most f20 (for f = 0.25, 0.2520 < 10-12).
- Across d = 3 independent disjoint lookup paths from honest pinned entry relays, if each path fails to reach the honest k-neighborhood with probability ≤ ppath, total lookup censorship occurs with probability at most ppath3.
- Because every returned
ReachDescriptorandRevokeTombstoneis self-signed bypk_id(microlog-bound), a single surviving honest path suffices for exact cryptographic verification; adversarial paths can only return nothing or staleseqvalues, never forged keys (Tombstone Wins+ monotonicseq). ∎
4. Theorem 5.3 (C2SP Witness Split-View Bound & Subnet-Diverse Eclipse Cost)
Statement:
- Offline Split-View Impossibility under t-of-w Witness Quorum: Suppose
relays.jsonandrelays-chain.jsonenforce a threshold of t = 2 out of w = 3 independent C2SPtlog-witness/tlog-cosignatureEd25519witnesses (witness-1..3), where each honest witness maintains an append-only(epoch -> registry_hash)state table and refuses to cosign a second distinct digest at any previously witnessedepoch. Even on a 100% network-eclipsed first boot where peer gossip is blocked, an adversary who compromises the offline release key skrel AND up to w - t = 1 witness key cannot produce two valid snapshots (DA, DB) accepted at the sameepochexcept with probability bounded by (w - (w - t)) · Adveuf-cmaEd25519(ℬ) + qH2 / 2257. By pigeonhole intersection (t + t > w since 2 + 2 > 3), any two accepted quorums QA, QB ⊆ {1, 2, 3} of size ≥ 2 share at least one uncompromised witness i* ∈ QA ∩ QB. - Subnet-Diverse
S/KademliaEclipse Cost: Following S/Kademlia and IPFS Kademlia Sybil & Eclipse Defenses (2025), enforcingmax_per_subnet = 1per IPv4/24and IPv6/48prefix (fatext dht filter-eclipse) collapses all Sybil identities hosted inside a single cloud/24or/48allocation to a single routing slot. Consequently, eclipsing all k = 20 slots around target T requires simultaneously controlling m ≥ 20 distinct/24or/48prefixes AND expending expected hashing work E[Wsubnet-eclipse] = H · 222 distributed across those 20 distinct networks. ∎