Code4rena
Caviar Private Pools
Every publicly disclosed report for Caviar Private Pools and what kind of bugs they were.
- disclosed reports
- 28
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Caviar Private Pools chose to make public.
-
Factory.create : Predictability of pool address creates multiple issues.
Business logic Medium Audit finding +20 collaborators
-
Flash loan fee is incorrect in Private Pool contract
Business logic Medium Audit finding +22 collaborators
-
Loss of funds for traders due to accounting error in royalty calculations
Business logic Medium Audit finding +15 collaborators
-
Royalty recipients will not get fair share of royalties
Smart contracts Medium Audit finding +21 collaborators
-
EthRouter can’t perform multiple changes
Business logic Medium Audit finding +13 collaborators
-
The royaltyRecipient could not be prepare to receive ether, making the sell to fail
DoS Medium Audit finding +7 collaborators
-
Risk of silent overflow in reserves update
Smart contracts High Audit finding +24 collaborators
-
Prohibition to create private pools with the factory NFT
Business logic Medium Audit finding +1 collaborator
-
Royalty receiver can drain a private pool
Smart contracts High Audit finding +4 collaborators
-
The buy function’s mechanism enables users to acquire flash loans at a cheaper fee rate.
Business logic Medium Audit finding
-
changeFeeQuote will fail for low decimal ERC20 tokens
Smart contracts Medium Audit finding +25 collaborators
-
Flashloan fee is not distributed to the factory
Business logic Medium Audit finding
-
Transaction revert if the baseToken does not support 0 value transfer when charging changeFee
Business logic Medium Audit finding +5 collaborators
-
Pool tokens can be stolen via PrivatePool.flashLoan function from previous owner
Access control Medium Audit finding +2 collaborators
-
The tokenURI method does not check if the NFT has been minted and returns data for the contract that may be a fake NFT
Smart contracts Medium Audit finding +2 collaborators
-
Incorrect protocol fee is taken when changing NFTs
Business logic Medium Audit finding +9 collaborators
-
PrivatePool.flashLoan() takes fee from the wrong address
Business logic Medium Audit finding
-
PrivatePool owner can steal all ERC20 and NFT from user via arbitrary execution
Access control High Audit finding +23 collaborators
-
Malicious royalty recipient can steal excess eth from buy orders
Medium Audit finding +8 collaborators
-
Missing deadline checks allow pending transactions to be maliciously executed
Business logic Medium Audit finding +1 collaborator
-
Reentrancy in buy function for ERC777 tokens allows buying funds with considerable discount
Smart contracts High Audit finding +9 collaborators
-
Liquidity providers may lose funds when adding liquidity
Business logic High Audit finding +27 collaborators
-
It’s possible to swap NFT token ids without fee and also attacker can wrap unwrap all the NFT token balance of the Pair contract and steal their air drops for those token ids
Business logic Medium Audit finding +2 collaborators
-
Pair price may be manipulated by direct transfers
Medium Audit finding +7 collaborators
-
Price will not always be 18 decimals, as expected and outlined in the comments
Medium Audit finding +10 collaborators
-
First depositor can break minting of shares
Smart contracts High Audit finding +42 collaborators
-
Rounding error in buyQuote might result in free tokens
Smart contracts Medium Audit finding +18 collaborators