Lack of reentrancy guards during WToken unwrapping allows recursive attacks.
When users call redeemWToken
, the contract burns WTokens, withdraws aTokens from Aave, and transfers collateral. An attacker could re-enter the function during the transfer
step to drain funds.
Loss of user collateral due to reentrant withdrawals.
Slither reentrancy detector, manual analysis.
Use OpenZeppelin’s ReentrancyGuard
on redeemWToken
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.