Raydium
Submit a BugProgram Overview
Raydium is an automated market maker (AMM) built on the Solana blockchain which leverages a central limit order book to enable lightning-fast trades, shared liquidity and new features for earning yield.
For more information about Raydium, please visit https://raydium.io/.
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System V2.3. 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 bug reports must include a Proof of Concept (PoC) demonstrating how the vulnerability can be exploited to impact an asset-in-scope to be eligible for a reward. Critical and High severity bug reports should also include a suggestion for a fix. Explanations and statements are not accepted as PoC and code is required.
Rewards for critical smart contract bug reports will be further capped at 10% of direct funds at risk if the bug discovered is exploited. However, there is a minimum reward of USD 50 000.
The following vulnerabilities are not eligible for a reward:
- All vulnerabilities marked in the Ottersec security review are not eligible for a reward.
- The CLMM contract emits trading fee and farming yield tokens to LPs. If tokens from the vault or fees were drained by an attacker however, users would not be able to claim yield and transactions would fail. This is by design and not a vulnerability
Payouts are handled by the Raydium team directly and are denominated in USD. However, payouts are done in RAY.
Smart Contract
- Critical
- Level
- USD $50,000 to USD $505,000
- Payout
- High
- Level
- USD $40,000
- Payout
- Medium
- Level
- USD $5,000
- Payout
Assets in scope
- Smart Contract - collect_fund_feeType
- Smart Contract - collect_protocol_feeType
- Smart Contract - create_operation_accountType
- TargetSmart Contract - admin/modType
- Smart Contract - transfer_reward_ownerType
- Smart Contract - update_amm_configType
- Smart Contract - update_operation_accountType
- Smart Contract - update_pool_statusType
- Smart Contract - close_positionType
- Smart Contract - collect_remaining_rewardsType
- Smart Contract - create_poolType
- Smart Contract - decrease_liquidityType
- Smart Contract - increase_liquidityType
- Smart Contract - initialize_rewardType
- Smart Contract - instructions/modType
- Smart Contract - open_positionType
- Smart Contract - set_reward_paramsType
- TargetSmart Contract - swapType
- Smart Contract - swap_router_base_inType
- Smart Contract - update_reward_infoType
- TargetSmart Contract - big_numType
- Smart Contract - fixed_pointType
- TargetSmart Contract - full_mathType
- Smart Contract - liquidity_mathType
- Smart Contract - libraries/modType
- Smart Contract - sqrt_price_mathType
- TargetSmart Contract - swap_mathType
- Smart Contract - tick_array_bit_mapType
- TargetSmart Contract - tick_mathType
- TargetSmart Contract - unsafe_mathType
- Smart Contract - configType
- Smart Contract - states/modType
- Smart Contract - operation_accountType
- Smart Contract - oracleType
- Smart Contract - personal_positionType
- Smart Contract - poolType
- Smart Contract - protocol_positionType
- TargetSmart Contract - tick_arrayType
- TargetSmart Contract - access_controlType
- Smart Contract - util/modType
- Smart Contract - systemType
- Smart Contract - tokenType
- Smart Contract - errorType
- Smart Contract - libType
Documentation and instruction for PoC can be found here:
A public testnet of Raydium can be found at https://explorer.solana.com/address/proKtffCScMcwkFkPHFcuHawN7mWxRkhyh8PGxkTwYx. However, note that testing on the public testnet is prohibited by the program rules. The public testnet is provided for reference only.
If a Critical Impact can be caused to any other asset managed by Raydium 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 only applies 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.
Smart Contract
- Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yieldCriticalImpact
- Permanent freezing of fundsCriticalImpact
- Vulnerabilities that could freeze user funds permanently or involve the draining or theft of funds without user transaction approvalCriticalImpact
- Theft of unclaimed yieldHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of funds for any amount of timeHighImpact
- Vulnerabilities that could freeze user funds temporarily or intentionally alter the value of user fundsHighImpact
- Smart contract unable to operate due to lack of token fundsMediumImpact
- Block stuffing for profitMediumImpact
- Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)MediumImpact
- Theft of gasMediumImpact
- Unbounded gas consumptionMediumImpact
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