Sovryn Perpetual Futures
Submit a BugProgram Overview
With Perpetual Futures, traders can get leveraged short or long exposure to an asset. For example, with a BTCUSD trading pair, you can take a leveraged long or short position on BTC relative to USD. You can take on the risks and rewards of the spot price movement without actually buying or selling spot. You cover the risk by supplying margin assets that cover any losses you experience if the price moves against your position. Perpetual futures use an incentive mechanism through an interest rate termed funding rate that causes the contract price to track the spot price closely. Perpetual futures are similar to traditional futures contracts but without any expiration date.
Sovryn is launching perpetual futures, beginning with a BTCUSD contract. Sovryn plans to add more contracts as this product matures. The system allows users to gain exposure to other assets without selling BTC or buying a different asset. This opens the possibility for trading on basically any asset that has a publicly trackable price using a perpetual futures contract.
Sovryn Perpetuals smart contracts allow perpetuals with different quote, base, and collateral currency (for example a BNB/USD perpetual collateralized in BTC). Different perpetuals that use the same collateral currency can share a liquidity pool. The unique pricing approach of Sovryn’s perpetual AMM allows for low slippage, spreads, and trading fees.
For more information about Sovryn Perpetual Futures, please visit https://www.sovryn.app/perp-futures.
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 and all Critical/High/Medium severity 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.
In addition, all Critical and High severity bug reports must come with a suggestion for a fix in order to be considered for a reward.
Rewards for critical smart contract vulnerabilities are further capped at 10% of economic damage, with the main consideration being the funds affected in addition to PR and brand considerations, at the discretion of the team. However, there is a minimum reward of USD 50 000 for Critical smart contract bug reports.
Previously known issues highlighted in the following report are considered as out of scope:
Payouts are handled by the Sovryn team directly and are denominated in USD. However, 50% of payouts will be done in BTC, and the other 50% will be done in SOV according to a 24 month vesting schedule (with monthly vesting).
Smart Contract
- Critical
- Level
- Up to USD $1,000,000
- Payout
- High
- Level
- USD $22,140
- Payout
- Medium
- Level
- USD $8,800
- Payout
- Low
- Level
- USD $2,200
- Payout
Websites and Applications
- Critical
- Level
- USD $22,140
- Payout
- High
- Level
- USD $8,800
- Payout
- Medium
- Level
- USD $2,200
- Payout
Assets in scope
- Smart Contract - PerpetualManagerProxyType
- Smart Contract - LimitOrderBookFactoryType
- Smart Contract - gsn/forwarder/IForwarderType
- Smart Contract - gsn/utils/GsnEip712LibraryType
- Smart Contract - gsn/utils/GsnTypesType
- Smart Contract - gsn/utils/GsnUtilsType
- Smart Contract - gsn/utils/MinLibBytesType
- Smart Contract - gsn/interfaces/IPaymasterType
- Smart Contract - gsn/interfaces/IRbtcPaymasterType
- Smart Contract - gsn/interfaces/IRelayHubType
- Smart Contract - gsn/interfaces/IRelayRecipientType
- Smart Contract - gsn/interfaces/IStakeManagerType
- Smart Contract - gsn/BasePaymasterType
- Smart Contract - gsn/BaseRelayRecipientType
- Smart Contract - gsn/RbtcPaymasterType
- Smart Contract - gsn/RbtcPaymasterTestnetType
- Smart Contract - interface/AggregatorV3InterfaceType
- Smart Contract - interface/IChainLinkPriceFeedType
- Smart Contract - interface/IPriceFeedsExtType
- Smart Contract - interface/IShareTokenType
- Smart Contract - interface/IShareTokenFactoryType
- Smart Contract - interface/ISpotOracleType
- Smart Contract - libraries/ABDKMath64x64Type
- Smart Contract - libraries/Bytes32PaginationType
- Smart Contract - libraries/ConverterDec18Type
- Smart Contract - libraries/EnumerableBytes4SetType
- Smart Contract - libraries/EnumerableSetUpgradeableType
- Smart Contract - libraries/OrderFlagsType
- Smart Contract - libraries/QuickSortType
- Smart Contract - libraries/RSKAddrValidatorType
- Smart Contract - libraries/UtilsType
- Smart Contract - oracle/AbstractOracleType
- Smart Contract - oracle/OracleFactoryType
- Smart Contract - oracle/OracleInterfaceIDType
- Smart Contract - oracle/SpotOracleType
- Smart Contract - perpetual/core/PerpStorageType
- Smart Contract - perpetual/core/PerpetualManagerProxyType
- Smart Contract - perpetual/functions/AMMPerpLogicType
- Smart Contract - perpetual/functions/PerpetualBaseFunctionsType
- Smart Contract - perpetual/functions/PerpetualHashFunctionsType
- Smart Contract - perpetual/functions/PerpetualRebalanceFunctionsType
- Smart Contract - perpetual/functions/PerpetualTradeFunctionsType
- Smart Contract - perpetual/functions/PerpetualUpdateFunctionsType
- Smart Contract - perpetual/functions/PerpetualWithdrawFunctionsType
- Smart Contract - perpetual/interfaces/IAMMPerpLogicType
- Smart Contract - perpetual/interfaces/IFunctionListType
- Smart Contract - perpetual/interfaces/IPerpetualDepositManagerType
- Smart Contract - perpetual/interfaces/IPerpetualFactoryType
- Smart Contract - perpetual/interfaces/IPerpetualGetterType
- Smart Contract - perpetual/interfaces/IPerpetualLimitTradeManagerType
- Smart Contract - perpetual/interfaces/IPerpetualLiquidatorType
- Smart Contract - perpetual/interfaces/IPerpetualManagerType
- Smart Contract - perpetual/interfaces/IPerpetualMarginLogicType
- Smart Contract - perpetual/interfaces/IPerpetualMarginViewLogicType
- Smart Contract - perpetual/interfaces/IPerpetualOrderType
- Smart Contract - perpetual/interfaces/IPerpetualOrderManagerType
- Smart Contract - perpetual/interfaces/IPerpetualPoolFactoryType
- Smart Contract - perpetual/interfaces/IPerpetualRebalanceLogicType
- Smart Contract - perpetual/interfaces/IPerpetualRelayRecipientType
- Smart Contract - perpetual/interfaces/IPerpetualSettlementType
- Smart Contract - perpetual/interfaces/IPerpetualTradeLimitsType
- Smart Contract - perpetual/interfaces/IPerpetualTradeLogicType
- Smart Contract - perpetual/interfaces/IPerpetualTradeManagerType
- Smart Contract - perpetual/interfaces/IPerpetualTreasuryType
- Smart Contract - perpetual/interfaces/IPerpetualUpdateLogicType
- Smart Contract - perpetual/interfaces/IPerpetualWithdrawAllManagerType
- Smart Contract - perpetual/interfaces/IPerpetualWithdrawManagerType
- Smart Contract - perpetual/interfaces/ISOVLibraryEventsType
- Smart Contract - perpetual/limitorder/LimitOrderBookType
- Smart Contract - perpetual/limitorder/LimitOrderBookBeaconType
- Smart Contract - perpetual/limitorder/LimitOrderBookFactoryType
- Smart Contract - perpetual/modules/PerpetualDepositManagerType
- Smart Contract - perpetual/modules/PerpetualFactoryType
- Smart Contract - perpetual/modules/PerpetualGetterType
- Smart Contract - perpetual/modules/PerpetualLimitTradeManagerType
- Smart Contract - perpetual/modules/PerpetualLiquidatorType
- Smart Contract - perpetual/modules/PerpetualMarginLogicType
- Smart Contract - perpetual/modules/PerpetualMarginViewLogicType
- Smart Contract - perpetual/modules/PerpetualOrderManagerType
- Smart Contract - perpetual/modules/PerpetualPoolFactoryType
- Smart Contract - perpetual/modules/PerpetualRebalanceLogicType
- Smart Contract - perpetual/modules/PerpetualRelayRecipientType
- Smart Contract - perpetual/modules/PerpetualSettlementType
- Smart Contract - perpetual/modules/PerpetualTradeLimitsType
- Smart Contract - perpetual/modules/PerpetualTradeLogicType
- Smart Contract - perpetual/modules/PerpetualTradeManagerType
- Smart Contract - perpetual/modules/PerpetualTreasuryType
- Smart Contract - perpetual/modules/PerpetualUpdateLogicType
- Smart Contract - perpetual/modules/PerpetualWithdrawAllManagerType
- Smart Contract - perpetual/modules/PerpetualWithdrawManagerType
- Smart Contract - perpetual/token/ShareTokenType
- Smart Contract - perpetual/token/ShareTokenFactoryType
- Websites and Applications - Web/AppType
All smart contracts of Sovryn Perpetual Futures can be found at https://github.com/DistributedCollective/sovryn-perpetual-futures. 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
- Any governance voting result manipulationCriticalImpact
- Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yieldCriticalImpact
- Permanent freezing of fundsCriticalImpact
- Protocol insolvencyCriticalImpact
- Theft of unclaimed yieldHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of funds for at least 7 daysHighImpact
- Temporary freezing of funds for less than 7 daysMediumImpact
- 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
- Smart contract fails to deliver promised returns, but doesn’t lose valueLowImpact
Websites and Applications
- Execute arbitrary system commandsCriticalImpact
- Retrieve sensitive data/files from a running server such as /etc/shadow, database passwords, and blockchain keys(this does not include non-sensitive environment variables, open source code, or usernames)CriticalImpact
- Taking state-modifying authenticated actions (with or without blockchain state interaction) on behalf of other users without any interaction by that user, such as, changing registration information, commenting, voting, making trades, withdrawals, etc.CriticalImpact
- Subdomain takeover with already-connected wallet interactionCriticalImpact
- Direct theft of user fundsCriticalImpact
- Malicious interactions with an already-connected wallet such as modifying transaction arguments or parameters, substituting contract addresses, submitting malicious transactionsCriticalImpact
- 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, etc.HighImpact
- Changing sensitive details of other users (including modifying browser local storage) without already-connected wallet interaction and with up to one click of user interaction, such as email or password of the victim, etc.HighImpact
- Improperly disclosing confidential user information such as email address, phone number, physical address, etc.HighImpact
- Subdomain takeover without already-connected wallet interactionHighImpact
- Taking down the application/websiteHighImpact
- Changing non-sensitive details of other users (including modifying browser local storage) without already-connected wallet interaction and with up to one click of user interaction, such as changing the first/last name of user, or en/disabling notificationMediumImpact
- Injecting/modifying the static content on the target application without Javascript (Reflected) such as reflected HTML injection or loading external site dataMediumImpact
- Redirecting users to malicious websites (Open Redirect)MediumImpact
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 requiring browser bugs for exploitation. ex: CSP bypass
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