Skip to content

Sherlock

Elfi

Every publicly disclosed report for Elfi and what kind of bugs they were.

disclosed reports
57
most reported class
Business logic
bug classes found
4
first disclosure
2024
Find Elfi on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Elfi chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Improper implementation of the `PositionMarginProcess.updatePositionFromBalanceMargin()` function Business logic High – – – 4 Jul 2024
Future upgrades may be difficult or impossible Misconfiguration Medium – – – 4 Jul 2024
The USer will receive less amount than user expected Business logic Medium – – – 4 Jul 2024
Closing partial positions miscounts the settled fees Business logic High – – – 4 Jul 2024
Position net value is using outdated fees Business logic High – – – 4 Jul 2024
Long orders always pays lesser in fees while short orders always pays higher due to oracle pricing Business logic High – – – 4 Jul 2024
Increasing leverage can make the position have "0" `initialMargin` Business logic High – – – 4 Jul 2024
Pool value calculation skips accounting for stable token losses and short uPnL Business logic High – – – 4 Jul 2024
If the stake token is minted from portfolio vault, positions from balances are not decreased Business logic High – – – 4 Jul 2024
Incorrect settleFee process for cross-margin account Business logic Medium – – – 4 Jul 2024
If stable tokens depeg, short funding fees will not be accounted properly Business logic Medium – – – 4 Jul 2024
Submitting mint request using user's trading balance and cancelling it will not refund tokens back to trading account Business logic High – – – 4 Jul 2024
LpPool's can become insolvent if shorters are in huge profits Business logic High – – – 4 Jul 2024
Traders may decrease the loss via decrease the position's margin Business logic High – – – 4 Jul 2024
Lack of oracle setting in autoReducePositions DoS Medium – – – 4 Jul 2024
In Cross Margin mode, the user’s profit calculation is incorrect Business logic High – – – 4 Jul 2024
The implementation of `payExecutionFee()` didn't take `EIP-150` into consideration. Keepers can steal additional execution fee from users Business logic Medium – – – 4 Jul 2024
Unbacked tokens can be used for opening positions Business logic Medium – – – 4 Jul 2024
Users can use weth to replace any margin token in createUpdatePositionMarginRequest() Business logic High – – – 4 Jul 2024
Keepers can open positions that are already liquidatable Business logic High – – – 4 Jul 2024
If cross positions use the same margin token as collateral and close without liability, then fee accounting will be completely wrong Business logic High – – – 4 Jul 2024
Incorrect implementation of the `PositionMarginProcess.updatePositionFromBalanceMargin()` function Business logic High – – – 4 Jul 2024
Anyone can change the balance of an account to drain the entire portfolio vault Access control High – – – 4 Jul 2024
Pool value does not consider the open funding fees Business logic High – – – 4 Jul 2024
redeem stake token may be Dos because there is not enough balance in stake pool DoS High – – – 4 Jul 2024
`updateAllPositionFromBalanceMargin` function mistakenly increments positions "fromBalance" Business logic High – – – 4 Jul 2024
Use of outdated liability value in decreasePosition leads to account error Business logic Medium – – – 4 Jul 2024
Attacker can inflate stake rewards as he wants Business logic High – – – 4 Jul 2024
Keepers loss gas is never accounted Business logic Medium – – – 4 Jul 2024
Contract will reach a point where users will not be able to call `deposit` Business logic Medium – – – 4 Jul 2024