Threat surface by layer
| Layer | Asset at risk | Primary defence | Recovery |
|---|---|---|---|
| Identity | DID private key | Hardware-isolated keystore, FROST threshold for MHR | Recovery ceremony with guardian threshold |
| Consensus | Chain liveness and safety | MACA 2f+1 quorum, Tower epoch lock | Tower checkpoint + operator restart |
| Execution | State integrity | Native typed executor, deterministic Wasmtime | Slashing of equivocating validators |
| Settlement | State durability | WAL, fsync-tight commits, content-addressed snapshots | Snapshot restore + WAL replay |
| Operational | Validator and RPC infrastructure | Per-host hardening, segmented network, monitoring | Incident runbooks under Operate tab |
Validator economics
Validators are economically bound through three mechanisms:- Bonded stake. Required to be in the active set. Slashed for misbehaviour.
- Publisher bond. Posted per block proposal. Refunded on finalisation, slashed on invalid blocks.
- Generation decay. Agent-operated validators earn at
β = 0.85^dof the human-operated rate, concentrating reward and accountability at the human root.
| Offence | Penalty | Notes |
|---|---|---|
| Equivocation | 5.0% + 30-day jail | Provable from own signatures. |
| Invalid block | 1.0% + jail until next epoch | Detected by state-root mismatch. |
| Downtime | 0.01% per epoch over threshold | Threshold is >5% of rounds missed. |
| Long-range attack (Tower) | 100% of bonded stake | Accountable safety via Tower evidence. |
Key isolation
Validator signing keys are held in hardware-isolated keystores (HSM, Nitro Enclaves, or AWS KMS-backed signers). The validator process exposes a thin signing API; the raw key material never enters the process. Recommended hardware:- AWS Nitro Enclave with KMS integration.
- YubiHSM 2 connected over the validator’s air-gapped management plane.
- Google Cloud HSM (FIPS 140-2 Level 3).
RPC security
Public RPC endpoints expose a sanitised, profile-restricted method table. Internal methods (block production, peer management, log inspection) are not reachable from the public surface. The RPC profile system is enforced innode/sigil-rpc/src/profiles.rs and exercised by node/sigil-node/tests/rpc_conformance.rs.
Rate limits and DDoS posture are documented in the RPC endpoints runbook and DDoS protection.
Recovery posture
| Failure | Recovery path |
|---|---|
| Lost user key | Recovery ceremony with guardian threshold under 30-day timelock. |
| Slashed validator | Re-bond after jail; balance is reduced by slashing percentage. |
| State corruption | Snapshot restore at the last finalised epoch. |
| Long-range fork | Tower evidence + governance-coordinated restart. |
| RPC outage | Direct (no-middlebox) endpoint remains available. |
Out-of-scope threats
The current security model does not protect against:- Side-channel attacks on validator hardware (out-of-band power, timing, EMI).
- Validator collusion exceeding 1/3 of stake. Tower’s accountable safety attributes blame but cannot prevent.
- Off-chain Weave-pinned content censorship by storage providers (mitigated by the storage marketplace’s challenge mechanism).
- Cross-chain bridge security; bridges are an explicit non-goal for v1.0.