Code4rena
The Wildcat Protocol
Every publicly disclosed report for The Wildcat Protocol and what kind of bugs they were.
- disclosed reports
- 26
- most reported class
- Business logic
- bug classes found
- 3
- first disclosure
- 2023
Disclosed reports
Newest first. Only what The Wildcat Protocol chose to make public.
-
Role providers cannot be EOAs as stated in the documentation
Business logic Medium Audit finding +1 collaborator
-
AccessControlHooks onQueueWithdrawal() does not check if market is hooked which could lead to unexpected errors such as temporary DoS
Access control Medium Audit finding +3 collaborators
-
Users are incentivized to not withdraw immediately after the market is closed
Business logic Medium Audit finding
-
User could withdraw more than supposed to, forcing last user withdraw to fail
Business logic High Audit finding
-
FixedTermLoanHooks allow Borrower to update Annual Interest before end of the “Fixed Term Period”
Business logic Medium Audit finding +2 collaborators
-
Role providers can bypass intended restrictions and lower expiry set by other providers
Access control Medium Audit finding +2 collaborators
-
No lender is able to exit even after the market is closed
Business logic Medium Audit finding +2 collaborators
-
Inconsistency across multiple repaying functions causing lender to pay extra fees
Business logic Medium Audit finding +5 collaborators
-
FixedTermLoanHook looks at block.timestamp instead of expiry
Business logic Medium Audit finding
-
Blocked accounts keep earning interest contrary to the WhitePaper
Business logic Medium Audit finding +10 collaborators
-
When a batch of withdrawals expires, that batch is often underpaid their owed interest
Business logic Medium Audit finding +2 collaborators
-
Borrower can drain all funds of a sanctioned lender
Access control High Audit finding +35 collaborators
-
Lenders can escape the blacklisting of their accounts because they can move their MarketTokens to different accounts and gain the WithdrawOnly Role on any account they want
Access control High Audit finding +25 collaborators
-
codehash check in factory contracts does not account for non-empty addresses
Business logic High Audit finding +1 collaborator
-
Borrower has no way to update maxTotalSupply of market or close market.
Access control High Audit finding +50 collaborators
-
Function WildcatMarketController.setAnnualInterestBips allows for values outside the factory range
Business logic Medium Audit finding +20 collaborators
-
Return values of transfer() / transferFrom() not checked and unsafe usage
Smart contracts Medium Audit finding
-
When withdrawalBatchDuration is set to zero lenders can withdraw more then allocated to a batch
Business logic High Audit finding
-
collectFees() updates delinquency wrongly as _writeState() is called before assets are transferred
Business logic Medium Audit finding +3 collaborators
-
create2WithStoredInitCode() does not revert if contract deployment failed
Smart contracts Medium Audit finding +6 collaborators
-
Borrowers can escape from paying half of the penalty fees by closing the market, and those remaining penalty fees will be covered by the lender who withdraws last
Business logic High Audit finding +9 collaborators
-
Removing markets from WildcatArchController gives lenders immunity from sanctions
Business logic Medium Audit finding +1 collaborator
-
setAnnualInterestBips() can be abused to keep a market’s reserve ratio at 90%
Business logic Medium Audit finding +8 collaborators
-
Pending withdrawal batch debt cannot be paid by the borrower until the cycle ends
Business logic Medium Audit finding
-
Protocol markets are incompatible with rebasing tokens
Business logic Medium Audit finding +7 collaborators