Code4rena
Rubicon v2
Every publicly disclosed report for Rubicon v2 and what kind of bugs they were.
- disclosed reports
- 89
- most reported class
- Business logic
- bug classes found
- 6
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Rubicon v2 chose to make public.
-
Position._borrowLimit doesn’t use exisiting collateral in case if user doesn’t have any _bathToken
Business logic Medium Audit finding
-
Incorrect reward duration extension in notifyRewardAmount function
Business logic Medium Audit finding +1 collaborator
-
Attack on rounding errors to get risk free profit
Smart contracts Medium Audit finding +6 collaborators
-
User can possess less value than before when V2Migrator.migrate function is called to give up bathTokenV1 tokens and hold bathTokenV2 tokens
Business logic Medium Audit finding +5 collaborators
-
Users might get less assets than expected upon migration due to price manipulation attacks
Business logic High Audit finding
-
Some offers can’t be cancelled
Business logic High Audit finding +14 collaborators
-
The _matcho() is not implemented properly
Business logic Medium Audit finding +2 collaborators
-
Potential infinite loop in _borrowLimit function
DoS Medium Audit finding +5 collaborators
-
Zero reward rate calculation impedes low-decimals token distributions
Medium Audit finding +15 collaborators
-
The return value of buyAllAmount is incorrect
Business logic Medium Audit finding +3 collaborators
-
Calling Position._marketBuy and Position._marketSell functions that calculate _fee by dividing by 10000 can cause incorrect calculations
Medium Audit finding +40 collaborators
-
Incorrect fee handling in Position.sol's Market Buy / Sell functions
Business logic Medium Audit finding +23 collaborators
-
When opening a position, the collateral of the previous position is used for borrowing, which makes the user more easily liquidated
Business logic High Audit finding
-
FeeWrapper fails to handle ETH payment refunds
Smart contracts High Audit finding +4 collaborators
-
Wrong calculation of repayment amount in Position contract
Business logic High Audit finding +2 collaborators
-
The last borrowed asset will not be collateralized and the user may be liquidated due to insufficient collateral
Business logic High Audit finding +1 collaborator
-
BathBuddy contract should implement methods to pause and unpause contract
Access control Medium Audit finding +14 collaborators
-
Calling Position._marketSell function compares fill_amt that includes fee to min_fill_amount that does not include fee
Business logic Medium Audit finding +1 collaborator
-
Cannot close leveraged positions
Business logic Medium Audit finding +2 collaborators
-
The curve of short leverage position is not smooth and may cause users to open positions that are different from expectations
Business logic Medium Audit finding
-
RubiconMarket: buy() may not take any fee for tokens with low decimal precision
Business logic Medium Audit finding +4 collaborators
-
Position contract allows to interact with positions that are liquidated
Business logic Medium Audit finding
-
A liquidated position possibly cannot be closed
Business logic Medium Audit finding +3 collaborators
-
BathBuddy rewards DoS
DoS Medium Audit finding
-
Incorrect calculations can occur when calling Position._marketBuy and Position._marketSell functions that do not include maker fee in _fee
Business logic Medium Audit finding +13 collaborators
-
Calling ExpiringMarket.stop and ExpiringMarket.isClosed functions cannot pause any functionlities of the market
Business logic Medium Audit finding +41 collaborators
-
Use of block.number leads to incorrect interest calculations
Business logic Medium Audit finding +4 collaborators
-
Both buyAllAmountWithLeverage and sellAllAmountWithLeverage always revert
DoS Medium Audit finding +1 collaborator
-
First depositor bug on unmodified Compound fork
Smart contracts High Audit finding +5 collaborators