Skip to content

Code4rena

Size

Every publicly disclosed report for Size and what kind of bugs they were.

disclosed reports
26
most reported class
Business logic
bug classes found
4
first disclosure
2023
Find Size on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Size chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Users may incur an unexpected fragmentation fee in the compensate() call Business logic Medium – – – 16 Sep 2024
Fragmentation fee is not taken if user compensates with newly created position Business logic Medium – – – 16 Sep 2024
executeBuyCreditMarket returns the wrong amount of cash and overestimates the amount that needs to be checked in the variable pool Business logic Medium – – – 16 Sep 2024
withdraw() users may can’t withdraw underlyingBorrowToken properly Business logic Medium – – – 16 Sep 2024
When sellCreditMarket() is called to sell credit for a specific cash amount, the protocol might receive a lower swapping fee than expected Business logic High – – – 16 Sep 2024
Risk of overpayment due to race condition between repay and liquidateWithReplacement transactions Race condition High – – – 16 Sep 2024
The collateral remainder cap is incorrectly calculated during liquidation Business logic High – – – 16 Sep 2024
Users won’t liquidate positions because the logic used to calculate the liquidator’s profit is incorrect Smart contracts High – – – 16 Sep 2024
Multicall does not work as intended Business logic Medium – – – 16 Sep 2024
Size uses wrong source to query available liquidity on Aave, resulting in borrow and lend operations being bricked upon mainnet deployment Business logic Medium – – – 16 Sep 2024
Users can not to buy/sell minimum credit allowed due to exactAmountIn condition Business logic Medium – – – 16 Sep 2024
Inadequate checks to confirm the correct status of the sequence/ sequencerUptimeFeed in PriceFeed.getPrice() contract Business logic Medium – – – 16 Sep 2024
Neither sellCreditMarket() nor compensate() checks whether the credit position to be sold is allowed for sale Business logic Medium – – – 16 Sep 2024
Credit can be sold forcibly as forSale setting can be ignored via Compensate Business logic Medium – – – 16 Sep 2024
LiquidateWithReplacement does not charge swap fees on the borrower Business logic Medium – – – 16 Sep 2024
Sandwich attack on loan fulfillment will temporarily prevent users from accessing their borrowed funds Business logic Medium – – – 16 Sep 2024
Borrower is not able to compensate his lenders if he is underwater Business logic Medium – – – 16 Sep 2024
Seller’s ability to decrypt bids before reveal could result in a much higher clearing price than anticpated and make buyers distrust the system Business logic Medium – – – 9 Jan 2023
Solmate’s ERC20 does not check for token contract’s existence, which opens up possibility for a honeypot attack Business logic Medium – – – 9 Jan 2023
Incompatibility with fee-on-transfer/inflationary/deflationary/rebasing tokens, on both base tokens and quote tokens, with varying impacts Business logic Medium – – – 9 Jan 2023
Denial of service when baseAmount is equal to zero DoS Medium – – – 9 Jan 2023
Attacker may DOS auctions using invalid bid parameters DoS Medium – – – 9 Jan 2023
The sorting logic is not strict enough Business logic Medium – – – 9 Jan 2023
Auction created by ERC777 Tokens with tax can be stolen by re-entrancy attack Race condition Medium – – – 9 Jan 2023
Attacker can steal any funds in the contract by state confusion (no preconditions) Business logic High – – – 9 Jan 2023
Bidders might fail to withdraw their unused funds after the auction was finalized because the contract doesn’t have enough balance. Business logic High – – – 9 Jan 2023