Lyra
Program Overview
Lyra V2 is a self-custodial protocol layer built to enable the trading of derivative products in a permissionless way. The component of the Lyra V2 stack covered by this bug bounty program is the Lyra Protocol: A protocol that enables the margining and settlement of perpetuals, options and spot.
For more information about Lyra, please visit https://www.lyra.finance/.
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 and smart contracts/blockchains, encompassing everything from consequence of exploitation to privilege required to likelihood of a successful exploit.
All High and Critical Smart Contract bug reports require a PoC to be eligible for a reward. Explanations and statements are not accepted as PoC and code is required.
Critical smart contract 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. There is a maximum reward of USD 50 000, but more could be paid out at the discretion of the team.
Any vulnerability already disclosed in the audits that have been performed are not able to receive a reward.
Issues identified in previous audit reports may not be eligible for payout.
To be eligible for reward, impact from table below must be demonstrated where all thefts must be profitable and all freezing must be reasonably priced for the impact.
Payouts up to USD 50,000 are handled by the Lyra team directly and are denominated in USD. However, payouts are done in USDC or ETH, at the discretion of the team.
Smart Contract
- Critical
- Level
- USD $5,000 to USD $50,000
- Payout
- High
- Level
- USD $5,000
- Payout
- Medium
- Level
- USD $2,000
- Payout
- Low
- Level
- USD $500
- Payout
Assets in scope
- Smart Contract - DepositModuleType
- Smart Contract - MatchingType
- Smart Contract - TradeModuleType
- Smart Contract - TransferModuleType
- Smart Contract - WithdrawalModuleType
- Smart Contract - DutchAuctionType
- Smart Contract - CashAssetType
- Smart Contract - InterestRateModelType
- Smart Contract - SecurityModuleType
- Smart Contract - StandardManagerType
- Smart Contract - StandardManagerViewerType
- Smart Contract - LyraSpotFeedType
- Smart Contract - SubAccountsType
- Smart Contract - BaseAssetType
- Smart Contract - ForwardFeedType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - OptionAssetType
- Smart Contract - PerpAssetType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - PMRMType
- Smart Contract - PMRMLibType
- Smart Contract - BasePortfolioViewerType
- Smart Contract - LyraRateFeedStaticType
- Smart Contract - LyraSpotFeedType
- Smart Contract - LyraVolFeedType
- Smart Contract - BaseAssetType
- Smart Contract - ForwardFeedType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - OptionAssetType
- Smart Contract - PerpAssetType
- Smart Contract - LyraSpotDiffFeedType
- Smart Contract - PMRMType
- Smart Contract - PMRMLibType
- Smart Contract - BasePortfolioViewerType
- Smart Contract - LyraRateFeedStaticType
- Smart Contract - LyraSpotFeedType
- Smart Contract - LyraVolFeedType
Contracts in scope are found on the Lyra Chain (https://rpc.lyra.finance; chainId: 957; https://explorer.lyra.finance/), as well as any libraries they inherit.
Code for these contracts can be found in the following repositories: https://github.com/lyra-finance/v2-core https://github.com/lyra-finance/v2-matching https://github.com/lyra-finance/lyra-utils
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
- Theft of unclaimed yieldCriticalImpact
- Permanent freezing of unclaimed yieldCriticalImpact
- Theft of unclaimed yieldHighImpact
- Freezing of unclaimed yieldHighImpact
- Temporary freezing of funds for any amount of timeHighImpact
- Unable to call smart contractMediumImpact
- Smart contract gas drainageMediumImpact
- Smart contract fails to deliver promised returnsLowImpact
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