Status: pre-launch. This page describes target design; this document does not establish a deployed service.
The Immune System — DAG-Native Defense
Current reading — 2026-09-27
Conflicting or asymmetric telemetry can prompt investigation but does not alone establish deception. Benign causes, privacy and false positives require evaluation. Guardian findings do not authorize slashing or prove deployed attack resistance. [I]
This is an editorial boundary, not a new runtime contract, upstream repeal or proof of adoption. See current status and the product roles. Original revision dates remain as recorded below.
Historical research draft — retained on 2026-09-27; not current terms or implementation instructions
This page describes the intended immune layer for SPECTRE. Read enforcement, slashing, and attack-detection language below as target design unless a narrower runtime proof has explicitly closed the lane.
The Problem
In any open peer-to-peer network, adversaries will join. They will lie about latency, fabricate reputation scores, collude in Sybil clusters, and attempt eclipse attacks. The immune system must detect and neutralize these threats without a central authority.
Three Detection Mechanisms
1. Cross-Report Variance
Every gossip round involves at least two parties. Both parties report the outcome (latency, success, behavior). Honest nodes produce consistent reports. Dishonest nodes produce variance.
If node A reports 50ms latency to node B, but node B reports 200ms latency from node A, the variance flags both for investigation. The immune system doesn't need to know who is lying — the variance itself is the signal. Over many rounds, the liar's reports diverge from the network consensus while the honest node's reports converge.
2. Reciprocal Consistency
If A says B is fast, and B says A is fast, and both serve traffic reliably — the relationship is reciprocally consistent. If A says B is fast but B says A is slow, someone is lying.
Reciprocal consistency extends transitively: if A vouches for B and B vouches for C, then A has indirect exposure to C's honesty. EigenTrust exploits this transitivity to compute global reputation from purely local observations.
3. Triangle Inequality
In any metric space, the distance from A to C cannot exceed the distance from A to B plus B to C. Latency is (approximately) a metric. If A reports 10ms to B, B reports 10ms to C, but A reports 500ms to C — the triangle inequality is violated. Someone is lying about their position in the network.
Triangle inequality violations are strong signals of fabricated telemetry. They detect nodes that claim to be "close" to many peers simultaneously (a common Sybil tactic) or nodes that selectively inflate latency to competitors.
P-Score and Slashing
In the target design, every SPECTRE node accumulates a P-score — a composite reputation metric computed from:
- Cross-report consistency (low variance = high P)
- Reciprocal consistency (symmetric reports = high P)
- Triangle inequality compliance (no violations = high P)
- Historical reliability (long track record = higher P baseline)
P-score is intended to determine staking rewards and routing preference. Low P-score would trigger:
- Warning zone (P < 0.5): Reduced routing traffic, lower rewards
- Slashing zone (P < 0.3): Stake slashed proportionally to severity
- Quarantine zone (P < 0.1): Effective network isolation via Boltzmann exclusion
Slashing is proportional, not binary. A node with one bad day loses a little. A persistent attacker loses everything.
Eclipse Attack Neutralization
Eclipse attacks isolate a target node by surrounding it with adversary-controlled peers. In traditional P2P networks, this can take hours to detect.
SPECTRE is designed to neutralize eclipse attacks in approximately 35 rounds through:
- Diverse peer selection: Boltzmann sampling ensures non-zero probability of connecting to any node, preventing complete encirclement
- Gossip-about-gossip metadata: If a node stops appearing in other nodes' gossip metadata, it's being eclipsed
- Cross-report triangulation: Adversary ring members produce correlated (suspiciously consistent) reports
- Immune escalation: Detected eclipse patterns trigger forced peer rotation with cryptographic randomness
35 rounds at typical gossip intervals would mean eclipse detection in under 60 seconds.
Sybil Resistance
Sybil attacks (creating many fake identities) are mitigated by:
- Stake requirement: In the target design, each SPECTRE node would need to stake tokens proportional to claimed capacity
- P-score bootstrapping: New nodes would start with minimal P-score and would need to EARN reputation through sustained honest behavior
- Correlated behavior detection: Sybil nodes controlled by one operator tend to have correlated latency patterns, synchronized failures, and identical routing preferences. The immune system clusters these correlations.
- Economic unfeasibility: Attacking with 33% of nodes requires 33% of total stake, and the slashing mechanism destroys that stake upon detection
No Central Immune Authority
In the target design, every mechanism described above runs locally on every node. There is no immune committee, no ban list, no admin override. The immune system is the emergent consensus of thousands of independent nodes each running the same detection algorithms on their own local observations.
This means the immune system is designed to resist capture, corruption, or lobbying. It is mathematics, not governance.