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
Disclosed reports
Newest first. Only what Lybra Finance chose to make public.
-
Incorrectly implemented modifiers in LybraConfigurator.sol allow any address to call functions that are supposed to be restricted
Access control High Audit finding +23 collaborators
-
Making _totalSupply and _totalShares imbalance significantly by providing fake income leads to stealing fund
Business logic High Audit finding
-
Wrong proposalThreshold amount in LybraGovernance.sol
Business logic Medium Audit finding
-
Allowing refreshReward() to fail during minting or buring esLBR could result in gain or loss previously earned reward
Business logic Medium Audit finding +3 collaborators
-
The EUSDMiningIncentives contract is incorrectly implemented and can allow for more than the intended amount of rewards to be minted
Smart contracts Medium Audit finding +1 collaborator
-
Rewards for initial period can be lost in all of the synthetix derivative contracts
Business logic Medium Audit finding
-
No check for Individual mint amount surpassing 10% when the circulation reaches 10_000_000 in mint() of LybraEUSDVaultBase contract
Business logic Medium Audit finding
-
Volatile prices and lack of checks on rigidRedemption() can cause users to purchase stETH at unwanted prices
Business logic Medium Audit finding
-
Fixed reward percentage for liquidators in the eUSD vault may cause a liquidation crisis
Business logic Medium Audit finding
-
Understatement of poolTotalPeUSDCirculation amounts due to incorrect accounting after function _repay is called
Smart contracts Medium Audit finding +27 collaborators
-
It is possible to manipulate WETH/LBR pair to claim reward of the users which shouldn’t be claimed
Business logic Medium Audit finding +3 collaborators
-
Lack of timelock on rigidRedemption , enables to steal yield from other users
Business logic Medium Audit finding
-
Due to inappropriately short votingPeriod and votingDelay , it is nearly impossible for the governance to function correctly.
Business logic Medium Audit finding +12 collaborators
-
If ProtocolRewardsPool is insufficient in EUSD, users will not be able to claim any rewards
Business logic Medium Audit finding +6 collaborators
-
CLOCK_MODE() will not work properly for Arbitrum or Optimism due to block.number
Business logic Medium Audit finding +1 collaborator
-
_voteSucceeded() returns true when againstVotes > forVotes and vice versa
Business logic High Audit finding +13 collaborators
-
Liquidation won’t work when bad and safe collateral ratio are set to default values
Business logic Medium Audit finding +5 collaborators
-
Incorrect function call in LybraRETHVault ’s getAssetPrice
Smart contracts Medium Audit finding +38 collaborators
-
Impossibility to change safeCollateralRatio
DoS Medium Audit finding +8 collaborators
-
LybraPeUSDVaultBase.rigidRedemption should use getBorrowedOf instead of borrowed
Business logic Medium Audit finding
-
stakerewardV2pool.withdraw() should check the user’s boost lock status.
Business logic Medium Audit finding +12 collaborators
-
Invalid implementation of prioritized token rewards distribution
Business logic Medium Audit finding +13 collaborators
-
The relation between the safe collateral ratio and the bad collateral ratio for the PeUSD vaults is not enforced correctly
Business logic Medium Audit finding +7 collaborators
-
Exploiter can avoid negative Lido rebases stealing funds from EUSD vaults
Business logic Medium Audit finding +3 collaborators
-
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 Audit finding +9 collaborators
-
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 Audit finding +1 collaborator
-
EUSD.mint function wrong assumption of cases when calculated sharesAmount = 0
High Audit finding +6 collaborators
-
Governance wrongly calculates _quorumReached()
Business logic High Audit finding +7 collaborators
-
There is no mechanism that prevents from minting less than esLBR maximum supply in StakingRewardsV2
Business logic Medium Audit finding
-
Incorrect Reward Distribution Calculation in ProtocolRewardsPool
Business logic Medium Audit finding +4 collaborators