Kyber Network
Submit a BugProgram Overview
Kyber Network is building a world to make DeFi accessible, safe and rewarding for users. Our flagship product, KyberSwap, is a next-gen DEX aggregator providing the best rates for traders and maximizing returns for liquidity providers in DeFi.
For more information about Kyber Network, please visit https://kyber.network/.
Kyber Network provides rewards in USDC and KNC. For more details about the payment process, please view the Rewards by Threat Level section further below.
Responsible Publication
Kyber Network adheres to category 3. This Policy determines what information whitehats are allowed to make public from their submitted bug reports. For more information about the category selected, please refer to our Responsible Publication page.
Primacy of Impact vs Primacy of Rules
Kyber Network adheres to the Primacy of Impact for the following severity levels
- Smart Contract, Critical Severity Level
- Smart Contract, High Severity Level
- Smart Contract, Medium Severity Level
- Smart Contract, Low Severity Level
- Website/Applications, Critical Severity Level
- Website/Applications, High Severity Level
- Website/Applications, Medium Severity Level
- Website/Applications, Low Severity Level
If a category’s severity level is covered within the Primacy of Impact, it means that even if the impacted asset is not in-scope but is owned by the project, then it would be considered as in-scope of the bug bounty program as long as it involves an impact under that respective severity level. When submitting a report, just select the Primacy of Impact asset placeholder. If the team behind this project has multiple projects, those other projects are not covered under the Primacy of Impact of this program. Instead, check if those other projects have a bug bounty program on Immunefi.
Testnet and mock files are not covered under the Primacy of Impact.
All other severity levels not listed here are considered under the Primacy of Rules, which means that they are bound by the terms of the bug bounty program.
Known Issue Assurance
Kyber Network commits to providing Known Issue Assurance to bug submissions through their program. This means that Kyber Network will either disclose known issues publicly or at the very least privately via a self-reported bug submission in order to allow for a more objective and streamlined mediation process to prove that an issue is known. Otherwise, assuming the bug report itself is valid, it would result in the bug report being considered in-scope and due 100% of the reward with respect to the bug bounty program terms.
Rewards by Threat Level
Rewards are distributed according to the impact the vulnerability could otherwise cause based on the Impacts in Scope table further below.
Reward Calculation for Critical 1 Level Reports
For Critical Smart Contract bugs, the reward amount is 5% of the funds directly affected up to a maximum of USD 200,000. The calculation of the amount of funds at risk is based on the time and date the bug report is submitted. However, a minimum reward of USD 20,000 is to be rewarded in order to incentivize security researchers against withholding a bug report.
Reward Calculation for Critical Level 2 Reports
For Critical Smart Contract bugs, the reward amount is 5% of the funds directly affected up to a maximum of USD 100,000. The calculation of the amount of funds at risk is based on the time and date the bug report is submitted. However, a minimum reward of USD 20,000 is to be rewarded in order to incentivize security researchers against withholding a bug report.
Reward Calculation for High Level Reports
For High Smart Contract bugs, the reward amount is 5% of the funds directly affected up to a maximum of USD 20,000. The calculation of the amount of funds at risk is based on the time and date the bug report is submitted. However, a minimum reward of USD 5,000 is to be rewarded in order to incentivize security researchers against withholding a bug report.
Reward Calculation for Medium Level Reports
For Medium Smart Contract bugs, the reward amount is 5% of the funds directly affected up to a maximum of USD 5,000. The calculation of the amount of funds at risk is based on the time and date the bug report is submitted. However, a minimum reward of USD 1,000 is to be rewarded in order to incentivize security researchers against withholding a bug report. However, the reward for Smart contract unable to operate due to logic issue impact is fixed at USD 1,000.
Repeatable Attack Limitations
In cases of repeatable attacks for smart contract bugs, only the first attack will be counted, regardless of whether the smart contract is upgradable, pausable, or killable.
Public Disclosure of Known Issues
Bug reports covering previously-discovered bugs acknowledged below are not eligible for any reward through the bug bounty program.
Previous Audits
Kyber Network has provided these completed audit review reports for reference. Any unfixed vulnerability mentioned in these reports are not eligible for a reward.
- https://chainsecurity.com/security-audit/kyberswap-elastic/
- https://chainsecurity.com/security-audit/kyberswap-elastic-legacy/
Proof of Concept (PoC) Requirements
A PoC is required for the following severity levels:
- Smart Contract, Critical Severity 1 & 2 Level
- Smart Contract, High Severity Level
- Smart Contract, Medium Severity Level
- Smart Contract, Low Severity Level
All PoCs submitted must comply with the Immunefi-wide PoC Guidelines and Rules. Bug report submissions without a PoC when a PoC is required will not be provided with a reward.
Reward Payment Terms
Payouts are handled by the Kyber Network team directly and are denominated in USD. However, payments are done in USDC.
Smart Contract
- Critical
- Level
- USD $20,000 to USD $200,000
- Payout
- High
- Level
- USD $5,000 to USD $20,000
- Payout
- Medium
- Level
- USD $2,000 to USD $5,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Websites and Applications
- Critical
- Level
- USD $20,000
- Payout
- High
- Level
- USD $5,000
- Payout
- Medium
- Level
- USD $2,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Assets in scope
- Smart Contract - KSRouterType
- Smart Contract - KSFactoryType
- Smart Contract - MetaAggregationRouterV2 (Deployed on all supported networks, including Ethereum, BNB Chain, Polygon, Avalanche, Arbitrum, Optimism, Fantom, etc)Type
- Smart Contract - KyberSwapElasticLM (Deployed on: Ethereum, BNB Chain, Arbitrum, Optimism, Polygon, Avalanche, etc)Type
- Smart Contract - LimitOrderProtocol (Deployed on: Ethereum, BNB Chain, Polygon, Avalanche, Arbitrum, Optimism, Fantom, etc) ChainlinkCalculator and OrderRFQMixin logics are out of scopeType
- Smart Contract - KyberSwap Elastic Static LMType
- Websites and Applications - Main Web AppType
All code of Kyber Network can be found at https://github.com/KyberNetwork/ks-elastic-sc.
Unless explicitly listed, only pages of the web/app assets in addition to the direct link are considered in-scope of the bug bounty program. Other subdomains are not considered as in-scope. However, for subdomain takeovers that lead to an impact on the in-scope asset, please refer to our page about Reported Subdomain Takeovers.
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
- Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed fees/rewards (only applicable to Critical 1)CriticalImpact
- Permanent freezing of funds (only applicable to Critical 2)CriticalImpact
- Protocol insolvencyHighImpact
- Theft of unclaimed fees/liquidity mining rewardsHighImpact
- Permanent freezing of unclaimed fees/liquidity mining rewardsHighImpact
- Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)MediumImpact
- Temporary freezing of fundsMediumImpact
- Contract fails to deliver promised returns, but doesn't lose valueLowImpact
- Smart contract unable to operate due to logic issueLowImpact
Websites and Applications
- Malicious interaction of HTML, JS, XSS with an already-connected wallet which leads to potential fund lost, such as: - modifying transaction arguments or parameters, - substituting contract addresses, - submitting malicious transactionsCriticalImpact
- Report a leaked API key or account which takes control completely our production systemCriticalImpact
- Taking malicious on-chain state-modifying actions from a connected-wallet to make an on-chain transaction such as a swap, add/remove liquidity, etc.CriticalImpact
- Retrieve sensitive data/files from a running server in our Production environment such as: - database credentials, - secret, api credentialsHighImpact
- Execute arbitrary system commands in our Production serversHighImpact
- Injecting/modifying the static content on the target page without Javascript (persistent) such as: - HTML injection without Javascript, - Replacing existing text with arbitrary text or image, - Arbitrary file uploads, etcMediumImpact
- Disable arbitrary UI features/actions for other usersLowImpact
- Access to our internal dashboard to take operational action such as whitelist tokens, add/remove website’s banner, etc.LowImpact
Out of Scope & Rules
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
Smart Contracts
- 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
- Best practice recommendations
- Impacts from malicious upgrades to third party contracts utilized by EigenLayer
Web/App
- 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
The following activities are prohibited by this bug bounty program:
- 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