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
Disclosed reports
Newest first. Only what Size chose to make public.
-
Users may incur an unexpected fragmentation fee in the compensate() call
Business logic Medium Audit finding +1 collaborator
-
Fragmentation fee is not taken if user compensates with newly created position
Business logic Medium Audit finding +28 collaborators
-
executeBuyCreditMarket returns the wrong amount of cash and overestimates the amount that needs to be checked in the variable pool
Business logic Medium Audit finding +9 collaborators
-
withdraw() users may can’t withdraw underlyingBorrowToken properly
Business logic Medium Audit finding +10 collaborators
-
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 Audit finding +21 collaborators
-
Risk of overpayment due to race condition between repay and liquidateWithReplacement transactions
Race condition High Audit finding +3 collaborators
-
The collateral remainder cap is incorrectly calculated during liquidation
Business logic High Audit finding +8 collaborators
-
Users won’t liquidate positions because the logic used to calculate the liquidator’s profit is incorrect
Smart contracts High Audit finding +50 collaborators
-
Multicall does not work as intended
Business logic Medium Audit finding +31 collaborators
-
Size uses wrong source to query available liquidity on Aave, resulting in borrow and lend operations being bricked upon mainnet deployment
Business logic Medium Audit finding +11 collaborators
-
Users can not to buy/sell minimum credit allowed due to exactAmountIn condition
Business logic Medium Audit finding +22 collaborators
-
Inadequate checks to confirm the correct status of the sequence/ sequencerUptimeFeed in PriceFeed.getPrice() contract
Business logic Medium Audit finding +1 collaborator
-
Neither sellCreditMarket() nor compensate() checks whether the credit position to be sold is allowed for sale
Business logic Medium Audit finding +3 collaborators
-
Credit can be sold forcibly as forSale setting can be ignored via Compensate
Business logic Medium Audit finding +5 collaborators
-
LiquidateWithReplacement does not charge swap fees on the borrower
Business logic Medium Audit finding +13 collaborators
-
Sandwich attack on loan fulfillment will temporarily prevent users from accessing their borrowed funds
Business logic Medium Audit finding +5 collaborators
-
Borrower is not able to compensate his lenders if he is underwater
Business logic Medium Audit finding +6 collaborators
-
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 Audit finding +5 collaborators
-
Solmate’s ERC20 does not check for token contract’s existence, which opens up possibility for a honeypot attack
Business logic Medium Audit finding +9 collaborators
-
Incompatibility with fee-on-transfer/inflationary/deflationary/rebasing tokens, on both base tokens and quote tokens, with varying impacts
Business logic Medium Audit finding +26 collaborators
-
Denial of service when baseAmount is equal to zero
DoS Medium Audit finding +8 collaborators
-
Attacker may DOS auctions using invalid bid parameters
DoS Medium Audit finding +29 collaborators
-
The sorting logic is not strict enough
Business logic Medium Audit finding
-
Auction created by ERC777 Tokens with tax can be stolen by re-entrancy attack
Race condition Medium Audit finding
-
Attacker can steal any funds in the contract by state confusion (no preconditions)
Business logic High Audit finding +15 collaborators
-
Bidders might fail to withdraw their unused funds after the auction was finalized because the contract doesn’t have enough balance.
Business logic High Audit finding +1 collaborator