Skip to content

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
Find LoopFi on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what LoopFi chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
There is a calculation error in AuraVault::redeem() Smart contracts High – – – 17 Feb 2025
Flashlender.sol#flashLoan() should use mintProfit() to mint fees, as the current implementation may lead to locked up WETH in PoolV3 Business logic High – – – 17 Feb 2025
decreaseLever uses incorrect position address when withdrawing Business logic High – – – 17 Feb 2025
An infinite loop in MultiFeeDistribution.sol withdraw DoS High – – – 17 Feb 2025
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 – – – 17 Feb 2025
SwapAction::getSwapToken will return wrong swap token for balancer EXACT_OUT swaps Business logic Medium – – – 17 Feb 2025
Lack of Slippage Control in AuraVault::deposit and AuraVault::mint Functions Can Lead to Unexpected Financial Losses for Users Business logic Medium – – – 17 Feb 2025
WhenNotPaused modifier in the CDPVault can be bypassed by users Access control Medium – – – 17 Feb 2025
Honest users could be permanently DOS’d from withdrawing their vested tokens/rewards DoS Medium – – – 17 Feb 2025
The debt in EligibilityDataProvider::requiredUsdValue() needs to be converted into USD; otherwise, it is not a correct value comparison Business logic Medium – – – 17 Feb 2025
Rewards may be spread out among the wrong time period due to the way the protocol calculates it Business logic Medium – – – 17 Feb 2025
Emission schedule is not followed and can cause unexpected allocation of rewards Business logic Medium – – – 17 Feb 2025
Usage of lastEligibleStatus can cause user to miss out on rewards on manualStopEmissionsFor invocation Business logic Medium – – – 17 Feb 2025
BalancerOracle::update() can return a stale price – Medium – – – 17 Feb 2025
PoolAction::updateLeverJoin wrongly updates assetsIn array, leading to PositionAction4626::_onIncreaseLever to always revert DoS Medium – – – 17 Feb 2025
INFLATION_PROTECTION_TIME can not be up to a year as intended because it is hardcoded to 1749120350 Business logic Medium – – – 17 Feb 2025
PoolAction::_balancerExit returns wrong token out amount Business logic Medium – – – 17 Feb 2025
PositionAction4626.sol#_onWithdraw should withdraw from position CDPVault position instead of address(this) Business logic Medium – – – 17 Feb 2025
AuraVault::claim reward calculation does not deduct fees from reward amount, causing DoS or extra rewards lost Business logic High – – – 17 Feb 2025
PositionActionPendle.sol#_onWithdraw does not have slippage parameter minOut set Business logic Medium – – – 17 Feb 2025
Debt position interest is compounded while pool interest is simple causing inconsistency between expectedLiquidity_ and availableLiquidity_ Business logic High – – – 17 Feb 2025
PositionAction4626.sol#_onWithdraw should withdraw from position CDPVault position instead of address(this) Business logic Medium – – – 17 Feb 2025
PositionAction.sol#onCreditFlashLoan may have leftover tokens after conducting leverParams.auxSwap Business logic Medium – – – 17 Feb 2025
PositionAction.sol#_deposit incorrectly checks auxSwap.assetIn should be equal to collateralParams.targetToken Business logic Medium – – – 17 Feb 2025
Discrepancy between the lastRewadTime and the lastAllPoolUpdate can allow for incorrect reward distribution to pools if registerRewardDeposit deposits less assets Business logic Medium – – – 17 Feb 2025
Bug in claim allows users who are disqualified to claim their previously earned emissions Business logic Medium – – – 17 Feb 2025
PoolV3#repayCreditAccount() use incorrect share converting function to calculate profit and loss Business logic Medium – – – 17 Feb 2025
Incorrect address is used as spender for ERC20 permit signature verification Smart contracts Medium – – – 17 Feb 2025
lastRPS could be set to 0 accidentally Business logic Medium – – – 17 Feb 2025
Rewards might be lost due to the error that _updateRewardIndex() might advance lastBalance without advancing index for a token Business logic High – – – 17 Feb 2025