Sherlock
Real Wagmi #2
Every publicly disclosed report for Real Wagmi #2 and what kind of bugs they were.
- disclosed reports
- 21
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Real Wagmi #2 chose to make public.
-
Blacklisted creditor can block all repayment besides emergency closure
DoS Medium Audit finding +3 collaborators
-
Creditor can maliciously burn UniV3 position to permanently lock funds
Business logic High Audit finding +7 collaborators
-
No slippage protection during repayment due to dynamic slippage params and easily influenced `slot0()`
Business logic High Audit finding +16 collaborators
-
old borrowing key is used instead of `newBorrowingKey` when adding old loans to the newBorrowing in LiquidityBorrowingManager.takeOverDebt()
Business logic High Audit finding +10 collaborators
-
Adversary can overwrite function selector in _patchAmountAndCall due to inline assembly lack of overflow protection
Smart contracts Medium Audit finding
-
No deadline and slippage check on `takeOverDebt()` can lead to unexpected results
Business logic Medium Audit finding
-
DoS of lenders and gas griefing by packing tokenIdToBorrowingKeys arrays
DoS Medium Audit finding
-
Incorrect calculations of borrowingCollateral leads to DoS for positions in the current tick range due to underflow
DoS Medium Audit finding +6 collaborators
-
`computePoolAddress()` will not work on ZkSync Era
DoS Medium Audit finding +2 collaborators
-
Borrower collateral that they are owed can get stuck in Vault and not sent back to them after calling `repay`
Business logic Medium Audit finding +1 collaborator
-
Wrong `accLoanRatePerSeconds` in `repay()` can lead to underflow
Business logic Medium Audit finding +1 collaborator
-
Adversary can reenter takeOverDebt() during liquidation to steal vault funds
Race condition High Audit finding
-
fee calculations
DoS Medium Audit finding +1 collaborator
-
Possible precision loss in `_checkpositionsRange` function
Smart contracts Medium Audit finding +8 collaborators
-
The deposit - withdraw - trade transaction lack of expiration timestamp check (DeadLine check)
Business logic Medium Audit finding +4 collaborators
-
The fees are incorrectly updated in the `_deposit` and `_withdraw` functions, which allows the attacker to break the protocol fees
Business logic Medium Audit finding
-
No slippage protection when withdrawing and providing liquidity in rebalanceAll
Business logic High Audit finding +1 collaborator
-
Wrong calculation of `tickCumulatives` due to hardcoded pool fees
Business logic High Audit finding +11 collaborators
-
The `_estimateWithdrawalLp` function might return a very large value, result in users losing significant incentives or being unable to withdraw from the Dispatcher contract
Business logic High Audit finding +2 collaborators
-
Usage of `slot0` is extremely easy to manipulate
High Audit finding +11 collaborators
-
Deposit transactions lose funds to front-running when multiple fee tiers are available
Race condition High Audit finding