The ABONDToken transferFrom function updates the sender's user state on msg.sender instead of the from address, breaking accounting and allowing an attacker to duplicate user states. This lets an attacker call redeemYields with an inflated ethBacked amount and withdraw more ETH from the Treasury than entitled.
A CDS depositor can withdraw their full deposit after a price drop and recovery, leaving later depositors unable to withdraw because the shared accounting variable underflows. The attacker gains at the expense of other users.
Liquidation profits are calculated and stored but never distributed to CDS depositors when they withdraw, so depositors bear losses instead of receiving profits.
The withdraw function in the borrowing contract incorrectly increases the downside protected amount when a borrower withdraws at a loss. This inflated downside protected value is then subtracted when calculating option fees, causing CDS depositors to receive more fees than they should, effectively stealing funds from other users.
When a CDS depositor who did not opt in for liquidation withdraws, the profit tax owed to the protocol is never recorded in the treasury. The tax amount therefore becomes stuck in the contract instead of being accounted for.
The CDS withdraw function reads global state into memory, transfers ETH to the user via a low-level call, and only later writes the in-memory state back, overwriting any changes made during the call. A malicious user can reenter the borrowing contract to modify the global state, which is then overwritten, leading to incorrect calculations and potentially blocking withdrawals.
The renewal eligibility check in BorrowLib.getOptionFeesToPay() uses a logical AND between two timestamp comparisons that can never both be true, so the check never reverts. An attacker can call renewOptions() at any time, outside the intended 15-to-30-day window.
A borrower deposit after all previous borrowers have withdrawn resets the CDS pool value, discarding accumulated profits. This causes a CDS depositor's withdrawal to underflow, locking their profit and potentially their entire deposit.
In the Liquidation Type 1 process, when no cross-chain amount is needed, the Ether refund is sent to the borrower instead of the admin who acted as liquidator. This causes the admin to lose funds that should have been refunded to them.
The redeemUSDT function in the CDS contract accepts USDA and USDT prices from the user without validation. An attacker can supply incorrect prices to receive more USDT than entitled, potentially draining the protocol's funds.
In the liquidationType1 function, the code updates the abondUSDaPool state instead of the usdaGainedFromLiquidation state. As a result, the usdaGainedFromLiquidation value always remains zero, so yield calculations in redeemYields that depend on it always produce zero.
The deposit function accepted a strike price and strike percent that were not checked against each other, so a user could pick a high strike percent to pay lower option fees while also picking a low strike price to keep the larger payout. This mismatch could reduce fees collected and cause financial loss to the protocol.
On the MODE chain, the liquidation function can fail because the fallback liquidation method relies on the Synthetix protocol, which is not available there. This causes a denial of service for liquidations until enough USDa is available in the CDS pool.
The liquidation function does not reduce the recorded vault value when collateral is allocated to CDS depositors, so the stored CDS/borrow ratio stays lower than the real one. This can wrongly keep the ratio below the 0.2 threshold, preventing users from minting new stablecoins and CDS users from withdrawing.
The Synthetix wrapper contract on the OP Chain is an empty wrapper that does not support the mint() interface, so the liquidationType2 function reverts when it tries to wrap WETH to sETH. This means liquidation type 2 cannot work on OP Chain, and if liquidation type 1 is unavailable, liquidations may fail entirely.
The withdrawal function forces users who opted into liquidation to loop over every liquidation event since their deposit, so gas costs grow without bound. Early depositors could eventually be unable to withdraw because the transaction exceeds the block gas limit.
When the last remaining borrower is liquidated, the liquidation function withdraws the bond from the external protocol and updates the interest, but does not check whether any bond supply remains to receive that interest. The interest therefore becomes stuck with no one able to collect it.
When the protocol requests a cross-chain transfer of rsETH to cover a withdrawal, the OFT standard strips decimal precision that cannot be represented in the shared system, so the amount actually received is slightly less than requested. This can leave the treasury short of the amount needed to complete the withdrawal.
The function that forwards cross-chain messages always charges fees for two collateral token transfers plus ETH, even when only ETH needs to be sent. This overcharges users, causing repeated fee losses during events such as liquidations.
The Treasury contract increments its borrower counter only on a user's first deposit but decrements it whenever a user's deposited amount reaches zero, so a user who redeposits and withdraws repeatedly can drive the counter to zero. This causes withdrawals to underflow and revert and resets borrower debt to zero, denying withdrawals and wiping accrued debt.
The depositTokens() and withdraw() functions in the Borrowings contract use the stored lastCumulativeRate before updating it via calculateCumulativeRate(), so the first transaction after a time gap uses an outdated interest rate. This can cause incorrect interest calculations and discrepancies in normalized deposit amounts and borrower debt.
In the `_withdraw` function, `lastEventTime` is updated to the current block timestamp before calling `calculateCumulativeRate`, causing the time interval to be zero and interest not to accrue for that period. This results in missed interest for all users on each withdrawal.
The swapCollateralForUSDT function converts leftover collateral to USDT and credits it to the CDS cumulative value but fails to update the total CDS deposit amount. This causes the total deposit amount to be lower than the sum of individual CDS positions, so when a CDS owner tries to withdraw, the subtraction underflows and the transaction reverts.
The withdraw function accepts a signed excessProfitCumulativeValue that is used to compute a depositor's profit, but the signature and value can be replayed across different withdrawals. A malicious CDS owner could reuse a smaller valid value from on-chain data to withdraw more profit than they are owed.
The function that closes a Synthetix short position does not update any global accounting variables, unlike the normal liquidation path. As a result, dCDS depositors cannot withdraw their share of the liquidation proceeds because the protocol never records the available collateral.
The withdrawInterest function checks that the requested amount is covered by the sum of two interest balances, but then subtracts the full amount only from the first balance. If that first balance is smaller than the amount, the subtraction underflows and the transaction reverts, blocking a legitimate withdrawal.
The signature used in the withdraw function can be reused with different odosAssembledData, allowing a borrower to choose a swap input amount smaller than the remaining collateral. This causes part of the collateral to remain locked in the contract and the borrower to receive less USDT than expected.
AC
Autonomint Colored Dollar V1
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.