GateHub Hack
Incident Overview
GateHub's XRP Ledger wallets were compromised, resulting in a loss of approximately 23,200,000 XRP (nearly $9.5 million).
GateHub was alerted by its customers and community members about the theft of funds from their wallets. The company initiated an investigation and discovered increased API calls from a few IP addresses, which could be the method the hacker used to access encrypted secret keys. The hack was first noticed when a theft of 201,000 XRP was reported.
The offending account had stolen substantial amounts from several other XRP accounts, likely managed through GateHub. As of June 5, approximately 23,200,000 XRP was stolen from 80–90 victims, of which around 13,100,000 XRP had already been laundered through exchanges and mixer services.
The offending account's address:
https://xrpscan.com/account/r9do2Ar8k64NxgLD6oJoywaxQhUS57Ck8k
Incident Report
Protocol Information
Market Context at Time of Hack
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to GateHub, these are the critical security checks that could have prevented this incident (June 2019).
- Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialRelated Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next GateHub
The GateHub hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.