ARLIResearch

ICP Security Trust Stack & Threat Surface

Educational analysis: 10 security dimensions, 7 trust assumptions, cross-chain comparison

ICP Trust Stack: 10 Security Dimensions Each layer depends on ALL layers below it. A break at any level cascades upward. 0. CONSENSUS & FINALITY BFT, tolerates <⅓ Byzantine nodes per subnet. Deterministic ~1–2s finality. No reorgs possible under assumptions. Assumption: <⅓ replicas malicious Risk: Single replica impl (no client diversity) 1. CHAIN-KEY CRYPTOGRAPHY Threshold BLS + ECDSA/Schnorr. No full private key exists anywhere. Subnet key shared across nodes via DKG. Powers: ckBTC/ckETH custody, certified variables, cross-subnet verification, light clients. Assumption: Math hardness + impl correctness Risk: Threshold ECDSA bug (hi-consequence) 2. NODE PROVIDER DECENTRALIZATION Permissioned, identified providers. ~13 nodes/app-subnet, ~40 NNS subnet. Distributed across DCs, countries, jurisdictions. Nakamoto coefficient targets enforced via deterministic decentralization formulas. Assumption: Providers genuinely independent ⚠ WEAKEST PILLAR, permissioned, legible, few nodes 3. NNS GOVERNANCE (DAO) On-chain DAO controls ALL upgrades, node admission, economic params. Stake + dissolve-delay weighted voting. Can change replica code on every node. Captured NNS = captured network. DFINITY authors most proposals. Assumption: Voting power distributed, not captured ⚠ LARGEST TRUST CONCENTRATION 4. CANISTER SANDBOX Wasm sandbox + orthogonal persistence + capability messaging. Platform protects canisters from each other. Risk: App-layer bugs (most common exploits) 5. UPGRADE & STABLE MEMORY Orthogonal persistence. Compat-breaking upgrades → data loss. Most frequent operational pitfall. RB's Back Alley class. Risk: Upgrade-time state loss (common) 6. ECONOMIC INCENTIVES & CYCLES Reverse-gas model. Cycles pegged to SDR basket. Burn-vs-mint sustainability under debate. Risk: Cycle-drain, long-run inflation STRONGEST PROPERTIES (▲) ● Threshold crypto, no full key exists ● Deterministic BFT finality (1–2s) ● DC/jurisdiction distribution constraints ● Transparent on-chain governance ● Bridge-free ckBTC/ckETH (0 losses) ● Full-stack on-chain hosting ● Governance-coordinated recovery ● Subnet fault isolation (not network-wide) Verdict: Genuine architectural differentiators VULNERABILITY COMPARISON Bitcoin: Nodes: ∞ anon · Clients: 1+ Strongest immutability, weakest expressiveness Ethereum: Nodes: ~10⁶ val · Clients: 5+ Client diversity advantage, prob. finality Solana: Nodes: ~2K val · Clients: 2 High perf, historical full-network outages Cosmos: BFT + app zones + gov Per-chain security vs unified mgmt tradeoff ICP = tight BFT federation vs open participation CRITICAL TRUST ASSUMPTIONS (▼) ● Honest-supermajority on small subnets ● ONE replica impl (no client diversity) ● Provider independence (attested, not crypto) ● NNS non-capture (stake + review capacity) ● Threshold ECDSA correctness ● DFINITY's central dev/proposal role ● Few hundred total nodes (vs 10⁶ ETH val) ● NNS can change ALL code by design Each reasonable today. None is law of nature.

Threat Surface Map: What Could Go Wrong

ICP Threat Surface: Attack Vectors by Feasibility & Consequence Feasibility → ↑ Consequence HIGH CONSEQUENCE / LOW FEASIBILITY, existential tail risks HIGH / HIGH, nightmare quadrant LOW CONSEQUENCE / LOW FEASIBILITY LOW CONSEQUENCE / HIGH FEASIBILITY, operational friction NNS Governance Capture Stake accumulation + apathy Feasibility: LOW | Impact: CATASTROPHIC Threshold ECDSA Flaw ckBTC/ckETH custodied funds Feasibility: VERY LOW | Impact: CATASTROPHIC Replica 0-Day (All Nodes) Single codebase = single target Feasibility: LOW | Impact: NETWORK-WIDE Jurisdictional Compulsion Provider concentration in 1 country Feasibility: LOW–MED | Impact: SUBNET Quantum Computing Breaks elliptic curves (ALL chains) Feasibility: 10–20yr | Impact: SYSTEMIC App-Layer Exploits Reentrancy, auth bypass, cycle drain Feasibility: HIGH | Impact: PER-DAPP Upgrade State Loss Stable var compatibility breaks Feasibility: COMMON | Impact: PER-DAPP Cycle Drain Attack Unbounded ingress → canister freeze Feasibility: MEDIUM | Impact: CANISTER Provider Collusion Sybil-attested independence Feasibility: LOW | Impact: SUBNET ◉ = Per-dapp (dev responsibility) ◆ = Protocol-level (network responsibility) Dashed border = theoretical/long-range LOW FEASIBILITY HIGH FEASIBILITY

Cross-Chain Trust Model Comparison

