Cross-chain bridges allow assets to be transferred between different blockchain networks, and many of them rely on centralized relayers (external services that watch for events on one network and relay messages to another). The convenience of this scheme becomes a vulnerability: all data transmission passes through one or several trusted organizations, creating a single point of failure. That is precisely why relayers are an attractive target for attackers. The Wormhole bridge hack of 2022, which resulted in significant losses, vividly showed what happens when a centralized component is compromised.
When a bridge's operation depends on a few trusted operators, the risk profile becomes heavily concentrated. Getting to those relayers is enough to disrupt the bridge, steal assets, or corrupt state on both networks simultaneously. The scale of potential losses makes understanding and mitigating these risks a top priority.
For protocol engineers and security analysts, protecting relayer infrastructure must come first. A mature strategy has two parts: decentralizing relayer functions wherever possible, and implementing rigorous monitoring and access control mechanisms. Only proactive measures protect user funds and maintain the integrity of interconnected ecosystems.
MECHANICS
A centralized relayer typically operates as an external service that monitors specific smart contract events on the source network. When it detects a relevant event, such as an asset deposit, the relayer constructs and signs a message attesting to that event. The signed message is then submitted as a transaction to a smart contract on the destination network, triggering the release of corresponding assets.
The relayer service itself can be attacked in several ways. The most direct path is compromising private keys: with those in hand, the attacker forges messages and sends fraudulent confirmations to the destination network. Assets are then minted or withdrawn without any corresponding deposit on the source network, exactly what happened in the Ronin bridge hack of 2022.
Another path is attacking the relayer's operational logic or its communication channels. This includes substituting the data the relayer processes, as well as intercepting and altering messages before they are submitted. In the Wormhole case of February 2022, the attackers bypassed the guardian signature check in the bridge's Solana contract and minted 120,000 wETH with no backing.
To make this clearer, here are two classic attack scenarios and what distinguishes them.
| Scenario | What the attacker does | What breaks |
|---|---|---|
| Key compromise (Ronin, 2022) | Obtains private keys and signs fake confirmations | Assets are minted without a deposit on the source network |
| Data substitution (Wormhole, 2022) | Bypasses signature verification in the bridge contract and slips in a forged message | The destination network mints assets based on a forged message |
In both cases, a single point of control over the relayer becomes a single point of failure: one weak link is enough to move funds to another network.
RISK INDICATORS
The signs listed below, individually and especially in combination, suggest that relayer infrastructure is poorly protected:
- The relayer service operates with a single point of control or is run by a small, unaudited team.
- Access to operational keys is not protected by robust multi-factor authentication or hardware security modules (HSMs, specialized key-storage devices).
- Transactions submitted by the relayer arrive with unusual frequency, volume, or to atypical destinations.
- The smart contracts that release assets on the destination network verify message signatures and event data against source-network state only weakly.
- Monitoring systems alert on performance anomalies or unexpected network activity.
- There is no public documentation on the relayer's operational security practices and incident response plans.
- Communication channels between the relayer and the bridge contracts lack end-to-end encryption and integrity checks.
PROTECTION
The baseline remedy is decentralization: a network of independent relayers removes single points of failure. Each relayer operates with its own key set, and messages go through consensus mechanisms (agreement among participants) before being submitted to the destination network.
Equally important is robust key management. Operational keys should be stored in hardware security modules (HSMs) and protected by multisig schemes (requiring multiple keys to confirm a transaction). Keys must be rotated regularly, and access for all personnel managing the infrastructure must be kept under strict control.
Monitoring sits on top of all this. Observation and alerting systems track relayer activity, transaction volumes, and contract interactions, while configured anomaly detection flags patterns that deviate from normal behavior.
A separate protection layer is regular independent audits of both the relayer software and the associated smart contracts. Specialized security firms find and fix vulnerabilities before they can be used against you.
Finally, bridge contracts on the destination network must rigorously validate every incoming message: signature, event data integrity, and consistency with the state of the source network.
AFTER AN INCIDENT
The first step is containment. The compromised relayer service is disabled and all cross-chain operations are halted to cut off further unauthorized asset movement and limit the attack's scope. An internal investigation is launched in parallel to understand the root cause and extent of the breach.
Next comes notification. The incident is promptly reported to relevant security communities, auditors, and law enforcement. Platforms such as Chainalysis and TRM Labs help track stolen fund flows, and emergency response groups like SEAL 911 provide critical support right during the incident.
Only then comes recovery. This may involve drawing on insurance funds, coordinating with affected users, and strengthening security measures before resuming operations. Transparency with the community throughout the incident response and recovery process is paramount: it is what rebuilds trust.