The CamelotRelayer and UniV3Relayer contracts compute a multiplier as 18 minus the quote token's decimals, which underflows when the token has more than 18 decimals. This prevents deployment of the relayer for such tokens, limiting the protocol's compatibility.
The Vault721 contract tracks the next NFT ID via the ODSafeManager's _safeId, which resets to zero when governance changes the safe manager address. This causes minting to revert because the new manager tries to mint an NFT with an ID that already exists.
When a safe is transferred to a new owner, the handlerCan mapping that stores which addresses are allowed to act on the safe's handler is not cleared. An attacker who previously owned the safe could still use those permissions to bypass handlerAllowed checks on the new owner's safe.
The BasicActions contract lacks an allowSAFE() function, so proxy contracts cannot grant other addresses permission to manage a Safe. This blocks several critical operations for authorised users.
The debt auction function checks the available bad debt before settling it, so after settlement the remaining debt can fall below the minimum bid size, yet the auction still starts. An attacker could start an auction for non-existent debt, diluting the protocol token.
The auctionSurplus function used the wrong constant (ONE_HUNDRED_WAD instead of WAD) in a comparison and a multiplication, so a surplus auction could be created with an amount to sell that was about 100 times too large, and even when the transfer percentage was 100% an auction would still be created while the full surplus was also transferred. An attacker could exploit this to buy large amounts of system coins cheaply, causing massive price imbalances and destabilising the protocol.
The transferSAFEOwnership function does not clear the safeCan mapping, so addresses previously granted permission to a safe retain access even after ownership changes. If the original owner later regains the safe, those addresses can still perform critical operations on it.
The CamelotRelayer contract uses Uniswap V3's OracleLibrary to fetch price data from a Camelot pool, but Camelot pools lack the required functions (slot0, observations, observe), causing calls to revert. As a result, the price lookup feature does not work, breaking the contract's functionality.
The enterSystem function in ODSafeManager reads the locked collateral and generated debt of the destination safe handler instead of the source, so it transfers the wrong amounts. This breaks the function's intended behaviour and can cause it to fail or move incorrect collateral and debt.
The smart contracts for Camelot and UniswapV3 relayers used testnet factory addresses and an incorrect interface for fetching the Camelot pair. If deployed as-is, the relayers would not function, preventing integration with those decentralised exchanges.
The governance contract was deployed with a voting delay of 1 block and a voting period of 15 blocks, which on Arbitrum (average block time 0.26 seconds) gives users only about 4 seconds to vote. This makes it practically impossible for enough token holders to participate and reach quorum, effectively disabling governance.
The Vault721 contract's tokenURI function does not revert for non-existent token IDs, violating the ERC721 metadata specification. An attacker could call tokenURI with an invalid ID and receive a URI instead of an error, potentially causing confusion or integration issues.
The transferCollateral function in ODSafeManager did not check that the destination address was a valid safe handler, allowing collateral to be transferred to any ordinary address. This broke the invariant that each safe has a corresponding SAFEHandler and could let users interact with SAFEEngine directly, bypassing ODSafeManager.
The protocol's proxy contract uses delegatecall to a BasicActions contract to pay taxes on debt operations, but since the target can be any contract, a user can deploy a fake BasicActions without tax payment and bypass taxes. An attacker could interact with the protocol without paying taxes, causing a loss of protocol fees.
The SAFEHandler contract lacks any method to call ODSafeManager.allowHandler(), so the handlerCan mapping is never set for a safe handler. Consequently, the handlerAllowed modifier always reverts for enterSystem() and quitSystem(), making these functions uncallable.
The allowSAFE function used a modifier that allowed any previously approved address to grant further approvals on the owner's safe. An approved address could therefore give another address permission to act on the safe, which the owner did not intend.
OD
Open Dollar
Medium
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.