OpenSwap
Submit a BugProgram Overview
OpenSwap is an integrated DeFi Hub designed for the evolving decentralized landscape. More than just an AMM exchange, OpenSwap aims to be a one-stop platform offering the best on-chain pricing through its integrated portal.
By enabling trades with other leading AMM DEXs and utilizing Spot Price Liquidity Queues, OpenSwap will offer optimized returns for users for their swaps, especially the ones requiring 2-hop swaps due to shallow AMM pools. OpenSwap AMM (mainly to support $OSWAP pairs), Spot Priority Queues, Spot Range Queues, and Group Restricted Queues are deployed on BSC mainnet. A governance portal is also available to configure risk parameters for the platform such as trade fees, protocol fees, and liquidity queue price adapters. OpenSwap plans to launch liquidity queues to other EVM compatible chains in the future as a step towards the Open Interchain Protocol to enable Interchain swaps.
For more information about OpenSwap, please visit https://www.openswap.xyz
This bug bounty program is focused on their smart contracts and is focused on preventing:
- Thefts and freezing of principal of any amount
- Thefts and freezing of unclaimed yield of any amount
- Theft of governance funds
- Governance activity disruption
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System. This is a simplified 5-level scale, with separate scales for websites/apps and smart contracts/blockchains, encompassing everything from consequence of exploitation to privilege required to likelihood of a successful exploit.
All bug reports must come with a PoC and a suggestion for a fix in order to be considered for a reward.
Known issues from their previous audits are considered out-of-scope. All audit reports can be found here: https://github.com/openswapdex/openswap-core/tree/master/audit.
Payouts are handled by the OpenSwap team directly and are denominated in USD. However, payouts are done in OSWAP which are linearly vested over 6 months.
Smart Contracts and Blockchain
- Critical
- Level
- USD $50,000
- Payout
- high
- Level
- USD $10,000
- Payout
Assets in Scope
All smart contracts of OpenSwap can be found at https://github.com/openswapdex/openswap-core. However, only those in the Assets in Scope table are considered as in-scope of the bug bounty program.
Impacts in Scope
Only the following impacts are accepted within this bug bounty program. All other impacts are not considered as in-scope, even if they affect something in the assets in scope table.
Smart Contracts/Blockchain
- Loss of user funds staked (principal) by freezing or theft
- Loss of governance funds
- Theft of unclaimed yield
- Freezing of unclaimed yield
- Temporary freezing of funds for at least 180 days
- Smart contract fails to deliver promised returns
- Governance activity disruption
- Vote manipulation
- Smart Contract - OAXDEX_Governance
- Type
- Smart Contract - OAXDEX_VotingRegistry
- Type
- Smart Contract - OAXDEX_Factory
- Type
- Smart Contract - OAXDEX_Administrator
- Type
- Smart Contract - OAXDEX_VotingExecutor
- Type
- Smart Contract - OAXDEX_VotingExecutor1
- Type
- Smart Contract - OAXDEX_Router
- Type
- Smart Contract - OSWAP_HybridRouterRegistry
- Type
- Smart Contract - OSWAP_HybridRouter2
- Type
- Smart Contract - OSWAP_OracleFactory
- Type
- Smart Contract - OSWAP_OracleRouter
- Type
- Smart Contract - OSWAP_OracleLiquidityProvider
- Type
- Smart Contract - OSWAP_VotingExecutor2
- Type
- Smart Contract - OSWAP_RangeFactory
- Type
- Smart Contract - OSWAP_RangeLiquidityProvider
- Type
- Smart Contract - OSWAP_VotingExecutor3
- Type
- Smart Contract - OSWAP_OraclePair
- Type
- Smart Contract - OSWAP_RangePair
- Type
- Smart Contract - OSWAP_Pair
- Type
- Smart Contract - OAXDEX_VotingContract
- Type
Prioritized Vulnerabilities
We are especially interested in receiving and rewarding vulnerabilities of the following types:
Smart Contracts and Blockchain
- Re-entrancy
- Logic errors
- including user authentication errors
- Solidity/EVM details not considered
- including integer over-/under-flow
- including rounding errors
- including unhandled exceptions
- Trusting trust/dependency vulnerabilities
- including composability vulnerabilities
- Oracle failure/manipulation
- Novel governance attacks
- Economic/financial attacks
- including flash loan attacks
- Congestion and scalability
- including running out of gas
- including block stuffing
- including susceptibility to frontrunning
- Consensus failures
- Cryptography problems
- Signature malleability
- Susceptibility to replay attacks
- Weak randomness
- Weak encryption
- Susceptibility to block timestamp manipulation
- Missing access controls / unprotected internal or debugging interfaces
Out of Scope & Rules
The following vulnerabilities are excluded from the rewards for this bug bounty program:
- Attacks that the reporter has already exploited themselves, leading to damage
- Attacks requiring access to leaked keys/credentials
- Attacks requiring access to privileged addresses (governance, strategist)
Smart Contracts and Blockchain
- Incorrect data supplied by third party oracles
- Not to exclude oracle manipulation/flash loan attacks
- Basic economic governance attacks (e.g. 51% attack)
- Lack of liquidity
- Best practice critiques
- Sybil attacks
The following activities are prohibited by this bug bounty program:
- Any testing with mainnet or public testnet contracts; all testing should be done on private testnets
- 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
- Automated testing of services that generates significant amounts of traffic
- Public disclosure of an unpatched vulnerability in an embargoed bounty