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 Contract
- Critical
- Level
- USD $50,000
- Payout
- High
- Level
- USD $10,000
- Payout
Assets in scope
- Smart Contract - OAXDEX_GovernanceType
- Smart Contract - OAXDEX_VotingRegistryType
- Smart Contract - OAXDEX_FactoryType
- Smart Contract - OAXDEX_AdministratorType
- Smart Contract - OAXDEX_VotingExecutorType
- Smart Contract - OAXDEX_VotingExecutor1Type
- Smart Contract - OAXDEX_RouterType
- Smart Contract - OSWAP_HybridRouterRegistryType
- Smart Contract - OSWAP_HybridRouter2Type
- Smart Contract - OSWAP_OracleFactoryType
- Smart Contract - OSWAP_OracleRouterType
- Smart Contract - OSWAP_OracleFactoryType
- Smart Contract - OSWAP_OracleRouterType
- Smart Contract - OSWAP_OracleLiquidityProviderType
- Smart Contract - OSWAP_VotingExecutor2Type
- Smart Contract - OSWAP_RangeFactoryType
- Smart Contract - OSWAP_RangeLiquidityProviderType
- Smart Contract - OSWAP_VotingExecutor3Type
- Smart Contract - OSWAP_OraclePairType
- Smart Contract - OSWAP_RangePairType
- Smart Contract - OSWAP_PairType
- Smart Contract - OAXDEX_VotingContractType
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 Contract
- Loss of user funds staked (principal) by freezing or theftCriticalImpact
- Loss of governance fundsCriticalImpact
- Vote manipulationCriticalImpact
- Theft of unclaimed yieldHighImpact
- Freezing of unclaimed yieldHighImpact
- Temporary freezing of funds for at least 180 daysHighImpact
- Smart contract fails to deliver promised returnsLowImpact
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