DeGate-logo

DeGate

DeGate is a decentralized orderbook exchange (DEX) built on the Ethereum blockchain that utilizes zero-knowledge technology. DeGate DEX offers spot market trading with limit orders and also offers a grid trading function.

ETH
Defi
Exchange
DEX
C/C++
Solidity
Maximum Bounty
$1,110,000
Live Since
06 April 2023
Last Updated
08 April 2024
  • PoC required

Select the category you'd like to explore

Assets in Scope

Target
Primacy Of Impact
Type
Websites and Applications
Added on
5 October 2023
Target
Primacy Of Impact
Type
Smart Contract
Added on
5 October 2023
Target
Type
Smart Contract - Exchange Data
Added on
6 April 2023
Target
Type
Smart Contract - IBlock Verifier
Added on
6 April 2023
Target
Type
Smart Contract - IDeposit Contract
Added on
6 April 2023
Target
Type
Smart Contract - IExchange V3
Added on
6 April 2023
Target
Type
Smart Contract - ILoopring V3
Added on
6 April 2023
Target
Type
Smart Contract - Block Verifier
Added on
6 April 2023
Target
Type
Smart Contract - Default Deposit Contract
Added on
6 April 2023
Target
Type
Smart Contract - Exchange V3
Added on
6 April 2023
Target
Type
Smart Contract - Loopring V3
Added on
6 April 2023
Target
Type
Smart Contract - Verification Keys
Added on
6 April 2023

Impacts in Scope

If whitehats can demonstrate a critical impact on code in production for an asset not in scope, DeGate encourages you to submit your bug report using the “primacy of impact exception” asset.

Severity
Critical
Title
Direct theft of funds exceeding 1,000,000 USD from the Default Deposit Contract
Severity
Critical
Title
Permanent freezing of funds exceeding 2,500,000 USD in the Default Deposit Contract
Severity
Critical
Title
Execute arbitrary system commands
Severity
Critical
Title
Retrieve sensitive data/files from a running server such as: /etc/shadow, database passwords, blockchain keys (this does not include non-sensitive environment variables, open source code, or usernames)
Severity
Critical
Title
Taking state-modifying authenticated actions (with or without blockchain state interaction) on behalf of other users without any interaction by that user, such as: changing registration information, making trades, internal transfer, withdrawals, etc.
Severity
Critical
Title
Malicious interactions with an already-connected wallet such as: modifying transaction arguments or parameters, substituting contract addresses, submitting malicious transactions
Severity
High
Title
Theft of funds from the Default Deposit Contract that requires malicious actions from the DeGate Operator
Severity
High
Title
Permanent freezing of funds from the Default Deposit Contract that requires malicious actions from the DeGate Operator
Severity
High
Title
Direct theft of user funds from the Default Deposit Contract that is less than 1,000,000 USD
Severity
High
Title
Permanent freezing of funds in the Default Deposit Contract that is less than 2,500,000 USD
Severity
High
Title
Force DeGate into Exodus Mode
Severity
High
Title
Impact of this malicious contract verification through zk-proof

Out of scope

Program's Out of Scope information

These impacts are out of scope for this bug bounty program.

All Categories:

  • Impacts requiring attacks that the reporter has already exploited themselves, leading to damage
  • Impacts caused by attacks requiring access to leaked keys/credentials
  • Impacts caused by attacks requiring access to privileged addresses (governance, strategist) except in such cases where the contracts are intended to have no privileged access to functions that make the attack possible
  • Impacts relying on attacks involving the depegging of an external stablecoin where the attacker does not directly cause the depegging due to a bug in code
  • Mentions of secrets, access tokens, API keys, private keys, etc. in Github will be considered out of scope without proof that they are in-use in production
  • Best practice recommendations
  • Feature requests
  • Impacts on test files and configuration files unless stated otherwise in the bug bounty program

Blockchain/DLT & Smart Contract Specific:

  • Incorrect data supplied by third party oracles
    • Not to exclude oracle manipulation/flash loan attacks
  • Impacts requiring basic economic and governance attacks (e.g. 51% attack)
  • Lack of liquidity impacts
  • Impacts from Sybil attacks
  • Impacts involving centralization risks
  • Impacts involving balance changes and authority freezes caused by the token contract itself, such as rebase tokens
  • Impacts involving the need to use more than 300 ETH in gas fees to force entry into Exodus Mode through block stuffing, storage occupation, or executing other potential economic

Websites and Apps

  • Theoretical impacts without any proof or demonstration
  • Impacts involving attacks requiring physical access to the victim device
  • Impacts involving attacks requiring access to the local network of the victim
  • Reflected plain text injection (e.g. url parameters, path, etc.)
    • This does not exclude reflected HTML injection with or without JavaScript
    • This does not exclude persistent plain text injection
  • Any impacts involving self-XSS
  • Captcha bypass using OCR without impact demonstration
  • CSRF with no state modifying security impact (e.g. logout CSRF)
  • Impacts related to missing HTTP Security Headers (such as X-FRAME-OPTIONS) or cookie security flags (such as “httponly”) without demonstration of impact
  • Server-side non-confidential information disclosure, such as IPs, server names, and most stack traces
  • Impacts causing only the enumeration or confirmation of the existence of users or tenants
  • Impacts caused by vulnerabilities requiring un-prompted, in-app user actions that are not part of the normal app workflows
  • Lack of SSL/TLS best practices
  • Impacts that only require DDoS
  • UX and UI impacts that do not materially disrupt use of the platform
  • Impacts primarily caused by browser/plugin defects
  • Leakage of non sensitive API keys (e.g. Etherscan, Infura, Alchemy, etc.)
  • Any vulnerability exploit requiring browser bugs for exploitation (e.g. CSP bypass)
  • SPF/DMARC misconfigured records)
  • Missing HTTP Headers without demonstrated impact
  • Automated scanner reports without demonstrated impact
  • UI/UX best practice recommendations
  • Non-future-proof NFT rendering
  • Vulnerabilities primarily caused by browser/plugin defects

Prohibited Activities:

  • Any testing on mainnet or public testnet deployed code; all testing should be done on local-forks of either public testnet or mainnet
  • Any testing with pricing oracles or third-party smart contracts
  • Attempting phishing or other social engineering attacks against our employees and/or customers
  • Any testing with third-party systems and applications (e.g. browser extensions) as well as websites (e.g. SSO providers, advertising networks)
  • Any denial of service attacks that are executed against project assets
  • Automated testing of services that generates significant amounts of traffic
  • Public disclosure of an unpatched vulnerability in an embargoed bounty