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.
-
First depositor bug on unmodified Compound fork
Smart contracts High Audit finding +5 collaborators
-
Fee inclusivity calculations are inaccurate in RubiconMarket
Business logic Medium Audit finding +31 collaborators
-
Low level calls to accounts with no code will succeed in FeeWrapper
Smart contracts Medium Audit finding +8 collaborators
-
Rewards for initial period may be lost in BathBuddy contract
Business logic Medium Audit finding
-
RubiconMarket batchOffer and batchRequote make offers as self; complete loss of funds for some types of tokens, for example WETH
Access control High Audit finding +10 collaborators
-
Position doesn’t distribute rewards to users
Business logic High Audit finding +3 collaborators
-
No deadline parameter in sellAllAmount() and buyAllAmount() functions:
Business logic Medium Audit finding +1 collaborator
-
Missing a check for minimum sell amount at the make function
Business logic Medium Audit finding +1 collaborator
-
Some positions will get liquidated immediately
Business logic High Audit finding +5 collaborators
-
Reward accounting is incorrect in BathBuddy contract
Smart contracts High Audit finding +50 collaborators
-
REENTRANCY ATTACK POSSIBLE IF THE _feeTo IS A MALICIOUS CONTRACT IN FeeWrapper._chargeFeePayable() FUNCTION
Smart contracts Medium Audit finding +4 collaborators
-
RubiconMarket._buys will not work for V1 offers due to the reversion in cancel method.
Business logic High Audit finding +3 collaborators
-
An attacker can steal all RubiconRouter funds
Business logic High Audit finding
-
DOS of market operations with malicious offers
DoS High Audit finding +43 collaborators
-
An attacker can steal all tokens of users that use FeeWrapper
Access control High Audit finding +16 collaborators
-
Attacker could steal almost all the bonus tokens in BathBuddy Vesting Wallet
Business logic High Audit finding
-
RubiconRouter: Offers created through offerWithETH() can be cancelled by anyone
Access control High Audit finding
-
Use safeTransfer() / safeTransferFrom() instead of transfer() / transferFrom()
Business logic Medium Audit finding
-
Use call() instead of transfer() when transferring ETH in RubiconRouter
Smart contracts Medium Audit finding
-
BathToken.sol#_deposit() attacker can mint more shares with re-entrancy from hookable tokens
Smart contracts High Audit finding
-
Wrong DOMAIN_SEPARATOR
Crypto Medium Audit finding
-
USDT is not supported because of approval mechanism
Smart contracts Medium Audit finding
-
No Storage Gap for Upgradeable Contracts
Smart contracts Medium Audit finding
-
Early funds withdrawers can get bonus in multiples of vested bonus tokens (e.g. 2-times, 3-times, etc.)
Business logic Medium Audit finding
-
Centralized risks allows rogue pool behavior in BathToken.
Access control Medium Audit finding
-
Strategists can take more rewards than they should using the function strategistBootyClaim().
Business logic Medium Audit finding
-
Possible token reentrancy in release() of BathBuddy.sol
Race condition Medium Audit finding
-
User will loose funds
Business logic Medium Audit finding
-
RubiconMarket.feeTo set to zero-address can DoS buy function
DoS Medium Audit finding
-
Lack of Access Control for offer(uint, ERC20, uint, ERC20) and insert(uint, unint)
Access control Medium Audit finding