Skip to content

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
Find Rubicon v2 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Rubicon v2 chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Position._borrowLimit doesn’t use exisiting collateral in case if user doesn’t have any _bathToken Business logic Medium – – – 17 Feb 2025
Due to the loss of precision, openPosition will make the user’s leverage higher than expected – High – – – 17 Feb 2025
Incorrect reward duration extension in notifyRewardAmount function Business logic Medium – – – 17 Feb 2025
Attack on rounding errors to get risk free profit Smart contracts Medium – – – 17 Feb 2025
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 – – – 17 Feb 2025
Users might get less assets than expected upon migration due to price manipulation attacks Business logic High – – – 17 Feb 2025
Some offers can’t be cancelled Business logic High – – – 17 Feb 2025
The _matcho() is not implemented properly Business logic Medium – – – 17 Feb 2025
Potential infinite loop in _borrowLimit function DoS Medium – – – 17 Feb 2025
Zero reward rate calculation impedes low-decimals token distributions – Medium – – – 17 Feb 2025
The return value of buyAllAmount is incorrect Business logic Medium – – – 17 Feb 2025
Calling Position._marketBuy and Position._marketSell functions that calculate _fee by dividing by 10000 can cause incorrect calculations – Medium – – – 17 Feb 2025
Incorrect fee handling in Position.sol's Market Buy / Sell functions Business logic Medium – – – 17 Feb 2025
When opening a position, the collateral of the previous position is used for borrowing, which makes the user more easily liquidated Business logic High – – – 17 Feb 2025
FeeWrapper fails to handle ETH payment refunds Smart contracts High – – – 17 Feb 2025
Wrong calculation of repayment amount in Position contract Business logic High – – – 17 Feb 2025
The last borrowed asset will not be collateralized and the user may be liquidated due to insufficient collateral Business logic High – – – 17 Feb 2025
BathBuddy contract should implement methods to pause and unpause contract Access control Medium – – – 17 Feb 2025
Calling Position._marketSell function compares fill_amt that includes fee to min_fill_amount that does not include fee Business logic Medium – – – 17 Feb 2025
Cannot close leveraged positions Business logic Medium – – – 17 Feb 2025
The curve of short leverage position is not smooth and may cause users to open positions that are different from expectations Business logic Medium – – – 17 Feb 2025
RubiconMarket: buy() may not take any fee for tokens with low decimal precision Business logic Medium – – – 17 Feb 2025
Position contract allows to interact with positions that are liquidated Business logic Medium – – – 17 Feb 2025
A liquidated position possibly cannot be closed Business logic Medium – – – 17 Feb 2025
BathBuddy rewards DoS DoS Medium – – – 17 Feb 2025
Incorrect calculations can occur when calling Position._marketBuy and Position._marketSell functions that do not include maker fee in _fee Business logic Medium – – – 17 Feb 2025
Calling ExpiringMarket.stop and ExpiringMarket.isClosed functions cannot pause any functionlities of the market Business logic Medium – – – 17 Feb 2025
Use of block.number leads to incorrect interest calculations Business logic Medium – – – 17 Feb 2025
Both buyAllAmountWithLeverage and sellAllAmountWithLeverage always revert DoS Medium – – – 17 Feb 2025
First depositor bug on unmodified Compound fork Smart contracts High – – – 17 Feb 2025