HydraDX
Submit a BugProgram Overview
HydraDX is a next-gen DeFi protocol which is designed to bring an ocean of liquidity to Polkadot. The tool for the job the HydraDX Omnipool - an innovative Automated Market Maker (AMM) which unlocks unparalleled efficiencies by combining all assets in a single trading pool.
For more information about HydraDX, please visit https://hydradx.io/.
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System V2.2. This is a simplified 5-level scale, with separate scales for websites/apps, smart contracts, and blockchains/DLTs, focusing on the impact of the vulnerability reported.
All web/app bug reports must come with a PoC with an end-effect impacting an asset-in-scope in order to be considered for a reward. All High and Critical blockchain/DLT bug reports require a PoC to be eligible for a reward. Explanations and statements are not accepted as PoC and code are required.
Critical blockchain/DLT vulnerabilities are capped at 10% of economic damage, primarily taking into consideration funds at risk, but also PR and branding aspects, at the discretion of the team. However, there is a minimum reward of USD 50 000.
High blockchain/DLT vulnerabilities are scaled based on internally established team criteria, taking into account the exploitability of the bug, the impact it causes, and the likelihood of the vulnerability presenting itself, which is especially factored in with bug reports requiring multiple conditions to be met that are currently not in place. However, there is a minimum reward of USD 5 000, rewards will be provided at the determined fair value by the team depending on these conditions, assuming that the bug report is in-scope of the bug bounty program.
With regard to blockchain/DLT vulnerabilities, only code involving runtime pallets of HydraDX and pallets developed by Galactic Council are considered as in-scope of the bug bounty program. Pallets that are not in the runtime, are not live or are under development are considered as out-of-scope of the bug bounty program.
Critical web/app vulnerabilities are scaled based on an internally established team criteria, taking into account the exploitability of the bug, the impact it causes, and the likelihood of the vulnerability presenting itself, which is especially factored in with bug reports requiring multiple conditions to be met that are currently not in-place. However, there is a minimum reward of USD 5 000, rewards will be provided at the determined fair value by the team depending on these conditions, assuming that the bug report falls within the scope of the bug bounty program.
Payouts are handled by the HydraDX team directly and are denominated in USD. However, the payouts are done in HDX.
Blockchain/DLT
- Critical
- Level
- USD $50,000 to USD $1,000,000
- Payout
- High
- Level
- USD $5,000 to USD $50,000
- Payout
- Medium
- Level
- USD $5,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Websites and Applications
- Critical
- Level
- USD $5,000 to USD $20,000
- Payout
- High
- Level
- USD $5,000
- Payout
- Medium
- Level
- USD $1,000
- Payout
Assets in scope
- Blockchain/DLT - pallet-omnipoolType
- Blockchain/DLT - adaptersType
- Blockchain/DLT - pallet-asset-registryType
- Blockchain/DLT - pallet-nftType
- Blockchain/DLT - pallet-transaction-multi-paymentType
- Blockchain/DLT - pallet-transaction-pauseType
- Blockchain/DLT - traits libType
- Blockchain/DLT - traits poolType
- Blockchain/DLT - traits registryType
- Blockchain/DLT - pallet-collator-rewardsType
- Blockchain/DLT - omnipool mathType
- TargetWebsites and Applications - main web appType
All blockchain/DLT of HydraDX can be found at https://github.com/galacticcouncil. However, only those in the “Assets in Scope” table are considered as in-scope of the bug bounty program.
If an impact can be caused to any other asset managed by HydraDX that isn’t on this table but for which the impact is in the “Impacts in Scope” section below, you are encouraged to submit it for the consideration by the project. This applies to only Critical impacts.
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.
Blockchain/DLT
- Governance compromiseCriticalImpact
- Identity theft that compromises user’s assets (fungible, non-fungibles)CriticalImpact
- Unauthorized token mintingCriticalImpact
- Unauthorized NFT mintingCriticalImpact
- Omnipool account theftCriticalImpact
- Omnipool manipulation resulting in loss/theft of liquidityCriticalImpact
- Double spendingCriticalImpact
- Direct loss of fundsCriticalImpact
- Transaction/consensus manipulationCriticalImpact
- Blocking or modifying governance processesHighImpact
- Blocking users from accessing their fundsHighImpact
- Theft of unclaimed yieldHighImpact
- Stalling the chain for at least 222 minutesHighImpact
- Putting on-chain data into an unexpected state without interrupting the system or users from performing their tasksMediumImpact
- DoS of greater than 10% but less than 30% of validator or miner nodes without shutting down the networkLowImpact
Websites and Applications
- Direct theft of user’s assets (fungibles, non-fungibles)CriticalImpact
- Performing state modifying action without user’s consent such as making trades, transfers, withdrawals etc.CriticalImpact
- Subdomain takeover (only applies to main HydraDX web app)CriticalImpact
- Injecting/modifying the static content on the target application without Javascript (Persistent) such as HTML injection without Javascript, replacing existing text with arbitrary text, arbitrary file uploads, etcHighImpact
- Open redirectMediumImpact
- Taking down the applicationMediumImpact
- Injecting/modifying the static content on the target application without Javascript (Reflected) such as reflected HTML injection or loading external site dataMediumImpact
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
- Centralization risks
Websites and Apps
- Theoretical vulnerabilities without any proof or demonstration
- Attacks requiring physical access to the victim device
- Attacks requiring access to the local network of the victim
- Reflected plain text injection ex: url parameters, path, etc.
- This does not exclude reflected HTML injection with or without javascript
- This does not exclude persistent plain text injection
- Self-XSS
- Captcha bypass using OCR without impact demonstration
- CSRF with no state modifying security impact (ex: logout CSRF)
- 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
- Vulnerabilities used only to enumerate or confirm the existence of users or tenants
- Vulnerabilities requiring un-prompted, in-app user actions that are not part of the normal app workflows
- Lack of SSL/TLS best practices
- DDoS vulnerabilities
- Feature requests
- Issues related to the frontend without concrete impact and PoC
- Best practices issues without concrete impact and PoC
- Vulnerabilities primarily caused by browser/plugin defects
- Leakage of non sensitive api keys ex: etherscan, Infura, Alchemy, etc.
- Any vulnerability exploit which requires browser bugs for exploitation. ex: CSP bypass
The following activities are prohibited by this bug bounty program:
- Any testing with mainnet or public testnet; 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