Themis Protocol Hack
What happened
Themis Protocol, an Arbitrum lending protocol, was exploited through manipulation of the price used for a Balancer wstETH/WETH LP position. Security analyses report that the attacker used flash liquidity to distort the pool's balance ratio, causing Themis's LP-price calculation to overvalue a small collateral position. The attacker then borrowed assets beyond the genuine value of that collateral, repaid the flash liquidity, and retained an estimated $365,000 to $370,000 profit.
How it happened
- The attacker obtained 22,000 WETH through Aave flash liquidity and a further 18,000 WETH from two Uniswap V3 pools.
- They used the capital around Themis's Balancer wstETH/WETH LP collateral and swapped a large WETH amount into wstETH, sharply changing the pool's token balance ratio.
- Themis's price-query path valued the LP token from the instantaneous pool token quantities, so the manipulated ratio inflated the reported collateral value.
- Using about 54.6 wstETH worth of LP exposure as collateral, the attacker borrowed 317 WETH and other assets.
- The attacker swapped back, repaid the flash liquidity in the same transaction, and retained the reported profit.
Protocol details
Security review history
- PeckShield No public report
Evidence
Proof of concept
1 availableSources
- report Twitter/X Alert twitter.com
- report Twitter/X Alert twitter.com
- report @peckshield incident report twitter.com
- report @peckshield incident report twitter.com
- report SharkTeam: Analysis of Flash Loan Price Manipulation Attacks on the Themis Protocol medium.com
- analysis DeFiLlama defillama.com
- analysis Themis Protocol Hack Analysis blog.solidityscan.com
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.