Alpha Finance Lab Hack

TOTAL LOST $171K
Low Other

Summarize with AI

Affected Chain 2021 Incident surface
Recovered $171K 100.0% returned
All-Time Rank #1351 By amount stolen
Protocol Type Exploit/Other Target category

Incident Overview

Alpha Finance team received a user report regarding abnormal position value loss in Alpha Homora V2 on Ethereum after the position was opened. Looking at the transaction details, the slippage control values correctly reflected the 1% tolerance, but the LP value still did not conform.

The problem: a Miner Extractable Value (MEV) bot inspected the transaction, bundled the transactions such that the bot could make financial profits, and sent these transactions privately to a particular group of miners who then mined these transactions.

The Uniswap V2 Router contract has implicit assumptions that are not clearly stated on the contract level. Hence, without stating these assumptions, slippage control for some trades on Uniswap V2 may not be checked and may not be taken into account at all in certain scenarios.

These implicit assumptions on Uniswap V2 resulted in 20 addresses on Alpha Homora V2 being impacted and lost a total of 40.93 ETH to miners who extracted this value.

The list of affected addresses:

0xFb8b6a0b…29E159

0xD50f649a…E45593

0xA64e4dCB…dd6982

0x20f9ddFA…019887

0xA6e3475e…8b54f3

0x6A07Ea36…237061

0x6Ce8B65d…f5c584

0xD4ad5d62…Ac8F1D

0x62BfDF76…178DAd

0x5C7c6d06…59E31C

0x7bdfE11c…3791b3

0x5908029c…0C6895

0x203a67b0…F07819

0xB5A9621B…bcDCe6

0xEC0E5e38…63F83f

0x711cd20b…4c2ca1

0x460637bF…7d936a

0xCFd2224B…dE8097

0x10A1ddb3…08008E

0xBBCcf6Ca…cfd59a

All affected addresses were compensated.

Incident Report

Protocol / Project Alpha Finance Lab
Date of Incident
Attack Technique Other
Classification Yield Aggregator
Primary Source View Post-Mortem

Protocol Information

Protocol Type Exploit/Other
Affected Token ALPHA
Official Website alphafinance.io/
Protocol Twitter/X @alphafinancelab
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
DeFi Staking Yield Farming Yield Aggregator Governance Lending & Borrowing Polygon Ecosystem Fantom 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 other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Alpha Finance Lab's contract logic - root cause: yield aggregator
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? Likely — with a thorough Other audit checklist and test coverage

If you're auditing a protocol with similar architecture to Alpha Finance Lab, these are the critical security checks that could have prevented this incident (October 2021).

  • Verify all logic paths related to Other 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

Funds Recovery

100.0%

Recovered

$171K

Net Loss

0

Sources & References

Learn to Prevent the Next Alpha Finance Lab

The Alpha Finance Lab 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