Code4rena
LoopFi
Every publicly disclosed report for LoopFi and what kind of bugs they were.
- disclosed reports
- 61
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2025
Disclosed reports
Newest first. Only what LoopFi chose to make public.
-
There is a calculation error in AuraVault::redeem()
Smart contracts High Audit finding +1 collaborator
-
Flashlender.sol#flashLoan() should use mintProfit() to mint fees, as the current implementation may lead to locked up WETH in PoolV3
Business logic High Audit finding +13 collaborators
-
decreaseLever uses incorrect position address when withdrawing
Business logic High Audit finding +3 collaborators
-
An infinite loop in MultiFeeDistribution.sol withdraw
DoS High Audit finding +2 collaborators
-
CDPVault.liquidatePosition() does not scale takeCollateral with tokenScale ; therefore, it might send the wrong amount of collateral to the liquidator when tokenScale ! = 1 ether
Business logic Medium Audit finding +3 collaborators
-
SwapAction::getSwapToken will return wrong swap token for balancer EXACT_OUT swaps
Business logic Medium Audit finding
-
Lack of Slippage Control in AuraVault::deposit and AuraVault::mint Functions Can Lead to Unexpected Financial Losses for Users
Business logic Medium Audit finding +3 collaborators
-
WhenNotPaused modifier in the CDPVault can be bypassed by users
Access control Medium Audit finding +18 collaborators
-
Honest users could be permanently DOS’d from withdrawing their vested tokens/rewards
DoS Medium Audit finding
-
The debt in EligibilityDataProvider::requiredUsdValue() needs to be converted into USD; otherwise, it is not a correct value comparison
Business logic Medium Audit finding +2 collaborators
-
Rewards may be spread out among the wrong time period due to the way the protocol calculates it
Business logic Medium Audit finding
-
Emission schedule is not followed and can cause unexpected allocation of rewards
Business logic Medium Audit finding
-
Usage of lastEligibleStatus can cause user to miss out on rewards on manualStopEmissionsFor invocation
Business logic Medium Audit finding +2 collaborators
-
BalancerOracle::update() can return a stale price
Medium Audit finding +2 collaborators
-
PoolAction::updateLeverJoin wrongly updates assetsIn array, leading to PositionAction4626::_onIncreaseLever to always revert
DoS Medium Audit finding +1 collaborator
-
INFLATION_PROTECTION_TIME can not be up to a year as intended because it is hardcoded to 1749120350
Business logic Medium Audit finding
-
PoolAction::_balancerExit returns wrong token out amount
Business logic Medium Audit finding
-
PositionAction4626.sol#_onWithdraw should withdraw from position CDPVault position instead of address(this)
Business logic Medium Audit finding
-
AuraVault::claim reward calculation does not deduct fees from reward amount, causing DoS or extra rewards lost
Business logic High Audit finding +2 collaborators
-
PositionActionPendle.sol#_onWithdraw does not have slippage parameter minOut set
Business logic Medium Audit finding +2 collaborators
-
Debt position interest is compounded while pool interest is simple causing inconsistency between expectedLiquidity_ and availableLiquidity_
Business logic High Audit finding +2 collaborators
-
PositionAction4626.sol#_onWithdraw should withdraw from position CDPVault position instead of address(this)
Business logic Medium Audit finding +2 collaborators
-
PositionAction.sol#onCreditFlashLoan may have leftover tokens after conducting leverParams.auxSwap
Business logic Medium Audit finding +4 collaborators
-
PositionAction.sol#_deposit incorrectly checks auxSwap.assetIn should be equal to collateralParams.targetToken
Business logic Medium Audit finding
-
Discrepancy between the lastRewadTime and the lastAllPoolUpdate can allow for incorrect reward distribution to pools if registerRewardDeposit deposits less assets
Business logic Medium Audit finding +5 collaborators
-
Bug in claim allows users who are disqualified to claim their previously earned emissions
Business logic Medium Audit finding +1 collaborator
-
PoolV3#repayCreditAccount() use incorrect share converting function to calculate profit and loss
Business logic Medium Audit finding +4 collaborators
-
Incorrect address is used as spender for ERC20 permit signature verification
Smart contracts Medium Audit finding +3 collaborators
-
lastRPS could be set to 0 accidentally
Business logic Medium Audit finding +2 collaborators
-
Rewards might be lost due to the error that _updateRewardIndex() might advance lastBalance without advancing index for a token
Business logic High Audit finding +1 collaborator