Skip to content

Sherlock

Arrakis Valantis SOT Audit

Every publicly disclosed report for Arrakis Valantis SOT Audit and what kind of bugs they were.

disclosed reports
14
most reported class
Business logic
bug classes found
4
first disclosure
2023
Find Arrakis Valantis SOT Audit on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Arrakis Valantis SOT Audit chose to make public.

Business logic

Through rebalance(), an executor can drain 100% of vault reserves by minting cheap shares

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.

Arrakis Valantis SOT Audit

High
DoS

Adding liquidity can be `DoS`ed due to calculation mismatches

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.

Arrakis Valantis SOT Audit

High
DoS

USDT is not supported

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.

Arrakis Valantis SOT Audit

Medium
Business logic

Pool deviation check in SimpleManager on rebalance can be bypassed

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.

Arrakis Valantis SOT Audit

High
Business logic

Then getAmountsForDelta function at Underlying.sol is implemented incorrectly

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.

Arrakis Valantis SOT Audit

Medium
Business logic

ArrakisV2Router#addLiquidityPermit2 will strand ETH

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.

Arrakis Valantis SOT Audit

High
Smart contracts

outdated variable is not effective to check price feed timeliness

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.

Arrakis Valantis SOT Audit

Medium
Business logic

Update to `managerFeeBPS` applied to pending tokens yet to be claimed

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.

Arrakis Valantis SOT Audit

Medium
Business logic

Min deposit protection during rebalancing can be bypassed if multiple fee tiers

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.

Arrakis Valantis SOT Audit

Medium
Business logic

Lack of rebalance rate limiting allow operators to drain vaults

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.

Arrakis Valantis SOT Audit

Medium