XYearn Hack

TOTAL LOST $130K
Low Rugpull ethereum

Summarize with AI

Affected Chain ethereum Incident surface
Recovered - No recovery reported
All-Time Rank #1441 By amount stolen
Protocol Type Exit Scam/Rugpull Target category

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 / Project XYearn
Date of Incident
Affected Chain(s) ethereum
Attack Technique Rugpull
Classification Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gaming / Metaverse / Gam
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exit Scam/Rugpull
Affected Token XYFI
Official Website xyearn.finance/
Protocol Twitter/X @XYearnFinance

Market Context at Time of Hack

Token Categories
Ethereum Ecosystem Polygon Ecosystem Arbitrum Ecosystem Base Ecosystem

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.

Technical Knowledge Deep understanding of rugpull and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with ethereum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in XYearn's contract logic - root cause: gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gaming / metaverse / gam
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Hard to catch — private key / OpSec failures are outside smart contract audit scope

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 Trial

Sources & References

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.

Recreate exploit patterns safely Free Trial