Hunt prep
Before you test Arrakis Valantis SOT Audit
What 14 disclosed reports say about Arrakis Valantis SOT Audit: 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 | 9 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 2 | 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.
-
ArrakisMetaVaultPrivate::fund No slippage control on private vault deposit can cause unlimited loss to owner
The recommendation is to enable private vault depositors to control deviation parameters exposed in the deposit function.
Disclosed
-
Through rebalance(), an executor can drain 100% of vault reserves by minting cheap shares
The recommendation is to prevent the module's depositLiquidity function from being called during a rebalance.
Disclosed
-
Incorrect handling of first deposit for new modules leads to all liquidity sent to vault manager
The code was fixed by reworking the first-deposit logic to handle non-dust initial balances.
Disclosed
-
A malicious executor can delete the fees belonging to the owner of `ArrakisStandardManager`
The fix should prevent the router parameter from being the SovereignPool associated with the module.
Disclosed
-
ArrakisMetaVault::setModule Malicious executor can drain the vault by calling withdraw after initializePosition
The protocol team fixed this issue in the following PRs/commits: https://github.com/ArrakisFinance/arrakis-modular/pull/88
Disclosed
-
Adding liquidity can be `DoS`ed due to calculation mismatches
The router's mint amount calculation should be updated to return the accurate required amounts; the text states the protocol team fixed this issue in a pull request.
Disclosed
-
USDT is not supported
The issue was fixed by resetting the allowance to zero after calling swap, as indicated by the protocol team's PR.
Disclosed
-
Pool deviation check in SimpleManager on rebalance can be bypassed
The price deviation check should be enforced right before providing liquidity, and a fix was later applied to check deviation before and after each rebalance.
Disclosed
-
Then getAmountsForDelta function at Underlying.sol is implemented incorrectly
The comparison was changed from <= to < to correctly treat equality as within the range.
Disclosed
-
ArrakisV2Router#addLiquidityPermit2 will strand ETH
The fix was to set isToken0Weth correctly using the _isToken0Weth function before the refund logic.
Disclosed
-
outdated variable is not effective to check price feed timeliness
The fix was to use two separate 'outdated' variables, one for each price feed, to check individually if they are outdated.
Disclosed
-
Update to `managerFeeBPS` applied to pending tokens yet to be claimed
The project added a function to collect fees on pools before updating the manager fee, and the fix was confirmed to look good.
Disclosed
-
Min deposit protection during rebalancing can be bypassed if multiple fee tiers
The fix allows the operator to set a custom maximum slippage value lower than the vault's maximum, as confirmed in the discussion.
Disclosed
-
Lack of rebalance rate limiting allow operators to drain vaults
A cooldown period was added to prevent operators from calling rebalance too frequently.
Disclosed