Skip to content

Code4rena

Lybra Finance

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

disclosed reports
31
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Lybra Finance on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

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

ReportClassSeverityBountyCVSSVotesDisclosed
Incorrectly implemented modifiers in LybraConfigurator.sol allow any address to call functions that are supposed to be restricted Access control High – – – 21 Aug 2023
Making _totalSupply and _totalShares imbalance significantly by providing fake income leads to stealing fund Business logic High – – – 21 Aug 2023
Wrong proposalThreshold amount in LybraGovernance.sol Business logic Medium – – – 21 Aug 2023
Allowing refreshReward() to fail during minting or buring esLBR could result in gain or loss previously earned reward Business logic Medium – – – 21 Aug 2023
The EUSDMiningIncentives contract is incorrectly implemented and can allow for more than the intended amount of rewards to be minted Smart contracts Medium – – – 21 Aug 2023
Rewards for initial period can be lost in all of the synthetix derivative contracts Business logic Medium – – – 21 Aug 2023
No check for Individual mint amount surpassing 10% when the circulation reaches 10_000_000 in mint() of LybraEUSDVaultBase contract Business logic Medium – – – 21 Aug 2023
Volatile prices and lack of checks on rigidRedemption() can cause users to purchase stETH at unwanted prices Business logic Medium – – – 21 Aug 2023
Fixed reward percentage for liquidators in the eUSD vault may cause a liquidation crisis Business logic Medium – – – 21 Aug 2023
Understatement of poolTotalPeUSDCirculation amounts due to incorrect accounting after function _repay is called Smart contracts Medium – – – 21 Aug 2023
It is possible to manipulate WETH/LBR pair to claim reward of the users which shouldn’t be claimed Business logic Medium – – – 21 Aug 2023
Lack of timelock on rigidRedemption , enables to steal yield from other users Business logic Medium – – – 21 Aug 2023
Due to inappropriately short votingPeriod and votingDelay , it is nearly impossible for the governance to function correctly. Business logic Medium – – – 21 Aug 2023
If ProtocolRewardsPool is insufficient in EUSD, users will not be able to claim any rewards Business logic Medium – – – 21 Aug 2023
CLOCK_MODE() will not work properly for Arbitrum or Optimism due to block.number Business logic Medium – – – 21 Aug 2023
_voteSucceeded() returns true when againstVotes > forVotes and vice versa Business logic High – – – 21 Aug 2023
Liquidation won’t work when bad and safe collateral ratio are set to default values Business logic Medium – – – 21 Aug 2023
Incorrect function call in LybraRETHVault ’s getAssetPrice Smart contracts Medium – – – 21 Aug 2023
Impossibility to change safeCollateralRatio DoS Medium – – – 21 Aug 2023
LybraPeUSDVaultBase.rigidRedemption should use getBorrowedOf instead of borrowed Business logic Medium – – – 21 Aug 2023
stakerewardV2pool.withdraw() should check the user’s boost lock status. Business logic Medium – – – 21 Aug 2023
Invalid implementation of prioritized token rewards distribution Business logic Medium – – – 21 Aug 2023
The relation between the safe collateral ratio and the bad collateral ratio for the PeUSD vaults is not enforced correctly Business logic Medium – – – 21 Aug 2023
Exploiter can avoid negative Lido rebases stealing funds from EUSD vaults Business logic Medium – – – 21 Aug 2023
There is a vulnerability in the executeFlashloan function of the PeUSDMainnet contract. Hackers can use this vulnerability to burn other people’s eUSD token balance without permission Access control High – – – 21 Aug 2023
doesn’t calculate the current borrowing amount for the provider, including the provider’s borrowed shares and accumulated fees due to inconsistency in collateralRatio calculation Business logic High – – – 21 Aug 2023
EUSD.mint function wrong assumption of cases when calculated sharesAmount = 0 – High – – – 21 Aug 2023
Governance wrongly calculates _quorumReached() Business logic High – – – 21 Aug 2023
There is no mechanism that prevents from minting less than esLBR maximum supply in StakingRewardsV2 Business logic Medium – – – 21 Aug 2023
Incorrect Reward Distribution Calculation in ProtocolRewardsPool Business logic Medium – – – 21 Aug 2023