Hunt prep
Before you test Tapioca
What 51 disclosed reports say about Tapioca: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 30 | 0 | – | – | $0 |
| Access control lesson | 9 | 0 | – | – | $0 |
| DoS lesson | 9 | 0 | – | – | $0 |
| Misconfiguration lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
BBLiquidation/SGLLiquidation::_updateBorrowAndCollateralShare liquidator can bypass bad debt handling to ensure whole liquidation reward
The protocol team fixed this issue in a pull request.
Disclosed
-
mTOFT's fees cannot be paid on native wrapping
The _wrapNative function should deposit only _amount - _feeAmount to the vault, as the fee is already transferred separately.
Disclosed
-
Balancer rebalance operation is permanently blocked whenever owner assigns `rebalancer` role to some other address
The access control should be changed to allow either the owner or the rebalancer, and the protocol team fixed this issue.
Disclosed
-
Unprotected `executeModule` function allows to steal the tokens
The executeModule function should validate the _data parameter to ensure the caller is the same address as the user executing the operations.
Disclosed
-
Pending allowances can be exploited
The report recommends reviewing all allowance flows to ensure they cannot be exploited; a reference later states that issue #109 fixes this and related dangling allowance issues.
Disclosed
-
Liquidation fees are permanently frozen on Penrose YB account
The protocol team fixed this issue in a pull request.
Disclosed
-
mTOFTReceiver MSG_XCHAIN_LEND_XCHAIN_LOCK unable to execute
The protocol team fixed this issue by adding a return true statement in the affected branch.
Disclosed
-
Multiple contracts cannot be paused
The protocol team fixed this issue by adding owner-only pause and unpause functions.
Disclosed
-
Penrose::_depositFeesToTwTap can unexpectedly revert due to amount rounded down
The issue was fixed by computing the fee amount before making the withdrawal.
Disclosed
-
TOFTOptionsReceiverModule will have the user lose the whole output TAP when requested to exercise all eligible options
The issue was fixed by the protocol team in the referenced pull requests.
Disclosed
-
BBLeverage's and SGLLeverage's `buyCollateral()` remove the required funds from the target twice
The issue was fixed by adding a flag to _addCollateral() to skip the token transfer when funds are already with the contract, as shown in the recommendation and later fixed in PR/commit.
Disclosed
-
Allowances is double spent in BBLeverage's and SGLLeverage's `sellCollateral()`
The protocol team fixed this issue by adding a flag to _repay to skip allowance checking when already spent.
Disclosed
-
TOFTOptionsReceiverModule's and UsdoOptionReceiverModule's exerciseOptionsReceiver can lose the option payment provided
The issue was fixed by changing the refund condition to also handle the zero-amount case (bBefore >= bAfter).
Disclosed
-
Recursive _lzCompose() call can be leveraged to steal all generated USDO fees
The recursive _lzCompose call should pass the original srcChainSender_ instead of address(this).
Disclosed
-
Unverified `_srcChainSender` parameter allows to impersonate the sender
Validate that the user whose assets are being managed is the same address as the `_srcChainSender` parameter.
Disclosed