This major economic exploit arises from assuming Aave’s liquidity remains balanced. In reality, liquidity fluctuates dynamically, and attackers can manipulate skewed conditions to extract unfair payouts.
By monitoring Aave liquidity in real-time, adjusting collateralization dynamically, and capping contributions, the protocol prevents attackers from gaming payout odds.
DIVA pools interact with Aave’s lending pool, assuming neutral liquidity conditions. However, if Aave’s liquidity is imbalanced (e.g., more deposits in one asset than another), attackers can manipulate collateralization ratios to game the system and skew payouts. This results in unfair profit extraction, reducing the yield available for legitimate users.
Aave Liquidity Imbalance Creates Arbitrage Opportunities
The AaveDIVAWrapper integrates with Aave’s liquidity pool.
If one asset is significantly more deposited than another, Aave’s interest rate model skews collateral yields.
Attackers target the imbalanced asset to maximize collateral value.
DIVA Pools Use Static Collateral Assumptions
DIVA pools assume fair collateralization ratios.
The _createContingentPool function does not check Aave’s live liquidity conditions.
Attackers can overcollateralize in favorable conditions, manipulating payout calculations.
Identify an Aave Liquidity Imbalance
The attacker finds an asset with excess liquidity in Aave.
Example: USDT has 90% liquidity utilization, but DAI has 30%.
Aave’s model reduces interest earnings on DAI but maintains high payout on USDT.
Create an Overcollateralized DIVA Pool
The attacker creates a DIVA pool using DAI (the underutilized asset).
Because Aave’s collateral-to-yield ratio is skewed, DIVA assigns more collateral per position.
Manipulate Payouts for Profit
The attacker waits for payout calculations to reflect the skew.
Since DIVA does not dynamically adjust for Aave liquidity, the payout ratio favors the attacker.
The attacker exits with inflated collateral payouts, draining the yield reserves.
🔴 Severity: HIGH
💰 Unfair Profit Extraction: Attackers game collateralization ratios, withdrawing more than expected.
📉 Drained Yield Reserves: Imbalanced payouts reduce funds available for legitimate users.
⚠️ Undermines Protocol Integrity: Exploiting Aave liquidity breaks the fairness of the system.
Check Aave’s Liquidity Imbalance
The attacker checks liquidity conditions.
Example: USDT has 10% available liquidity, DAI has 70%.
Create a Skewed DIVA Pool
The attacker overcollateralizes with DAI (the low-yield asset).
The protocol does not adjust payout ratios based on Aave’s liquidity.
Exit with Skewed Payout
The attacker claims artificially high payouts.
Result
The attacker extracts more than their fair share, draining DIVA’s yield reserves.
Instead of assuming static collateral conditions, fetch live Aave liquidity data:
Abort pool creation if liquidity is skewed.
Use adaptive collateralization to normalize pool payouts:
Prevents overcollateralization exploits.
Limit how much collateral can be used in underutilized pools:
Stops liquidity attacks.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.