The upgradeToAndCall function calls the proxy itself after upgrading, which is inefficient because the proxy only has privileged functions and the proxy owner is unlikely to be the proxy. This could cause the call to fail or waste gas, but no direct security impact is claimed.
The Timelock contract's executeTransaction function makes an external call without limiting the gas forwarded or protecting against large return data. A malicious target contract could return a huge payload, forcing the admin to pay excessive gas for memory allocation, or consume most of the forwarded gas for its own purposes.
The timelock contract's cancelTransaction function sets the queued flag for a transaction hash to false without checking that the hash was actually queued. If the admin supplies incorrect inputs, the call emits a cancellation event for a transaction that was never queued while leaving the real queued transaction untouched.
The EIP-712 domain separator in the FastWithdrawalLiquidityProvider contract omits the chainId, so signatures are not bound to a specific Ethereum network. An attacker could potentially replay a valid signature from one network on another, leading to unintended withdrawals.
The Multisig contract allows an owner to be replaced with the zero address, which reduces the number of valid owners below the required signature threshold. An attacker with owner privileges could brick the contract, preventing any further transactions or owner changes.
The multisig wallet contract lets owners be added but never adjusts the number of required confirmations upward, so the ratio of required signers to total owners can become very low. The reporter frames this as a design weakness rather than an exploitable vulnerability.
The Gnosis multisig contract allows an owner to be replaced with the zero address, which reduces the number of valid owners while keeping the required signature count unchanged. This can make the contract unusable because it becomes impossible to gather enough valid signatures to execute any transaction.
The report claims that anyone can call notifyForcedRequestTooOld for any account, and by creating many accounts and forcing withdrawals, an attacker can push DeGate into Exodus Mode. This would shut down the project and cause griefing for users.
The report is a security study of DeGate's Exodus mode and forceWithdraw mechanism, finding no exploitable vulnerability. It notes a theoretical but impractical attack on a memory mapping and discusses potential issues with uint248 overflow and ZK circuit robustness, all of which are mitigated or infeasible.
The report notes that the timelock contract does not restrict which functions can be queued, so a compromised multisig could queue transactions other than upgrades, such as proxy ownership changes. It also notes that implementation contracts are left uninitialised, which could become dangerous if a future implementation uses delegatecall.
The ExchangeV3 contract's initialize function uses a modifier that checks two storage slots to determine if the contract is already initialized. After a proxy upgrade, these slots are non-empty, so the new implementation cannot be re-initialized, leaving the Loopring address and DOMAIN_SEPARATOR unchangeable.
The DefaultDepositContract's fee-on-transfer token handling relies on an admin-set flag that must be configured before each deposit, which is impractical. An attacker can deposit a fee-on-transfer token without the flag set, then withdraw more than deposited, stealing other users' tokens from the pool.
The proxy ownership transfer function writes the new owner address directly into storage in a single step, with no confirmation from the recipient. If the owner passes a wrong or uncontrolled address, the proxy owner role is lost and no one can upgrade the proxy.
The proxy ownership transfer function lets the current owner set a new owner in a single step, with no check that the new address differs from the current one and no two-step confirmation. A malicious or careless operator could hand control to a compromised or invalid address, which the report says could lead to theft or permanent freezing of funds.
The Timelock contract's executeTransaction function treats a call to an address with no code as successful, so a queued transaction aimed at a non-existent or not-yet-deployed contract is marked as executed. An admin could therefore believe an upgrade or token interaction happened when it did not, forcing a repeat and adding delay.
The timelock contract's executeTransaction function makes an external call without a gas limit and returns unbounded bytes, so a malicious target can consume the remaining gas and cause the timelock to run out of gas. This makes execution results non-deterministic and could be used for a grieving attack.
The signature verification function returns true when given empty arrays of signers and signatures because it does not check that the arrays are non-empty. An attacker could bypass signature validation if this function were used, but the report notes it is not currently used in the protocol.
The multisig wallet's executeTransaction function can be called by anyone after a failed execution attempt, because the low-level call does not revert the whole transaction and the executed flag is set to false. An attacker could then trigger the timelock upgrade at an unintended time, potentially changing the proxy's implementation logic within the same block.
The timelock contract computes a transaction hash from the target, value, signature, data and eta, so queueing two identical calls with the same eta produces the same hash and the second overwrites the first. An admin could be deceived into thinking two transactions are queued when only one is, and the second cannot be executed.
The DeGate Exchange contract is controlled by a single externally owned account (EOA) through an owner contract, allowing that key holder to unilaterally call privileged functions such as shutdown() and setDepositParams(). An attacker with the private key could irreversibly stop the exchange or change critical parameters.
The DepositContractProxy is owned by an externally owned account (EOA) controlled by the DeGate Operator, who can disable ERC-20 balance checks. This could allow the operator to manipulate deposit amounts for special tokens, potentially leading to theft or freezing of funds.
The ExchangeV3 contract allows the owner to set deposit fees without any value limit or rate limit. A malicious owner can front-run a user's Ether deposit where msg.value exceeds the amount parameter, temporarily set the deposit fee to the difference, and then withdraw that difference as fees.
The MultiSigWallet contract allows an owner to be replaced with the zero address via replaceOwner, and owners can remove themselves, which can make the required number of confirmations equal to the number of owners. A group of malicious owners can then lock the wallet by ensuring that no future transaction can ever gather enough confirmations, preventing upgrades or any other operation.
The getTransactionIds function in a multisig wallet contract has an off-by-one error in its array length calculation and loop bounds, causing it to omit the last transaction ID in the requested range. An attacker could not exploit this directly, but callers relying on the function would receive incomplete data.
The DepositProxy contract's implementation can be initialised by anyone because the upgrade and initialise steps are separate transactions. An attacker can front-run the initialise call to set the exchange address to their own, then call withdraw to steal all funds held by the proxy.
The Timelock contract allows an admin to queue and execute arbitrary transactions, including sending funds to a contract that cannot return them. If the admin account is compromised, an attacker could permanently freeze funds by sending them to a contract with no withdrawal function.
The report claims that the smart contract assigns proposal IDs by simply incrementing an integer without checking for uniqueness, so two proposals submitted in quick succession could receive the same ID. This could lead to duplicate approvals and loss of funds if the proposal involves refunds.
The implementation upgrade and initialisation of the ExchangeV3 proxy were performed in separate transactions, leaving a window where anyone could call the permissionless initialize function. An attacker could front-run the legitimate initialisation to set a malicious Loopring address, potentially unnoticed by the owners.
The TimeLock contract's queueTransaction function does not enforce an upper bound on the eta parameter, allowing the admin to queue a transaction with an execution time far beyond the intended maximum delay of 365 days. This could cause an unforeseen delay in upgrades if the eta is set too far in the future.
The deployment script initialises proxy contracts in separate transactions, leaving a window where anyone can call the unprotected initialize function first and become the owner. An attacker could front-run the deployment to take ownership of the proxies and set arbitrary deposit and exchange contract addresses.
DE
DeGate
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.