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