Hedgey Hack
Incident Overview
The Hedgey Finance-related contract was drained of approximately 2 million USD.
The exploiter utilized the Balancer Vault flash loan exploit to target the victim contract, abusing the createLockedCampaign function. This enabled them to withdraw a substantial amount of USDC (1,303,910) and NOBL (680,000) tokens. Furthermore, it appears that the vulnerability in the victim contract was exploited by other malicious actors unrelated to the main exploiter.
After that, all tokens were swapped to DAI and sent to another EOA.
Exploiter:
https://etherscan.io/address/0xded2b1a4…81dda2
Flashloan tx:
https://etherscan.io/tx/0xa17fdb80…5aa517
Exploiter contract:
https://etherscan.io/address/0xc793113f…1bf2b3
USDC drain:
https://etherscan.io/tx/0x2606d459…595739
NOBL drain:
https://etherscan.io/tx/0x7cd6fc13…207bd3
Finally, funds held by:
https://etherscan.io/address/0xd84f48b7…5ada46
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 Hedgey, these are the critical security checks that could have prevented this incident (April 2024).
- Verify all logic paths related to Claim Contract Flashloan Exploit / Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans 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 TrialSecurity Audit History
- Audit Report 1 Report
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next Hedgey
The Hedgey 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.