Hunt prep
Before you test Hybra Finance
What 10 disclosed reports say about Hybra Finance: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 5 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Incorrect voting power calculation when create_lock and increase_amount are called in the same transaction
The _checkpoint function should check if the latest epoch has the same timestamp and overwrite it instead of appending a new one; the project mitigated this and the mitigation was confirmed.
Disclosed
-
CLFactory ignores dynamic fees above 10% and silently falls back to default
The project added a setMaxFee() function to make the fee cap configurable by the owner up to 50%, replacing the hardcoded limit.
Disclosed
-
Claiming rewards in GovernanceHYBR will always revert
A getter function should be added to VoterV3.sol that returns the full array of voted pools, and claimRewards should use that instead.
Disclosed
-
CL gauge accepts unverified pools, allowing malicious pool to brick distribution
The project added access control so only the GaugeManager can call the GaugeFactory to create gauges, but the mitigation review reports the issue as unmitigated.
Disclosed
-
Dust vote on one pool prevents poke()
The require statement should be changed to skip pools with zero weight instead of reverting.
Disclosed
-
Assets deposited before calculating shares amount to mint will cause users to mint less shares
The share calculation should be moved before the deposit so that the ratio at the time of deposit is used.
Disclosed
-
ClaimFees steals staking rewards
The _claimFees function should measure the contract's balance before and after collectFees and only transfer the difference, and access control should be added to claimFees.
Disclosed
-
Rollover rewards are permanently lost due to flawed rewardRate calculation
The rewardRate calculation should include the rollover amount, using totalRewardAmount instead of rewardAmount.
Disclosed