Skip to content

Code4rena

Dopex

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

disclosed reports
29
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Dopex on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Dopex chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Users can get immediate profit when deposit and redeem in PerpetualAtlanticVaultLP Business logic High – – – 29 Dec 2023
UniV3LiquidityAMO::recoverERC721 will cause ERC721 tokens to be permanently locked in rdpxV2Core Access control High – – – 29 Dec 2023
The settle feature will be broken if attacker arbitrarily transfer collateral tokens to the PerpetualAtlanticVaultLP Business logic High – – – 29 Dec 2023
Bonding WETH discounts can drain WETH reserves of RdpxV2Core contract to zero Business logic Medium – – – 29 Dec 2023
The vault allows “free” swaps from WETH to RDPX Business logic Medium – – – 29 Dec 2023
No mechanism to settle out-of-money put options even after Bond receipt token is redeemed. Business logic Medium – – – 29 Dec 2023
reLP() mintokenAAmount the calculations are wrong Business logic Medium – – – 29 Dec 2023
_curveSwap: getDpxEthPrice and getEthPrice is in wrong order Business logic Medium – – – 29 Dec 2023
Missing slippage parameter on Uniswap addLiquidity() function Smart contracts Medium – – – 29 Dec 2023
The owner of RPDX Decaying Bonds is not updated on token transfers Business logic Medium – – – 29 Dec 2023
reLPContract.reLP() is susceptible to sandwich attack due to user control over bond() Race condition Medium – – – 29 Dec 2023
A malicious early depositor can manipulate the LP-Token price per share to take an unfair share of future user deposits Smart contracts Medium – – – 29 Dec 2023
Change of fundingDuration causes “time travel” of PerpetualAtlanticVault.nextFundingPaymentTimestamp() Business logic Medium – – – 29 Dec 2023
User that delegate eth to RdpxV2Core will incur loss if his delegated eth fulfilled by decaying bonds Business logic Medium – – – 29 Dec 2023
User can avoid paying high premium price by correctly timing his bond call Business logic Medium – – – 29 Dec 2023
Cannot withdraw RDPX if WETH withdrawn is zero Business logic Medium – – – 29 Dec 2023
No slippage protection for bonders Business logic Medium – – – 29 Dec 2023
sync function in RdpxV2Core.sol should be called in multiple scenarios to account for the balance changes that occurs Smart contracts Medium – – – 29 Dec 2023
Inaccurate swap amount calculation in ReLP leads to stuck tokens and lost liquidity Business logic Medium – – – 29 Dec 2023
The RdpxV2Core contract allows anyone to call redeem tokens even if the contract is paused Business logic Medium – – – 29 Dec 2023
Return values of approve() not checked Smart contracts Medium – – – 29 Dec 2023
Using block.timestamp as the deadline/expiry invites MEV Business logic Medium – – – 29 Dec 2023
Unsafe use of transfer() / transferFrom() with IERC20 Smart contracts Medium – – – 29 Dec 2023
The peg stability module can be compromised by forcing lowerDepeg to revert Business logic High – – – 29 Dec 2023
Incorrect precision assumed from RdpxPriceOracle creates multiple issues related to value inflation/deflation – High – – – 29 Dec 2023
ReLPContract wrongfully assumes protocol owns all of the liquidity in the UniswapV2 pool DoS High – – – 29 Dec 2023
Bond operations will always revert at certain time when putOptionsRequired is true DoS High – – – 29 Dec 2023
Put settlement can be anticipated and lead to user losses and bonding DoS Business logic High – – – 29 Dec 2023
Improper precision of strike price calculation can result in broken protocol – High – – – 29 Dec 2023