Gandalf The Grey Hack
Incident Overview
Gandalf the Grey project was rugpulled, with a loss of 141 $ETH, equating to 266,238 $USD, through liquidity removal.
GAN is an ERC20 token, trading on UniSwap. The project fell victim to an exit scam as the token deployer removed liquidity from the pool. This action resulted in a loss of 141 $ETH, which was worth around 266,238 $USD at the time of the incident.
The stolen funds were transferred through a couple of EOA addresses. In addition, part of the stolen funds was distributed via CoinTool, adding another layer of complexity to the scam.
Scammer Address:
https://etherscan.io/address/0xb221582a…fc7de8
Funds Holder Address:
https://etherscan.io/address/0x9c5f9de4…96cbeb
Liquidity Removal Transaction:
https://etherscan.io/tx/0x19e96c9c…9aac0b
Funds Transfer Transactions:
https://etherscan.io/tx/0x4d5ea3ed…c94671
https://etherscan.io/tx/0xc2f7beb7…b6656d
Incident Report
Protocol Information
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 Gandalf The Grey, these are the critical security checks that could have prevented this incident (July 2023).
- Verify all logic paths related to Rugpull are guarded by proper access controls and input validation
- 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 TrialSources & References
Learn to Prevent the Next Gandalf The Grey
The Gandalf The Grey 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.