The account_liquidate function emits an AccountLiquidated event whose token_assets_value field is filled with the liquidator's pre-liquidation token balance instead of a value for the liquidated account. Off-chain consumers such as analytics tools, dashboards and auditors would therefore read incorrect liquidation data.
The registry contract's transfer restriction check does not reject transfers where the sender and recipient are the same account. An attacker could perform self-transfers, which the report claims may bypass business rules and complicate transaction monitoring.
The account transfer restriction check is skipped entirely when the transfer registry address has not been configured, leaving the partial account transfer function with no permission control. An attacker could then transfer another user's positions and funds to their own account.
Bridge deposits that target an operator, sub-operator or auxiliary account are rejected by the registry's transfer restriction check, so the L2 deposit reverts. The deposited tokens then remain stuck in the L1 bridge with no way to complete the transfer.
The settle_market function only charges the taker fee, ignoring the maker fee, so a user who acts as both taker and maker during settlement can exploit negative fee rates to drain the fee account. Under certain conditions, a malicious actor can repeatedly place and settle orders to steal funds from the fee account.
The protocol's risk check for a trade omits the referral fee that a counterparty may receive when they are also the referrer, so a trade that would be safe after accounting for that fee can be wrongly rejected. An attacker cannot exploit this; it is a correctness issue that may cause valid trades to fail.
The transfer function requires the sender to keep a positive free balance after moving collateral, but the account_transfer_partial function lets a user move collateral while only requiring a positive excess balance. An attacker could therefore move collateral out of an account that would otherwise fail the stricter free-balance check.
The account_transfer_partial function does not verify that the receiver address has a registered account, allowing transfers to unregistered addresses. This can lead to positions being held by an unregistered account that is not tracked by accounting functions or flagged for liquidation, potentially causing protocol insolvency.
The account_transfer_partial function checks the sender's account health only before transferring collateral, not after. An attacker near liquidation can transfer all collateral to another account they control, leaving the original position undercollateralised and avoiding liquidation.
The transfer function only checks that the sender's free balance is non-negative after a transfer, without adjusting for the current USDC price. An attacker could transfer collateral when USDC is overpriced, leaving the account apparently healthy, then withdraw from the recipient account, potentially causing the original account to become undercollateralised when prices normalise.
The Paraclear contract's getAccountValue function converts a signed integer account value to an unsigned felt252, so negative values become huge positive numbers. This breaks the Vaults' liquidation check and total assets calculation, allowing deposits into liquidated vaults and causing share inflation/deflation.
The Paraclear contract's get_account_free_balance function converts a signed i128 free balance to an unsigned felt252, so a negative balance becomes a huge positive number. The vault's withdrawal logic then treats the account as having ample free balance and allows a FAST withdrawal instead of falling back to STANDARD, potentially pushing the account closer to liquidation.
The is_risky check in the trading contract lets a user reduce an unhealthy position as long as the account value is non-negative, but it ignores the trade fee that is deducted afterwards. This can push the account value below zero and leave the protocol with bad debt.
The configurator role can set critical financial parameters such as margin requirements, liquidation fees, and trading fees without any upper bounds. A malicious configurator could set extreme values to make all user positions instantly unhealthy and then liquidate them, extracting excessive penalties and fees to drain the protocol.
The oracle contract's price update function allows an executor to set prices with timestamps older than the current stored timestamp, and to use inconsistent timestamps across assets. An attacker with executor privileges could roll back prices to stale values, potentially causing incorrect liquidations or settlement payouts.
The protocol places no cap on how many positions a single account can hold, and each position is a node in a linked list that several vault functions must walk through. A malicious operator and sub-operators could open many positions so that deposit and withdrawal calls iterate excessively, potentially blocking users from withdrawing funds.
A single address could act as operator of one vault and sub-operator of another, because registration never checked whether the operator was already a sub-operator elsewhere. This let a malicious operator bypass the transfer restriction logic and move another vault's user funds into their own vault, then withdraw them.
The vault's total-assets calculation converts a signed account value into an unsigned integer without checking for negatives. If a sub-operator's account value goes negative before liquidation, the conversion produces an enormous total, so new deposits mint zero shares and the funds are effectively donated to the vault.
The settle_trade_v2 function checks that the two orders have different side values, but since only side equal to 1 is treated as positive and all other values as negative, two orders with side values -1 and 2 pass the check despite both being short. An attacker could execute two orders in the same direction, causing an imbalance between long and short positions.
The settle_trade_v2 function only checks the top-level trade size and never validates the maker_order.size or taker_order.size fields inside the trade request. An attacker could submit a malformed trade whose internal order sizes are invalid, which the contract would still process, potentially causing inconsistency between the UI and the smart contract.
The admin-only function that links perpetual asset balances for an account does not check for cycles, so a link can point back to itself. Any function that loads account state then loops forever and reverts with an out-of-gas error, making the contract unusable.
The position transfer function emits token balance update events that always use the initial balance as the previous amount, rather than the actual balance before each transfer. This makes event data misleading for systems that track intermediate balance changes.
The deposit function scales the amount by a factor of 100, so deposits below 100 result in zero tokens transferred but the internal balance is still increased by the original amount. An attacker can repeatedly make tiny deposits on behalf of any user, inflating their internal balance and creating a mismatch with the contract's real token balance, which can prevent legitimate withdrawals.
The account_transfer_partial function did not validate the signed amount_collateral parameter, allowing a negative value to bypass the balance check and increase the sender's balance. An attacker could then drain all funds from the contract.
The transfer_internal function in the smart contract always sets the is_liquidation flag to 1, even for regular transfers. This causes all emitted events to be marked as liquidation transfers, so off-chain monitoring cannot distinguish between normal and liquidation transfers.
The vault records deposited assets per receiver only when a deposit is made, but share tokens can be transferred or traded without updating that record. A user who buys shares on the market has a zero recorded deposit, so on withdrawal the yield fee is charged on the whole share value rather than only the profit, overcharging them.
The transfer restriction checks in the Paraclear contract are skipped entirely when the transfer registry address is zero, so any transfer restrictions (such as blacklists or limits) are not enforced. An attacker could then perform unauthorised transfers of user funds that would otherwise be blocked.
The vault's max_deposit and max_withdraw functions do not account for all global restrictions, such as the owner's share balance or paused withdrawals, so they can return non-zero values when deposits or withdrawals are actually disallowed. This can mislead users or integrators relying on these functions.
The referral-setting function did not check that an account and its referrer were different addresses, so an account could be made its own referrer. This would let that account collect both the referral discount and the referral commission on the same trades, reducing fees paid to the protocol.
The vault contract only enforces a maximum lockup period during deployment and when updating, but does not enforce the documented minimum of 1 day. The owner could set a lockup period below the intended minimum, causing the actual lockup to differ from the documented range.
PA
Paradex
Informational
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.