The staking contract skips its checkpoint and activity check whenever no rewards are available, so the last checkpoint timestamp goes stale. A service can stay inactive during that gap and then perform transactions just before rewards return, making its activity ratio look high enough to earn rewards for time it did not serve.
A variable overwrite in the price-check function causes the deviation check to compare the TWAP against itself, always yielding zero deviation, so the guard never triggers. Additionally, two early-return paths skip the check entirely for stale or new pools, leaving all protocol-owned liquidity operations unprotected against flash-loan price manipulation.
The registerAgentsWithSignature function in the ServiceManager contract omits a deadline from the signed message, so an operator's signature remains valid indefinitely. A service owner can reuse an old signature to register agents and force a bond transfer from the operator's account without current consent.
The signed authorisation used to register an operator's agent instances did not commit to any bond amount, so a service owner could raise the required bond after the signature was given and reuse the same signature. The operator's tokens would then be bonded at the higher amount without their consent and stay locked until the service was terminated.
The StakingBase contract violates the checks-effects-interactions pattern by calling an overridable internal transfer function before updating stored balances, allowing a malicious receiver or token to re-enter claim/withdraw and drain funds. ServiceManager.create also performs an external call that can trigger a callback before completing critical operations, enabling reentrancy and inconsistent state.
The BalancerPriceOracle contract updates cumulativePrice before checking if the price deviation exceeds maxSlippage. When the slippage check fails, the function returns false but cumulativePrice has already been permanently modified, corrupting the TWAP calculation.
The GuardCM contract, which restricts what the Community Multisig can schedule through the timelock, failed to check the ETH value forwarded and the Arbitrum retryable-ticket refund addresses. An attacker with control of the multisig could schedule an allowlisted L2 action while setting attacker-controlled refund addresses, diverting timelock ETH.
The Uniswap price oracle used the wrong cumulative price feed for each token direction, so the computed time-weighted average price was the inverse of the intended OLAS price. This could let the slippage check pass when the real price had moved beyond the allowed limit, causing buybacks to trade at an incorrect price.
The UniswapPriceOracle.validatePrice() function compares a price deviation scaled to 1e16 against a slippage value given in raw percentage units, so almost any deviation fails the check. This causes all calls to LiquidityManagerETH.convertToV3() to revert, blocking V2-to-V3 liquidity migration.
The staking contract splits proportional rewards equally among all operators, assuming every bond is the same size, and never checks the actual bond after a slashing. A slashed operator whose bond was reduced to zero keeps receiving a full share, diluting the rewards of active operators.
The contract's swap function hard-codes the minimum output amount to 1, so it accepts almost any price. An attacker could manipulate the pool price or front-run the swap so the contract receives nearly no tokens, causing a loss for the protocol.
The Balancer price oracle accumulates a cumulative price weight that grows without bound, so its time-weighted average becomes increasingly resistant to change. Once the market price moves beyond the configured slippage tolerance, the update function keeps rejecting new prices and the oracle can become permanently stuck, returning stale or inaccurate prices to consumers.
The validatePrice() function in UniswapPriceOracle does not compute a real time-weighted average price (TWAP) and instead always returns the current trade price, making the slippage check ineffective. An attacker could manipulate the Uniswap V2 pool price within a single block and have buyback or liquidity removal transactions execute at the manipulated price, profiting at the protocol's expense.
The Balancer price oracle reads pool balances directly from the Vault and returns a simple reserve ratio, which is a spot price that moves whenever the pool is traded. Because updatePrice() is permissionless and the snapshot is built from that spot price, an attacker who keeps the pool in a manipulated state and calls updatePrice() over time can drag the stored average away from the real market price, so validatePrice() still passes while the price is far off.
The BalancerPriceOracle contract implements an incorrect TWAP formula that accumulates the previous average price instead of the actual observed price, and recovers elapsed time by dividing cumulative price by average price. An attacker could manipulate the Balancer pool price after the minimum update period and call updatePrice with the manipulated price, corrupting the average and enabling further manipulation.
The staking contract's withdrawal function updates its recorded balance only after sending funds, so a caller who controls two services can re-enter during the transfer and have the outer call overwrite the inner call's balance deduction. This leaves the contract's recorded balance higher than the funds it actually holds, making it insolvent.
ServiceManager.create() calls the registry's create function, which mints a service NFT, before recording the token bond, so a malicious service owner can reenter during the NFT mint callback and lower the bond. The attacker then pays only the reduced bond but later withdraws the originally specified larger bond, draining the token utility contract's funds.
The price guard in the liquidity manager inverted its history check and failed open on TWAP errors, so it returned the untrusted spot price instead of the time-weighted average. An attacker could create a new pool, manipulate its price with a flash loan, and have the protocol mint or convert at that inflated price, draining assets.
The oracle's price validation rejects any call made in the same block that the Uniswap V2 pair's reserves were last updated. An attacker can front-run a victim's transaction with a permissionless sync() call so the check always fails in that block, repeatedly griefing the victim.
The validatePrice function in BalancerPriceOracle calculates a time-weighted average price from snapshot data that is only refreshed when updatePrice is called, and it never triggers that refresh itself. An attacker could exploit stale price data to either block legitimate buyback or liquidity operations or to pass validation with a manipulated spot price, potentially enabling sandwich attacks.
The changeRanges function in LiquidityManagerCore silently skips creating a new Uniswap V3 position when the pool price is outside the old tick range, because one collected token amount is zero. Instead of reverting, it sends all collected tokens to the treasury and leaves the position mapping pointing to an empty old position.
The buy-back swap router refunds any ETH held by the pool contract to the caller after each swap, but the protocol's proxy cannot receive ETH, so the refund reverts and the whole buy-back fails. An attacker can front-run the buy-back by sending a small amount of ETH to the pool, causing the protocol's buy-back to revert and preventing OLAS tokens from being bought back and burned.
The checkpoint function only corrects effectiveBond upward when the actual maxBond exceeds the pre-credited prediction, but never subtracts the over-credit when actual inflation is lower. At the two year boundaries where inflation decreases, phantom bond capacity persists, allowing the Depository to create bond programs that mint more OLAS than the inflation schedule intends.
The GnosisDepositProcessorL1 contract allowed callers to set an arbitrarily low gas limit for cross-chain messages, so a message could fail on L2 due to out-of-gas. An attacker could repeatedly claim staking incentives with an insufficient gas limit, making them irredeemable on L2 and requiring governance intervention to recover.
Withheld amounts synced from L2 via Wormhole were not normalised to 8 decimals before being subtracted from transfer amounts on L1, causing dust accumulation and preventing some users from redeeming incentives on L2.
The GnosisTargetDispenserL2 contract's onTokenBridged callback did not verify the L1 sender or the token received, so anyone could bridge any token with arbitrary data to manipulate staking incentives. An attacker could redistribute withheld funds to arbitrary targets or store fake incentives for later redemption.
The unstake function uses a stale serviceIds array returned by checkpoint, which is not updated after evicting inactive services. This can cause an out-of-bounds revert when a service owner tries to unstake, because the index from the stale array no longer matches the current setServiceIds array.
The Dispenser contract allows the owner to change the VoteWeighting contract, but the new contract does not carry over the last claimed staking epoch for existing nominees. An attacker can re-register a nominee on the new contract, resetting its last claimed epoch to the current one and causing the nominee to lose staking incentives for previous epochs.
An attacker can add a staking instance as a nominee before it is created, causing its incentive claim to iterate over many useless epochs and consume excessive gas. This can make the nominee unusable due to a maximum number of epochs limit.
The VoteWeighting contract only retains nominee voting history for 53 weeks, so if a nominee receives no votes for over a year, the nomineeRelativeWeight function returns zero even though users still have locked tokens. This causes those users to lose their voting power and potential rewards.
OL
Olas
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.