xToken Terminal
Submit a BugProgram Overview
Terminal is a generalized liquidity mining framework for Uniswap V3 where anyone will be able to incentivize liquidity within a concentrated price range in just a few intuitive clicks. Using their portal, pool admins will be able to configure liquidity price ranges, vesting periods, reward durations and rewards rates. LPs will be able to track their positions, discover new incentive programs and claim/vest rewards, all through their easy interface.
For more information about xToken, please visit https://docs.xtokenterminal.io/.
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
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System V2. 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.
Critical, High and Medium smart contract bug reports must come with a PoC with an end-effect impacting an asset-in-scope in order to be considered for a reward. Explanations and statements are not accepted as PoC and code is required. All bug reports must also come with a suggestion for a fix in order to be considered for a reward.
Vulnerabilities previously highlighted in the following audit report are considered as out of scope:
Payouts are handled by the xToken team directly and are denominated in USD. However, payouts are done in USDC.
Smart Contract
- Critical
- Level
- USD $50,000
- Payout
- High
- Level
- USD $30,000
- Payout
- Medium
- Level
- USD $10,000
- Payout
- Low
- Level
- USD $2,000
- Payout
Assets in scope
- Smart Contract - ICLR.solType
- TargetSmart Contract - ICLRDeployerType
- Smart Contract - IERC20Type
- TargetSmart Contract - IERC20ExtendedType
- TargetSmart Contract - ILMTerminalType
- TargetSmart Contract - IProxyAdminType
- TargetSmart Contract - IRewardEscrowType
- https://github.com/xtokenmarket/terminal-mining/blob/master/contracts/interfaces/IStakedCLRToken.solTargetSmart Contract - IStakedCLRTokenType
- https://github.com/xtokenmarket/terminal-mining/blob/master/contracts/interfaces/IStakingRewards.solTargetSmart Contract - IStakingRewardsType
- TargetSmart Contract - IxTokenManagerType
- TargetSmart Contract - ABDKMath64x64Type
- TargetSmart Contract - UniswapLibraryType
- Smart Contract - UtilsType
- Smart Contract - CLRProxyType
- TargetSmart Contract - LMTerminalProxyType
- Smart Contract - ProxyAdminType
- Smart Contract - StakedCLRTokenProxyType
- TargetSmart Contract - RewardEscrowType
- TargetSmart Contract - StakingRewardsType
- Smart Contract - StakingRewardsProxyType
- Smart Contract - BlockLockType
- Smart Contract - CLRType
- Smart Contract - CLRDeployerType
- Smart Contract - LMTerminalType
- Smart Contract - StakedCLRTokenType
- Smart Contract - ICLRType
All smart contracts of xToken can be found at https://github.com/xtokenmarket/terminal-mining. 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
- Theft of unclaimed yieldHighImpact
- Freezing of unclaimed yieldHighImpact
- Unable to call smart contractMediumImpact
- Smart contract fails to deliver promised returns, but doesn’t lose valueLowImpact
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
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