Skip to content

Code4rena

OpenLeverage contest

Every publicly disclosed report for OpenLeverage contest and what kind of bugs they were.

disclosed reports
6
most reported class
Business logic
bug classes found
3
first disclosure
2022
Find OpenLeverage contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what OpenLeverage contest chose to make public.

Smart contracts

Missing payable

A function in a smart contract uses msg.value but is not marked payable, so users cannot send native ether to it. This prevents users from adding reserves using native ether.

OpenLeverage contest

Medium
Business logic

anti-flashloan mechanism may lead to protocol default

A price check meant to block flash-loan attacks could prevent liquidations during a sustained market downturn, leaving the protocol under-collateralised. An attacker could not directly exploit this, but the design flaw could cause bad debt for lenders.

OpenLeverage contest

Medium
Business logic

UniV2ClassDex.sol#uniClassSell() Tokens with fee on transfer are not fully supported

The uniClassSell function in a Uniswap V2-style DEX wrapper trusted the output amount calculated by getAmountOut instead of measuring the actual received amount, so tokens with transfer fees could cause the user to receive less than the specified minimum. An attacker could exploit this to cause value leakage through increased slippage.

OpenLeverage contest

Medium