Hunt prep
Before you test Ethos Reserve contest
What 17 disclosed reports say about Ethos Reserve contest: 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.
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.
-
User can lose up to whole stake on vault withdrawal when there are funds locked in the strategy
The check should be based on the initial value before capping, and shares should be adjusted to the real value obtained, as done in Yearn.
Disclosed
-
Rewards will be locked in LQTYStaking Contract
The contract should track the rounding error (like lastLQTYError) and carry it forward to avoid losing small fees.
Disclosed
-
Low data feed frequency from Tellor makes your protocol vulnerable to flash loan attacks
The report recommends funding Tellor feeds with tips to increase update frequency or not using Tellor as a fallback oracle.
Disclosed
-
_harvestCore() roi calculation error
The recommended mitigation is to remove the line that subtracts the loss from roi.
Disclosed
-
Last Trove may be prevented from redeeming
The check should be removed because the invariant no longer applies in a multi-collateral system.
Disclosed
-
updateStrategyAllocBPS() can cause loss of ActivePool’s collateral during an emergency exit
The fix is to block all changes to a strategy's allocBPS after setEmergencyExit has been called, for example by moving the emergency exit flag into the vault and checking it in updateStrategyAllocBPS.
Disclosed
-
ReaperBaseStrategyv4.harvest() might revert in an emergency.
The withdrawal function should check if the withdrawal amount is zero and skip the call to Aave in that case.
Disclosed
-
In ReaperVaultV2 , we should update lockedProfit and lastReport before changing lockedProfitDegradation
The setter should first update the locked profit and last report time using the old rate, then apply the new degradation rate.
Disclosed
-
upgradeProtocol can create Peg Risk via Oracle Price Arbitrage
The oracle should be the same for the same collateral across both systems, or the migration pattern should be changed to one based on Zaps to reduce risk.
Disclosed
-
DOMAIN_SEPARATOR() is missing in LUSDToken.sol
The contract should strictly follow the ERC2612 specification and correctly implement the DOMAIN_SEPARATOR.
Disclosed
-
If the strategy incurs a loss the Active Pool will stop working until the shortfall is paid out entirely
A slashing mechanism should be added to reconcile the deposited value with the slashed value, or a shortfall fund could be instituted to cover losses.
Disclosed
-
P can be updated to zero which can cause a DOS when liquidating troves
The scale factor should be increased to 1e18, or the rounding-error mitigation for P should be redesigned.
Disclosed
-
ReaperVaultERC4626 is not EIP-4626 compliant and integrations can result in loss of funds
The withdraw and redeem functions should be modified to revert if the value transferred is not equal to the assets withdrawn.
Disclosed
-
DOS by directly transferring assets to Reaper Vault
The report recommends changing ReaperVaultERC4626 withdraw to round down instead of up; the team confirmed the issue as medium and stated they will remove the ERC4626 interface since the vault will be private.
Disclosed
-
lastFeeOperationTime is not modified correctly in function _updateLastFeeOpTime() , resulting a much slower decay model for borrowing base rate
The update should advance lastFeeOperationTime by the whole minutes actually consumed by the decay calculation rather than setting it to the current timestamp.
Disclosed