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 bug reports require a PoC to be eligible for a reward. Explanations and statements are not accepted as PoC and code are required.
The rewards for reporting Critical Blockchain vulnerabilities are capped at 10% of the potential economic damage, or USD 250,000 (whichever is higher). Economic damage is limited to the situation where there is a reasonable risk for existing funds on the HydraDX platform. Indirect damages such as reputational damage are out of scope. The assessment of the extent of any potential economic damage is at the full discretion of the Galactic Council. However, there is a minimum reward of USD 15,000 for reporting any vulnerability which can be classified under the category Critical Blockchain.
All potential vulnerabilities are assessed by the Galactic Council based on internally established 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.
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 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 mainnet runtime, are not live or are under development are considered as out-of-scope of the bug bounty program.
Payouts are handled by the Galactic Council directly and are denominated in USD. However, the payouts are done in HDX.
Blockchain/DLT
- Critical
- Level
- USD $15,000 to USD $250,000
- Payout
- High
- Level
- USD $5,000 to USD $15,000
- Payout
- Medium
- Level
- USD $5,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Websites and Applications
- Critical
- Level
- USD $5,000 to USD $15,000
- Payout
- High
- Level
- USD $5,000
- Payout
- Medium
- Level
- USD $1,000
- Payout
Assets in scope
- Blockchain/DLT - pallet-omnipoolType
- Blockchain/DLT - mathType
- Blockchain/DLT - adaptersType
- Blockchain/DLT - pallet-asset-registryType
- Blockchain/DLT - pallet-bondsType
- TargetBlockchain/DLT - pallet-circuit-breakerType
- TargetBlockchain/DLT - pallet-collator-rewardsType
- Blockchain/DLT - pallet-dcaType
- Blockchain/DLT - pallet-dynamic-feesType
- Blockchain/DLT - pallet-ema-oracleType
- Blockchain/DLT - pallet-lbpType
- TargetBlockchain/DLT - pallet-liquidity-miningType
- Blockchain/DLT - pallet-nftType
- Blockchain/DLT - pallet-omnipool-liquidity-miningType
- Blockchain/DLT - pallet-otcType
- Blockchain/DLT - pallet-route-executorType
- Blockchain/DLT - pallet-stableswapType
- Blockchain/DLT - pallet-stakingType
- Blockchain/DLT - pallet-transaction-multi-paymentType
- TargetBlockchain/DLT - pallet-transaction-pauseType
- TargetBlockchain/DLT - pallet-xcm-rate-limiterType
- Blockchain/DLT - pallet-xykType
- Blockchain/DLT - traits libType
- Websites and Applications - repo #1Type
- Websites and Applications - repo #2Type
Payouts under the HydraDX bug bounty program are only made for reports of vulnerabilities which fall under the scope of the program. You can find a full overview of all assets which are in scope hereunder.
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 only to 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