Skip to content

Code4rena

Hybra Finance

Every publicly disclosed report for Hybra Finance and what kind of bugs they were.

disclosed reports
10
most reported class
Business logic
bug classes found
4
first disclosure
2025
Find Hybra Finance on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Hybra Finance chose to make public.

Business logic

CLFactory ignores dynamic fees above 10% and silently falls back to default

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.

Hybra Finance

Medium
DoS

Claiming rewards in GovernanceHYBR will always revert

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.

Hybra Finance

Medium
Smart contracts

First depositor attack possible through multiple attack paths because the deposit function does not check 0 shares received

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.

Hybra Finance

Medium
DoS

Dust vote on one pool prevents poke()

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.

Hybra Finance

Medium
Smart contracts

Users emergency withdrawing will lose all past accrued rewards

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.

Hybra Finance

Medium
Business logic

ClaimFees steals staking rewards

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.

Hybra Finance

Medium
Business logic

Rollover rewards are permanently lost due to flawed rewardRate calculation

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.

Hybra Finance

Medium