When create_lock and increase_amount are called in the same transaction, the checkpoint function creates a new epoch with the same timestamp, causing the second lock to be ignored in balanceOfNFT. As a result, voting power is calculated using only the old lock amount, so users receive fewer rewards than they should.
The CLFactory contract ignores dynamic swap fees above 10% and silently falls back to the default tick-spacing fee, so governance can set a higher fee that is never applied. Traders pay less than intended, defeating protective or revenue objectives.
The claimRewards function in GovernanceHYBR.sol calls a voter contract getter with only a token ID, but the underlying mapping requires both an ID and an index, so the call always reverts. As a result, the operator can never claim rewards, leaving the function completely broken.
The gauge manager did not verify that a concentrated-liquidity pool address came from the trusted factory, so anyone could create a gauge for a fake pool. Once that gauge received votes, reward distribution reverted and stalled emissions for all pools.
The gHYBR vault's deposit function does not check that the depositor receives at least one share, so an attacker can inflate the share price and cause later depositors to receive zero shares, capturing their assets. The attacker can donate assets via the public deposit_for function, the unprotected receivePenaltyReward function, or a multiSplit withdrawal.
A dust vote on one pool causes the poke function to revert due to a zero pool weight after decay, preventing the voter's weight from being updated. This lets the voter keep an inflated voting weight and earn more rewards than deserved.
The deposit function adds the user's tokens to the voting escrow before calculating the shares to mint, so the new total assets (including the deposit) is used in the share calculation. This causes users to receive fewer shares than they should, effectively losing part of their deposit.
In the GaugeV2 contract, calling emergencyWithdraw() after emergency mode is activated does not first checkpoint the caller's accrued rewards, so the user's balance drops to zero and their previously earned but unrecorded rewards are lost. Those reward tokens remain stuck in the contract permanently.
The _claimFees function transfers the gauge's entire balance of token0 and token1 to the internal bribe contract, rather than only the fees collected from the pool. If the reward token is the same as a pool token, anyone can call claimFees to sweep staking rewards intended for stakers.
The notifyRewardAmount function calculates rewardRate using only the new rewardAmount, ignoring the rollover amount, so the pool's reward reserve includes rollover but the emission rate is too low. As a result, rollover rewards are never fully distributed and are permanently lost.
HF
Hybra Finance
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.