Toutes les vulnérabilités
CRITICALWeb3

WEB3-HARMONY-HORIZON-2022

Web3 · Ethereum · Harmony Horizon Bridge

Résumé

On June 24, 2022, Harmony's Horizon bridge was exploited for approximately $99.7 million. The Ethereum-side bridge was secured by a 5-validator multisig configured at a low 2-of-5 threshold, so compromising just two keys gave full control of the funds. Per Harmony's post-mortem the private keys were not stored in plaintext but were doubly encrypted via a passphrase and a key management service, with no single machine holding multiple plaintext keys; the attacker nonetheless breached Harmony's hot signing infrastructure and was able to access and decrypt several keys, including those used to sign the unauthorized transfers, because the decryption capability lived within reach of the compromised environment. With two decrypted keys meeting the threshold, the attacker signed and confirmed the drain across 11 transactions (the 2 refers to the signature threshold, not the transaction count). The FBI and Elliptic attributed the theft to North Korea's Lazarus Group (APT38); the stolen assets were swapped to Ether and laundered through Tornado Cash and later RAILGUN.

Comment l’éviter dans votre code

  • Raise the signing threshold well above 2-of-5 and pair it with independent signer custody.
  • Hold signer keys in HSMs or hardware wallets so plaintext keys never exist on networked hot machines.
  • Split signers across separate operators and jurisdictions so one infrastructure breach cannot reach a quorum.
  • Add withdrawal rate limits, time-locks, and large-transfer circuit breakers requiring multi-party manual release.
  • Continuously monitor bridge outflows with alerting; treat any quorum-sized signing burst as an incident trigger.

Références

Vulnérabilités liées

Tout Web3 →