GDS Chain Hack
What happened
On January 3, 2023, a flash loan attack occurred on the GDS chain, resulting in a total loss of $187,000 and an 84% decline in the price of GDS currency.
The attacker, identified by their address as 0xcf2362, used a flash loan to borrow 2.38 million $USDT and traded 0.6 million $USDT for 3.4 million $GDS tokens using a pancake swap. The attacker then obtained a large amount of LP tokens using the remaining $1.7 million in USDT from the liquidity pool. There was a flaw in the "_lpRewardAmount" calculation function that the attacker misused to collect the profits from the $GDS token contract and then transfer the LP tokens to another contract 70 times to earn higher rewards until the flash loan was repaid.
Attacker’s address: https://bscscan.com/address/0xcf2362b4…de36a7
Attacker’s transaction: https://bscscan.com/tx/0x2bb704e0…bf6694
Attacker’s remaining balance: https://bscscan.com/tokenholdings?a=0xcf2362b4…de36a7
GDS Pool closed after the attack: https://bscscan.com/tx/0x06d23624…0f43dc
10.3M $GDS tokens reward: 0x43b487c
Case & protocol details
Evidence & learning
Attack pattern
Compare incidents →Sources and on-chain records
- report Report blog.solidityscan.com
Practice this exploit pattern safely
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.