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
Disclosed reports
Newest first. Only what LI.FI contest chose to make public.
-
Swap functions are Reenterable
Medium Audit finding
-
AnyswapFacet can be exploited to approve arbitrary tokens.
Smart contracts Medium Audit finding
-
ERC20 bridging functions do not revert on non-zero msg.value
Business logic Medium Audit finding
-
cBridge integration fails to send native tokens
Business logic Medium Audit finding
-
LibSwap: Excess funds from swaps are not returned
Business logic Medium Audit finding
-
Anyone can get swaps for free given certain conditions in swap .
Business logic Medium Audit finding
-
All swapping functions lack checks for returned tokens
Business logic High Audit finding
-
Reliance on lifiData.receivingAssetId can cause loss of funds
Business logic High Audit finding
-
msg.value is Sent Multipletimes When Performing a Swap
Business logic Medium Audit finding
-
Should prevent users from sending more native tokens in the startBridgeTokensViaCBridge function
Business logic Medium Audit finding
-
Reputation Risks with contractOwner
Access control Medium Audit finding
-
DexManagerFacet: batchRemoveDex() removes first dex only
Business logic Medium Audit finding
-
Failed transfer with low level call won’t revert
Business logic Medium Audit finding
-
Infinite approval to an arbitrary address can be used to steal all the funds from the contract
Access control Medium Audit finding