XYearn Hack
Incident Overview
The project was holding a fundraising event. The investors' funds were deposited in the external wallet, transaction list:
https://bloxy.info/txs/transfers_to/0x8ebd07ad…09f031?currency_id=1
The collected funds from the fundraising event were distributed between other wallets, example transaction:
https://etherscan.io/tx/0x77d8d0d5…23dcd9
In addition, this external wallet added a small amount into the liquidity at:
https://etherscan.io/tx/0x9cc7d5ce…4be736
https://etherscan.io/tx/0x99c58000…c36966
https://etherscan.io/tx/0xfc07e125…682576
https://etherscan.io/tx/0x98156140…873a93
https://etherscan.io/tx/0xf4a80747…6dad43
The liquidity was removed by the same external wallet at:
https://etherscan.io/tx/0x56066e3f…d21b94
https://etherscan.io/tx/0x61a7b031…6ca8a5
https://etherscan.io/tx/0x762e2b38…7ee542
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 XYearn, these are the critical security checks that could have prevented this incident (October 2020).
- 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
- 01
-
02
de.fi Analysis https://t.me/defiyield_ann/7
Learn to Prevent the Next XYearn
The XYearn 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.