A private vault deposit function lacks slippage control, allowing an attacker to front-run the deposit and manipulate the pool price, causing the depositor to add liquidity at an unfavourable price and lose funds. The attacker can then back-run to profit from the imbalance.
A malicious executor could pass an arbitrary router address to the swap function during rebalance, then use that call to mint vault shares at a very cheap price after liquidity was withdrawn, and later burn those shares to steal most of the vault's funds. The attack requires at least one token to be a rebase token so the pool reserves can be made non-zero without a normal deposit.
A new module's first deposit incorrectly treats the entire pool liquidity as dust and sends it to the vault manager. An attacker can then prevent recovery by making the manager's withdrawal function revert.
A malicious executor could abuse the arbitrary call in the swap function to claim pool manager fees, which are then re-deposited into the pool, effectively stealing fees meant for the manager. The attacker could also set the pool manager to zero, breaking other functions.
A malicious executor could call setModule with crafted payloads to withdraw all vault funds to an arbitrary address after a new module was whitelisted. This allowed theft of all funds in the vault.
A rounding mismatch between the router's mint amount calculation and the vault/module's deposit calculation causes the module to request more tokens than the router holds, reverting the transaction. An attacker could repeatedly trigger this to prevent users from adding liquidity through the router.
The protocol's swap executor and Valantis module use OpenZeppelin's safeIncreaseAllowance, which does not reset the allowance to zero before approving USDT. If the actual swap amount is less than the approved amount, a non-zero allowance remains, causing subsequent USDT approvals to revert and preventing further swaps.
The SimpleManager contract checks price deviation before a swap but not after, allowing a malicious operator to manipulate the pool price during the swap and then add liquidity at an unfavourable price, which can be backrun to steal vault funds.
The getAmountsForDelta function in Underlying.sol used a less-than-or-equal comparison instead of a strict less-than, causing it to treat the current price equal to the lower bound as outside the range. This led to requesting only token0 from the user when the Uniswap pool would require both tokens, potentially causing the protocol to lose token1 if it had enough to cover.
The ArrakisV2Router contract's addLiquidityPermit2 function incorrectly sets a boolean flag, causing excess ETH to be refunded incorrectly and leaving ETH stranded in the contract. An attacker could potentially steal the stranded ETH, and could manipulate pools to increase the amount available to steal.
The ChainlinkOraclePivot contract used a single 'outdated' variable to check the timeliness of two price feeds with different heartbeat intervals, making the check ineffective. An attacker could exploit stale prices from one feed or cause the other feed to always revert, potentially affecting rebalancing.
The manager could change the manager fee percentage at any time, and this new rate would be applied retroactively to pending fees that had not yet been claimed. A malicious or careless manager could therefore take up to 100% of the pending fees owed to stakers.
The vault's rebalancing slippage protection checks aggregate liquidity across multiple fee tiers, so an attacker can manipulate prices in opposite directions on different tiers to make the aggregate check pass while the operator provides liquidity at worse prices. The attacker can sandwich the rebalance and profit at the operator's expense.
The SimpleManager contract for Arrakis vaults lacks rate limiting on the rebalance function, allowing a malicious operator to repeatedly call rebalance within a single transaction and exploit the allowed slippage tolerance each time, thereby draining vault funds.
AV
Arrakis Valantis SOT Audit
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.