Code4rena
Polynomial Protocol contest
Every publicly disclosed report for Polynomial Protocol contest and what kind of bugs they were.
- disclosed reports
- 33
- most reported class
- Business logic
- bug classes found
- 2
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Polynomial Protocol contest chose to make public.
-
Short positions can be burned while holding collateral
Business logic High Audit finding +5 collaborators
-
Division by zero error causes KangarooVault to be DoS with funds locked inside
DoS High Audit finding
-
Incorrect calculation of usedFunds in LiquidityPool leads to lower than expected token price
Business logic High Audit finding +2 collaborators
-
Function hedgePositions is incorrect, because it missed the queuedPerpSize in the calculation
Business logic High Audit finding
-
Denial of service of Liquiditypool QueuedWithdrawals
DoS High Audit finding +1 collaborator
-
Inexpedient liquidatable logic that could have half liquidable position turns fully liquidable instantly
Business logic High Audit finding +1 collaborator
-
Users can receive less collateral than expected from liquidations
Business logic Medium Audit finding +4 collaborators
-
LiquidityPool._getDelta and LiquidityPool._calculateMargin functions should execute require(!isInvalid && spotPrice > 0) instead of require(!isInvalid || spotPrice > 0)
Business logic Medium Audit finding +3 collaborators
-
LiquidityPool can be DoS when a complete withdrawal is performed
DoS Medium Audit finding +1 collaborator
-
Malicious users can exploit deposit and withdrawal queueing in KangarooVault and LiquidityPool contracts to force exorbitant transaction fees
DoS Medium Audit finding +6 collaborators
-
Attacker can post-running attack to prevent LiquidityPool from hedging by orders of PerpMarket
Business logic Medium Audit finding
-
Possible spamming attack in opening or closing Long or Short Positions in Exchange.openTrade
DoS Medium Audit finding +1 collaborator
-
First Depositors will incurr a rebalancing Loss
Business logic Medium Audit finding
-
Lack of price validity check from Synthetix results in loss of funds while liquidating
Business logic Medium Audit finding +2 collaborators
-
KangarooVault.initiateDeposit , KangarooVault.processDepositQueue , KangarooVault.initiateWithdrawal , and KangarooVault.processWithdrawalQueue functions do not use whenNotPaused modifier
Business logic Medium Audit finding +4 collaborators
-
Short positions with minimum collateral can be liquidated even though canLiquidate() returns false
Business logic Medium Audit finding +2 collaborators
-
Missing totalFunds update in LiquidityPool’s OpenShort() , causing LiquidityPool token holder to lose a portion of their token value
Business logic High Audit finding +4 collaborators
-
Supply drain of PowerPerp tokens through liquidations
Business logic Medium Audit finding
-
KangarooVault QueuedWithdraw Denial of Service
DoS High Audit finding
-
Some functions that call Exchange.getMarkPrice function do not check if Exchange.getMarkPrice function’s returned markPrice is 0
Business logic Medium Audit finding
-
Users’ collateral could get stuck permanently after fully closing short trades
Business logic Medium Audit finding
-
Collateral removal not possible
Business logic Medium Audit finding +4 collaborators
-
Exchange._liquidate function can cause liquidator to burn too much powerPerp tokens
Business logic High Audit finding
-
Hedging during liquidation is incorrect
Business logic High Audit finding
-
KangarooVault.removeCollateral updates storage without actually removing collateral, resulting in lost collateral
Business logic High Audit finding +7 collaborators
-
Uneven deduction of performance fee causes some KangarooVault users to lose part of their token value
Business logic High Audit finding
-
Excessive trading fees can result in 99.9% collateral loss for the trader
Business logic High Audit finding