Blockchain security for teams that run nodes
A blockchain secures its ledger through cryptography and consensus, but the keys, nodes and servers around it are ordinary infrastructure. That surrounding layer is where most real losses happen.
What does the blockchain itself protect?
The integrity and ordering of transactions. Each block references the hash of the one before, transactions are signed with private keys, and consensus rules, such as proof of stake, make rewriting history extremely expensive. As long as a chain's consensus is healthy, a confirmed transaction cannot be quietly altered. What the chain cannot protect is a stolen key, a buggy contract or a misconfigured server: it will faithfully record whatever a valid signature authorises.
Where do most losses come from?
From keys and code rather than broken cryptography. Private keys exposed on internet-facing servers, seed phrases stored in plain files or chat messages, phishing of team members, flawed smart contracts and compromised front ends account for most incidents. A node operator's job is to make sure the infrastructure they run is not the weak link.
| Risk | Example | Main defence |
|---|---|---|
| Key theft | Hot wallet key read from a compromised host | Keep keys off servers that face the internet; use remote signers |
| Exposed RPC | Admin or personal namespaces open to the world | Bind to loopback, proxy with authentication |
| Slashing | Same validator key running on two machines | One active signer, slashing protection database |
| Contract bugs | Re-entrancy or access control flaws | Audits, tests, limited upgrade keys |
| Supply chain | Tampered client binary | Verify signatures and checksums of releases |
How should keys be kept?
Separated by purpose and exposure. Funds that are not needed for daily operations belong in cold storage or multi-signature wallets whose keys never touch a server. Validator signing keys must be online, so isolate them: a remote signer such as Web3Signer on a separate host, reachable only over a WireGuard tunnel from the validator client, keeps the key away from the machine that talks to the public peer network. Hardware security modules are another option, covered in Hardware security modules; we do not rent HSM devices, so on our servers keys live in software, encrypted at rest, with strict access.
How do I avoid slashing?
Never run the same validator key in two places at once. Most slashing incidents happen during migrations or failovers, when an old machine comes back online while a new one is already signing. Keep the slashing protection database with the key, export and import it when moving, and make sure the old client is stopped and disabled before the new one starts.
systemctl disable --now validator.service lighthouse account validator slashing-protection export /root/slashing-interchange.json # copy the file, import it on the new host, then start the new validator only
How should node RPC be exposed?
As narrowly as possible. Bind execution and consensus APIs to loopback or tunnel addresses, publish public RPC only through a reverse proxy with authentication and rate limits, and block administrative and personal namespaces at the proxy. Peer-to-peer ports stay open; everything else stays closed in the host firewall. Our Web3 infrastructure page shows a proxy configuration.
What operational habits matter?
Verify the signature or checksum of every client release before installing. Update promptly around network upgrades, after reading release notes. Use named accounts and SSH keys for administrators, with a second factor. Monitor for missed attestations or blocks, peer count and disk space, because a full disk stops a node at the worst moment. Rehearse failover with slashing protection in mind, so nobody improvises at night.
Which machines suit secure node setups?
Separate roles on separate machines: a node host with fast NVMe, such as ESSENTIAL-XL at $212.40 a month, and a small signer or monitoring host, such as ESSENTIAL-1 at $38.40, in a different data centre. DDoS filtering is included with every machine. Read Blockchain node servers for node sizing.
Machines for node and signer roles
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-1 | Intel Xeon-E 2386G | 6 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $38.40 |
| ESSENTIAL-L | AMD Ryzen 9 9950X | 16 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-XL | AMD EPYC TURIN 9455 | 48 | 128 GB | 2x 1.92 TB SSD NVMe | 1 Gbps unmetered | $212.40 |
| BUSINESS-3 2024 | AMD EPYC 4464P | 12 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $141.60 |
Related pages
Blockchain node servers
Run full nodes, archive nodes, validators and RPC endpoints on bare metal with fast NVMe, plenty of memory and unmetered ports.
Read moreWeb3 infrastructure
Host RPC endpoints, indexers and content-addressed storage on bare metal: disk growth, port rules, rate limits, sync strategy and machine choice per role.
Read moreHardware security modules
What an HSM is, how it keeps keys from ever leaving tamper-resistant hardware, PKCS#11 and key ceremonies, and the software alternatives on rented servers.
Read moreHardening a new dedicated server
The first hour on a fresh machine: SSH keys, a firewall, automatic updates, brute force blocking and a habit of checking what listens.
Read moreQuestions and answers
Is blockchain technology itself secure?
A healthy chain makes confirmed transactions very hard to alter. Most losses come from stolen keys, contract bugs and weak infrastructure.
How do validators avoid slashing?
Run each validator key on only one machine at a time and carry its slashing protection database across migrations.
Should private keys be stored on a node server?
Only signing keys that must be online, ideally on a separate remote signer reachable through a tunnel, never spending keys for treasury funds.
Do you rent hardware security modules?
No. Keys on our servers live in software, encrypted at rest, or in a remote signer you control.
How should a blockchain node RPC be secured?
Bind it to loopback, publish it through an authenticated, rate-limited proxy and block admin namespaces.