DeFi Saver
Submit a BugProgram Overview
DeFi Saver is an advanced management app for decentralized finance protocols such as MakerDAO, Compound, Aave and Reflexer, with a special focus on creating and managing leveraged positions.
Some of the specific things you can use DeFi Saver for include:
- Creating and managing collateralized debt positions in any of the most popular DeFi lending protocols, with 1-tx instant leveraging and deleveraging options
- Automating your position for automatic liquidation protection, as well as automatic leverage management, based on market movements
- Refinancing your position with options to change collateral or debt assets, or to move to a different protocol altogether with the Loan Shifter
- Creating your own custom set of actions to execute within one transaction in their recently introduced Recipe Creator.
For more information about DeFi Saver, visit their website at https://defisaver.com/.
The bug bounty program is focused around its smart contracts, website and app and is mostly concerned with the loss of user funds and approval/auth attacks.
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 web/app bug reports must come with a PoC with an end-effect impacting an asset-in-scope in order to be considered for a reward. 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. However, there is a minimum reward of USD 50 000.
All vulnerabilities marked in the security reviews are not eligible for a reward.
Payouts are handled by the Defi Saver team directly and are denominated in USD. However, payouts are done in DAI and USDC, with the choice of the ratio at the discretion of the team.
Smart Contract
- Critical
- Level
- Up to USD $250,000
- Payout
- High
- Level
- USD $30,000
- Payout
- Medium
- Level
- USD $10,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Websites and Applications
- Critical
- Level
- USD $20,000
- Payout
Assets in scope
- Smart Contract - Defi Saver V3Type
- Smart Contract - MCDMonitorProxyV2Type
- Smart Contract - SubscriptionsV2Type
- Smart Contract - CompoundMonitorProxyType
- Smart Contract - CompoundSubscriptionsType
- Smart Contract - DFSRegistryType
- Smart Contract - TaskExecutorType
- Smart Contract - WrapEthType
- Smart Contract - UnwrapEthType
- Smart Contract - PullTokenType
- Smart Contract - SendTokenType
- Smart Contract - SumInputsType
- Smart Contract - SubInputsType
- Smart Contract - TokenBalanceType
- Smart Contract - AutomationV2UnsubType
- Smart Contract - UniSupplyType
- Smart Contract - UniWithdrawType
- Smart Contract - UniCollectV3Type
- Smart Contract - UniMintV3Type
- Smart Contract - UniSupplyV3Type
- Smart Contract - UniWithdrawV3Type
- Smart Contract - YearnSupplyType
- Smart Contract - YearnWithdrawType
- Smart Contract - LiquityCloseType
- Smart Contract - LiquityBorrowType
- Smart Contract - LiquityOpenType
- Smart Contract - LiquityPaybackType
- Smart Contract - LiquityWithdrawType
- Smart Contract - LiquitySupplyType
- Smart Contract - LiquitySPDepositType
- Smart Contract - LiquitySPWithdrawType
- Smart Contract - LiquityStakeType
- Smart Contract - LiquityUnstakeType
- Smart Contract - LiquityClaimType
- Smart Contract - LiquityEthGainToTroveType
- Smart Contract - LiquityRedeemType
- Smart Contract - LidoStakeType
- Smart Contract - LidoWrapType
- Smart Contract - LidoUnwrapType
- Smart Contract - GUniWithdrawType
- Smart Contract - GUniDepositType
- Smart Contract - DyDxSupplyType
- Smart Contract - DyDxWithdrawType
- Smart Contract - DFSSellType
- Smart Contract - DFSBuyType
- Smart Contract - FLAaveV2Type
- Smart Contract - FLDyDxType
- Smart Contract - FLMakerType
- Smart Contract - FLBalancerType
- Smart Contract - AaveBorrowType
- Smart Contract - AavePaybackType
- Smart Contract - AaveSupplyType
- Smart Contract - AaveWithdrawType
- Smart Contract - AaveCollateralSwitchType
- Smart Contract - CompBorrowType
- Smart Contract - CompClaimType
- Smart Contract - CompPaybackType
- Smart Contract - CompSupplyType
- Smart Contract - CompWithdrawType
- Smart Contract - CompGetDebtType
- Smart Contract - CompCollateralSwitchType
- Smart Contract - ReflexerSupplyType
- Smart Contract - ReflexerWithdrawType
- Smart Contract - ReflexerPaybackType
- Smart Contract - ReflexerGenerateType
- Smart Contract - ReflexerOpenType
- Smart Contract - ReflexerNativeUniV2SaviourDepositType
- Smart Contract - ReflexerNativeUniV2SaviourGetReservesType
- Smart Contract - ReflexerNativeUniV2SaviourWithdrawType
- Smart Contract - McdGenerateType
- Smart Contract - McdGiveType
- Smart Contract - McdMergeType
- Smart Contract - McdOpenType
- Smart Contract - McdPaybackType
- Smart Contract - McdSupplyType
- Smart Contract - McdWithdrawType
- Smart Contract - InstPullTokensType
- Smart Contract - ClaimInstMakerType
- Smart Contract - ChangeProxyOwnerType
- Smart Contract - BalancerV2SupplyType
- Smart Contract - BalancerV2WithdrawType
- Smart Contract - BalancerV2ClaimType
- Smart Contract - RariDepositType
- Smart Contract - RariWithdrawType
- Smart Contract - MStableDepositType
- Smart Contract - MStableWithdrawType
- Smart Contract - MStableClaimType
- Websites and ApplicationsType
All smart contracts of Defi Saver can be found at https://github.com/DecenterApps/defisaver-v3-contracts. 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
- Miner-extractable value (MEV)CriticalImpact
- Protocol InsolvencyCriticalImpact
- Theft of unclaimed yieldHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of 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
- Contract fails to deliver promised returns, but doesn't lose valueLowImpact
Websites and Applications
- Ability to execute system commandsCriticalImpact
- Extract Sensitive data/files from the server such as /etc/passwdCriticalImpact
- Taking Down the application/websiteCriticalImpact
- Stealing User CookiesCriticalImpact
- Bypassing AuthenticationCriticalImpact
- Signing transactions for other usersCriticalImpact
- Redirection of user deposits and withdrawalsCriticalImpact
- Subdomain takeover resulting in financial loss (applicable for subdomains with addresses published)CriticalImpact
- Wallet interaction modification resulting in financial lossCriticalImpact
- Direct theft of user fundsCriticalImpact
- Tampering with transactions submitted to the user’s walletCriticalImpact
- Submitting malicious transactions to an already-connected walletCriticalImpact
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
- Content spoofing / Text injection issues
- Self-XSS
- Captcha bypass using OCR
- CSRF with no security impact (logout CSRF, change language, etc.)
- Missing HTTP Security Headers (such as X-FRAME-OPTIONS) or cookie security flags (such as “httponly”)
- Server-side information disclosure such as IPs, server names, and most stack traces
- Vulnerabilities used to enumerate or confirm the existence of users or tenants
- Vulnerabilities requiring unlikely user actions
- URL Redirects (unless combined with another vulnerability to produce a more severe vulnerability)
- Lack of SSL/TLS best practices
- DDoS vulnerabilities
- Attacks requiring privileged access from within the organization
- Feature requests
- Best practices
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