Skip to content

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

Disclosed reports

Newest first. Only what Polynomial Protocol contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Short positions can be burned while holding collateral Business logic High – – – 1 Aug 2023
Division by zero error causes KangarooVault to be DoS with funds locked inside DoS High – – – 1 Aug 2023
Incorrect calculation of usedFunds in LiquidityPool leads to lower than expected token price Business logic High – – – 1 Aug 2023
Function hedgePositions is incorrect, because it missed the queuedPerpSize in the calculation Business logic High – – – 1 Aug 2023
Denial of service of Liquiditypool QueuedWithdrawals DoS High – – – 1 Aug 2023
Inexpedient liquidatable logic that could have half liquidable position turns fully liquidable instantly Business logic High – – – 1 Aug 2023
Users can receive less collateral than expected from liquidations Business logic Medium – – – 1 Aug 2023
LiquidityPool._getDelta and LiquidityPool._calculateMargin functions should execute require(!isInvalid && spotPrice > 0) instead of require(!isInvalid || spotPrice > 0) Business logic Medium – – – 1 Aug 2023
LiquidityPool can be DoS when a complete withdrawal is performed DoS Medium – – – 1 Aug 2023
Malicious users can exploit deposit and withdrawal queueing in KangarooVault and LiquidityPool contracts to force exorbitant transaction fees DoS Medium – – – 1 Aug 2023
Attacker can post-running attack to prevent LiquidityPool from hedging by orders of PerpMarket Business logic Medium – – – 1 Aug 2023
Possible spamming attack in opening or closing Long or Short Positions in Exchange.openTrade DoS Medium – – – 1 Aug 2023
First Depositors will incurr a rebalancing Loss Business logic Medium – – – 1 Aug 2023
Lack of price validity check from Synthetix results in loss of funds while liquidating Business logic Medium – – – 1 Aug 2023
KangarooVault._resetTrade , LiquidityPool.rebalanceMargin , and LiquidityPool._getTotalMargin functions should check isInvalid , which is returned by external perp market contract’s remainingMargin function, and revert if such isInvalid is true Business logic Medium – – – 1 Aug 2023
KangarooVault.initiateDeposit , KangarooVault.processDepositQueue , KangarooVault.initiateWithdrawal , and KangarooVault.processWithdrawalQueue functions do not use whenNotPaused modifier Business logic Medium – – – 1 Aug 2023
usedFunds can be greater than totalFunds in contract KangarooVault , which leads to KangarooVault being unable to close its trades and users being unable to withdraw Business logic Medium – – – 1 Aug 2023
Short positions with minimum collateral can be liquidated even though canLiquidate() returns false Business logic Medium – – – 1 Aug 2023
Missing totalFunds update in LiquidityPool’s OpenShort() , causing LiquidityPool token holder to lose a portion of their token value Business logic High – – – 1 Aug 2023
Attacker can transfer all SUSD’s balance of LiquidityPool as margin to Synthetix perpetual market, and break the actions of users until the pool is rebalanced by the authority Business logic Medium – – – 1 Aug 2023
Supply drain of PowerPerp tokens through liquidations Business logic Medium – – – 1 Aug 2023
KangarooVault QueuedWithdraw Denial of Service DoS High – – – 1 Aug 2023
Some functions that call Exchange.getMarkPrice function do not check if Exchange.getMarkPrice function’s returned markPrice is 0 Business logic Medium – – – 1 Aug 2023
Users’ collateral could get stuck permanently after fully closing short trades Business logic Medium – – – 1 Aug 2023
Collateral removal not possible Business logic Medium – – – 1 Aug 2023
Exchange._liquidate function can cause liquidator to burn too much powerPerp tokens Business logic High – – – 1 Aug 2023
Hedging during liquidation is incorrect Business logic High – – – 1 Aug 2023
KangarooVault.removeCollateral updates storage without actually removing collateral, resulting in lost collateral Business logic High – – – 1 Aug 2023
Uneven deduction of performance fee causes some KangarooVault users to lose part of their token value Business logic High – – – 1 Aug 2023
Excessive trading fees can result in 99.9% collateral loss for the trader Business logic High – – – 1 Aug 2023