Trust Model Spectrum: Open Participation ↔ Governed Federation ANARCHIC GOVERNED Bitcoin Nodes: ∞ (anonymous) Clients: 1+ (BTC Core) Consensus: PoW (prob.) Finality: ~60 min Governance: Off-chain ✓ Strongest immutability ✓ Censorship resistant ✗ Minimal expressiveness Ethereum Nodes: ~10⁶ validators Clients: 5+ (Geth, Nethermind...) Consensus: Gasper (prob.) Finality: ~12 min (2 epochs) Governance: Off-chain + EIP ✓ Client diversity ✓ Massive validator set ✗ L2 patchwork fragmentation Solana Nodes: ~2K validators Clients: 2 (Agave, Firedancer) Consensus: PoH + Tower BFT Finality: ~0.4s (optimistic) Governance: Off-chain + SIMD ✓ Second client emerging ✓ High throughput ✗ Historical full-network outages ICP Nodes: ~hundreds (identified) Clients: 1 (DFINITY replica) Consensus: BFT (deterministic) Finality: ~1–2s Governance: On-chain NNS ✓ Deterministic finality ✓ Bridge-free custody ✗ Single replica impl Cosmos BFT consensus App-specific Per-zone sec. On-chain gov ✓ Sovereign ✗ Fragmented 🔑 Key Insight: No Model Dominates All Threat Dimensions Open participation (BTC, ETH) resists capture better. Governed federation (ICP, Cosmos) patches and recovers faster. Bitcoin = less capable + less governable. ICP = more capable + more governable. This is a tradeoff, not a ranking. Researchers Should Monitor ● Per-subnet Nakamoto coefficients & provider concentration ● Independent replica implementations or independent upgrade-review parties ● 3rd-party threshold crypto & ck-token minter audits · NNS voting distribution & default-following share ● Burn-vs-mint ratio through cycles · ckBTC/ckETH TVL relative to subnet decentralization

Genuine Differentiators (Real)

  • • Threshold crypto: no full private key exists anywhere
  • • Deterministic BFT finality in ~1–2s (no reorgs)
  • • Bridge-free ckBTC/ckETH, 0 losses since launch
  • • Subnet fault isolation (not network-wide)
  • • DC/jurisdiction distribution enforced by protocol
  • • Full-stack on-chain hosting + governance recovery

Structural Weaknesses (Real)

  • • ONE replica implementation, no client diversity
  • • Permissioned, identified, legible node provider set
  • • ~100s of nodes vs ETH's ~10⁶ validators
  • • NNS can change ALL code by design (capture=game over)
  • • Provider independence is attested, not cryptographic
  • • DFINITY authors nearly all protocol proposals

The Honest Framing

  • • "Tamperproof" is marketing, not engineering
  • • Every system is secure relative to a threat model
  • • ICP = thoughtfully engineered, cryptographically sophisticated
  • • Security strong under explicit, currently plausible assumptions
  • • Different trust profile vs permissionless chains, heavier in some ways
  • • Risk TRANSFORMATION, not elimination (especially ckBTC)

◆ Critical: NNS Governance Concentration

NNS can upgrade ALL node software by design. DFINITY authors most proposals. Most voters follow default neurons. Effective review is done by very few. Mechanism is decentralized; practice is concentrated. Soft centralization is the realistic concern, not hostile capture.

◆ Critical: Single Replica Implementation

Every node runs the same DFINITY-built replica. A common software bug is a common point of failure. BTC/ETH benefit from multiple client implementations. A second independent replica would meaningfully strengthen the security claim.

◆ Critical: Threshold ECDSA Correctness

Backs ckBTC and ckETH custody. Subtle distributed-protocol bugs, biased randomness in DKG, or side-channel leakage could threaten custodied funds. Threshold sig implementations historically have subtle bugs industry-wide. Low probability, catastrophic consequence.

◆ Medium: Provider Independence

Permissioned, identified set. Independence is an attested claim, not cryptographic guarantee. Sybil-style fraud (one entity as 2+ providers), collusion, regulatory compulsion all possible. Total node count in low-to-mid hundreds vs hundreds of thousands elsewhere.

◆ Medium: Economic Sustainability

Burn-vs-mint tokenomics untested through prolonged bear market. Node rewards are minted, if inflation exceeds cycle burn, long-run security spending depends on token issuance. Critics compare unfavorably to fee-driven security budgets.

◆ Medium: Cross-Chain Trust Inheritance

ckBTC/ckETH inherit ICP's FULL trust stack. Consensus compromise, threshold sig flaw, or minter logic bug each threaten custodied funds. Design removes bridge-operator trust and replaces it with ICP-protocol trust. Risk transformation, not elimination.

◉ Operational: App-Layer Exploits

Most common practical failure mode on every chain. Reentrancy across async inter-canister calls, missing caller auth, cycle-drain vectors, unbounded growth. Platform security ≠ dapp trustworthiness. Per-dapp responsibility.

◉ Operational: Upgrade State Loss

Incompatible stable variable changes can trap or silently discard state. Most frequent operational pitfall for ICP teams. Additive-only schema evolution is canonical mitigation. RB's Back Alley hit exactly this class.

◉ Operational: Cycle Drain

Canisters that pay for their own compute can be drained via unbounded ingress. Known defensive patterns: ingress message inspection and rate limiting. Practical, documented concern with established mitigations.

ARLI membership: the notes from the workshop

One site of yours, measured, with the price for the work in the same document

ARLI, Inc., a Delaware corporation. Questions: hq@arliwork.com.