Skip to content

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

Disclosed reports

Newest first. Only what Caviar Private Pools chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Factory.create : Predictability of pool address creates multiple issues. Business logic Medium – – – 18 May 2023
Flash loan fee is incorrect in Private Pool contract Business logic Medium – – – 18 May 2023
Loss of funds for traders due to accounting error in royalty calculations Business logic Medium – – – 18 May 2023
Royalty recipients will not get fair share of royalties Smart contracts Medium – – – 18 May 2023
EthRouter can’t perform multiple changes Business logic Medium – – – 18 May 2023
The royaltyRecipient could not be prepare to receive ether, making the sell to fail DoS Medium – – – 18 May 2023
Risk of silent overflow in reserves update Smart contracts High – – – 18 May 2023
Prohibition to create private pools with the factory NFT Business logic Medium – – – 18 May 2023
EthRouter.sell , EthRouter.deposit , and EthRouter.change functions can be DOS’ed for some ERC721 tokens DoS Medium – – – 18 May 2023
Royalty receiver can drain a private pool Smart contracts High – – – 18 May 2023
The buy function’s mechanism enables users to acquire flash loans at a cheaper fee rate. Business logic Medium – – – 18 May 2023
changeFeeQuote will fail for low decimal ERC20 tokens Smart contracts Medium – – – 18 May 2023
Flashloan fee is not distributed to the factory Business logic Medium – – – 18 May 2023
Transaction revert if the baseToken does not support 0 value transfer when charging changeFee Business logic Medium – – – 18 May 2023
Pool tokens can be stolen via PrivatePool.flashLoan function from previous owner Access control Medium – – – 18 May 2023
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 – – – 18 May 2023
Incorrect protocol fee is taken when changing NFTs Business logic Medium – – – 18 May 2023
PrivatePool.flashLoan() takes fee from the wrong address Business logic Medium – – – 18 May 2023
PrivatePool owner can steal all ERC20 and NFT from user via arbitrary execution Access control High – – – 18 May 2023
Malicious royalty recipient can steal excess eth from buy orders – Medium – – – 18 May 2023
Missing deadline checks allow pending transactions to be maliciously executed Business logic Medium – – – 26 Jan 2023
Reentrancy in buy function for ERC777 tokens allows buying funds with considerable discount Smart contracts High – – – 26 Jan 2023
Liquidity providers may lose funds when adding liquidity Business logic High – – – 26 Jan 2023
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 – – – 26 Jan 2023
Pair price may be manipulated by direct transfers – Medium – – – 26 Jan 2023
Price will not always be 18 decimals, as expected and outlined in the comments – Medium – – – 26 Jan 2023
First depositor can break minting of shares Smart contracts High – – – 26 Jan 2023
Rounding error in buyQuote might result in free tokens Smart contracts Medium – – – 26 Jan 2023