Hunt prep
Before you test Aloe
What 14 disclosed reports say about Aloe: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 12 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Lender.sol: Incorrect rewards accounting for RESERVE address in _transfer function
The RESERVE address should be special-cased in _transfer to call _load, _save, and Rewards.updatePoolState so that reward accounting is correct.
Disclosed
-
Bad debt liquidation doesn't allow liquidator to receive its ETH bonus (ante)
The code should verify the bad debt situation and not force a swap that will fail, so that liquidation can repay whatever assets the account still has and give the liquidator its full bonus.
Disclosed
-
governor can permanently prevent withdrawals in spite of being restricted
The SafeRateLib should enforce a minimum interest rate as utilisation approaches 100%.
Disclosed
-
Liquidation process is flawed. missing incentive to call warn
The issue was fixed in a pull request.
Disclosed
-
Oracle.sol: observe function has overflow risk and should cast to uint256 like Uniswap V3 does
The code was fixed by adding the missing uint256 cast, as confirmed in the pull request.
Disclosed
-
The whole ante balance of a user with a very small loan, who is up for liquidation can be stolen without repaying the debt
The code should check that the repayment amount is not zero before transferring collateral, and should cap the strain value.
Disclosed
-
Uniswap Aggregated Fees Can be Increased at Close to Zero Cost
The issue was fixed by lowering the IV_CHANGE_PER_UPDATE constant and considering a median-based fee calculation in a later improvement.
Disclosed
-
In some situations the liquidation can become unprofitable for liquidators, keeping unhealthy positions
The incentive should be based on a conservative estimate of the swap amount, such as the maximum required at average price ±5%, rather than the current price.
Disclosed
-
Courier can be cheated to avoid fees
The deposit function should check whether the provided courier will be set and revert early if not.
Disclosed
-
IV Can be Decreased for Free
The IV calculation should use the time-weighted average liquidity of in-range ticks over a recent period, so that single-block deposits cannot manipulate it.
Disclosed
-
Uniswap Formula Drastically Underestimates Volatilty
The issue was fixed by changing how quickly implied volatility can increase versus decrease, reducing average error from -29% to -14%.
Disclosed
-
It is possible to frontrun liquidations with self liquidation with high strain value to clear warning and keep unhealthy positions from liquidation
The warning status should only be cleared if the account is healthy after liquidation.
Disclosed