Source
Sherlock
2,911 reports. Last checked 4 hours ago.
Reports
Filter and sortNewest first.
-
Anyone can sell other users' tokens as `fromToken`, and get the `toToken`'s themselves due to `decodeData.payer` is never checkedAccess control High DODO V3 update Audit finding +3 collaborators
-
A user can get more dTokens than they should get via `D3VaultFunding.userDeposit()`, due to accounting issues in `D3VaultLiquidation.liquidate()`Business logic High DODO V3 update Audit finding +3 collaborators
-
liquidationTarget is not set when removing poolSmart contracts Medium DODO V3 update Audit finding
-
Possible loss of FundsBusiness logic Medium DODO V3 update Audit finding +12 collaborators
-
User can perform sandwich attack on withdrawReserves for profitBusiness logic High DODO V3 update Audit finding +1 collaborator
-
D3UserQuote#getUserQuote queries incorrect token for exchangeRate leading to inaccurate quota calculationsBusiness logic Medium DODO V3 update Audit finding +2 collaborators
-
Wrong assignment of `cumulativeBid` for RangeOrder state in getRangeOrderState functionBusiness logic Medium DODO V3 update Audit finding
-
Calculation B0 meets devision 0 error when a token has small decimal and high price with a small kBidDoS Medium DODO V3 update Audit finding
-
When a D3MM pool repays all of the borrowed funds to vault using `D3Funding.sol repayAll`, an attacker can steal double the amount of those funds from vaultBusiness logic High DODO V3 update Audit finding +9 collaborators
-
It's dangerous for makers to set token decimal by manualBusiness logic Medium DODO V3 update Audit finding
-
vault balance not updated in withdrawReserves()Smart contracts High DODO V3 update Audit finding
-
When swapping 18-decimal token to 8-decimal token , user could buy decimal-18-token with 0 amount of decimal-8-tokenBusiness logic Medium DODO V3 update Audit finding
-
borrow amount recorded in AssetInfo and BorrowRecord unmatched due to the precision lossMedium DODO V3 update Audit finding
-
Protocol is completely incompatible with USDT due to lack of 0 approvalBusiness logic Medium DODO V3 update Audit finding +10 collaborators
-
D3VaultFunding#checkBadDebtAfterAccrue is inaccurate and can lead to further damage to both LP's and MMBusiness logic Medium DODO V3 update Audit finding
-
parseAllPrice not support the tokens whose decimal is greater than 18Business logic Medium DODO V3 update Audit finding
-
D3Oracle will return the wrong price if the Chainlink aggregator returns price outside min/max rangeMedium DODO V3 update Audit finding +6 collaborators
-
D3Oracle.getPrice() and D3Oracle.getOriginalPrice() doesn't check If Arbitrum sequencer is down for Chainlink feedsMedium DODO V3 update Audit finding +15 collaborators
-
`D3VaultFunding.userWithdraw()` doen not have mindTokenAmountBusiness logic Medium DODO V3 update Audit finding +4 collaborators
-
Calls to liquidate don't write down totalBorrows which breaks exchange rateBusiness logic High DODO V3 update Audit finding +1 collaborator
-
possible precision loss in D3VaultLiquidation.finishLiquidation() function when calculating realDebt because of division before multiplicationMedium DODO V3 update Audit finding +8 collaborators
-
traceurl - miss updating pool's token balance after finishLiquidation()Business logic High DODO V3 update Audit finding
-
_account_for_withdraw_liquidity rounding in the wrong direction will run out of the vault
Smart contracts Medium Unstoppable Audit finding
-
Interested calculated is ampliefied by multiple of 1000 in `_debt_interest_since_last_update`
Business logic High Unstoppable Audit finding +1 collaborator
-
`MarginDex::execute_limit_order` will always revert
DoS Medium Unstoppable Audit finding
-
Users trying to reduce their positions with market orders will always revert
Business logic Medium Unstoppable Audit finding +2 collaborators
-
The `Vault._to_usd_oracle_price()` function uses the same `ORACLE_FRESHNESS_THRESHOLD` for all token prices feeds which is incorrect
Medium Unstoppable Audit finding +6 collaborators
-
Debt is not updated when removing margin from a position
Business logic Medium Unstoppable Audit finding
-
Spot dex cant handle fee-on-transfer tokens
Business logic Medium Unstoppable Audit finding +3 collaborators
-
Adversary manipulate the middle path when calling `execute_dca_order`, resulting user loss, benefiting the attacker
Business logic High Unstoppable Audit finding +5 collaborators