When a strategy has locked funds, the vault's withdrawal logic recalculates the user's payout based on the vault's current token balance rather than the originally requested amount, so the loss check passes even though the user receives far less than expected. A withdrawing user can have all their shares burned while receiving an arbitrarily small amount of tokens.
The LQTYStaking contract's reward distribution logic rounds down when calculating rewards per staked LQTY, causing small collateral fees to be lost and locked in the contract. An attacker could not directly exploit this, but stakers lose rewards that remain forever locked.
The Tellor oracle feed for ETH/USD on Optimism updates infrequently, so an attacker could cheaply dispute the few existing price reports to stall the oracle for hours. If Chainlink is also down, the attacker could use a flash loan to exploit the stale price and profit at the protocol's expense.
The _harvestCore() function subtracts the loss from the return on investment (roi) after already accounting for the loss when calculating the profit, causing the loss to be counted twice. This leads to incorrect reporting data and potentially incorrect debt calculations.
The redemption function checks that the redeemer's LUSD balance is not greater than the total LUSD debt for that collateral type, an invariant that only holds in single-collateral systems. In a multi-collateral system, an attacker can send a small amount of LUSD to the last remaining trove holder, pushing their balance above the collateral's debt and preventing them from redeeming.
A lower-privileged strategist could reverse a guardian's emergency exit by calling updateStrategyAllocBPS with a non-zero value, causing the strategy's debt to be reduced and an incorrect profit to be recorded on the next harvest. This inflated the vault's share price, leading ActivePool to record a false profit that was distributed to Treasury, Staking Pool and Stability Pool, allowing depositors and stakers to withdraw funds and causing a loss of ActivePool's collateral.
The harvest function in a strategy contract could revert when there is no position on the Aave lending pool because Aave does not allow zero-amount withdrawals. This could prevent the strategy from liquidating positions during an emergency, potentially locking funds.
The contract's locked profit calculation uses the current degradation rate over the entire period since the last report, so changing that rate retroactively alters how much profit is considered unlocked. A malicious depositor could front-run the admin's rate change with a large deposit to capture extra yield that was not previously available.
The upgradeProtocol function allows a new protocol version to share the same LUSD token while using a different oracle, which can create price discrepancies between the old and new systems. An attacker could exploit these differences through redemption arbitrage, potentially extracting value and increasing peg risk.
The LUSDToken contract lacks the DOMAIN_SEPARATOR() function required by ERC2612, which could make it easier for attackers to replay valid signatures across chains or contracts.
The ActivePool's rebalance function assumes the vault's shares are always worth at least the recorded allocated amount, so if the strategy incurs any loss, the subtraction underflows and reverts. This prevents any rebalancing until the shortfall is fully covered.
The product factor P in the stability pool can become zero after a few liquidations with small product factors, despite an assertion that it should never be zero. This causes a denial of service for certain liquidations, preventing the protocol from clearing bad debt.
The ReaperVaultERC4626 vault's withdraw and redeem functions do not revert when a strategy incurs a loss, so the assets received can be less than the assets requested. This violates the EIP-4626 standard and could cause integration problems, including loss of funds.
An attacker can cause a denial of service by directly transferring assets to the ReaperVault, which makes the ActivePool's rebalance logic underflow and revert. This disables core protocol functions such as opening and closing troves until the team manually transfers enough assets to fix the underflow.
The function that updates the last fee operation time sets it to the current block timestamp instead of advancing it by the whole minutes actually used for decay, so the borrowing base rate decays more slowly than intended. An attacker could exploit this to keep borrowing fees artificially low, though the text does not describe an active attack.
ER
Ethos Reserve contest
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.