Skip to content

Code4rena

LI.FI contest

Every publicly disclosed report for LI.FI contest and what kind of bugs they were.

disclosed reports
15
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find LI.FI contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what LI.FI contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Swap functions are Reenterable – Medium – – – 5 May 2022
AnyswapFacet can be exploited to approve arbitrary tokens. Smart contracts Medium – – – 5 May 2022
WithdrawFacet’s withdraw calls native payable.transfer , which can be unusable for DiamondStorage owner contract DoS Medium – – – 5 May 2022
ERC20 bridging functions do not revert on non-zero msg.value Business logic Medium – – – 5 May 2022
cBridge integration fails to send native tokens Business logic Medium – – – 5 May 2022
LibSwap: Excess funds from swaps are not returned Business logic Medium – – – 5 May 2022
Anyone can get swaps for free given certain conditions in swap . Business logic Medium – – – 5 May 2022
All swapping functions lack checks for returned tokens Business logic High – – – 5 May 2022
Reliance on lifiData.receivingAssetId can cause loss of funds Business logic High – – – 5 May 2022
msg.value is Sent Multipletimes When Performing a Swap Business logic Medium – – – 5 May 2022
Should prevent users from sending more native tokens in the startBridgeTokensViaCBridge function Business logic Medium – – – 5 May 2022
Reputation Risks with contractOwner Access control Medium – – – 5 May 2022
DexManagerFacet: batchRemoveDex() removes first dex only Business logic Medium – – – 5 May 2022
Failed transfer with low level call won’t revert Business logic Medium – – – 5 May 2022
Infinite approval to an arbitrary address can be used to steal all the funds from the contract Access control Medium – – – 5 May 2022