Sense
Submit a BugProgram Overview
Sense is decentralized permissionless infrastructure, where teams can build and develop new yield primitives for DeFi, such as bond-like assets, yield tokens, and tranche-like instruments.
Yield stripping is the first application built atop Sense, where users can lend at a fixed rate and make capital-efficient long/short bets on the future yields of existing yield-bearing assets.
For more information about Sense Finance, please visit https://sense.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, smart contracts, and blockchains/DLTs, focusing on the impact of the vulnerability reported.
All web/app bug reports and critical 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 bug reports must come with a suggestion for a fix to be considered for a reward.
Known issues highlighted below are considered as out of scope:
- Vulnerabilities involving disabling Space swaps of low-decimal Targets when all liquidity is removed after both sides of the pool have been initialized
- All previously raised issued in the following audit reports:
Sense requires KYC to be done for all bug bounty hunters submitting a report and wanting a reward. The information needed is a name and an address.
Payouts are handled by the Sense team directly and are denominated in USD. However, payouts are done in USDC.
Smart Contract
- Critical
- Level
- USD $50,000
- Payout
- High
- Level
- USD $20,000
- Payout
- Medium
- Level
- USD $5,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Websites and Applications
- Critical
- Level
- USD $20,000
- Payout
- High
- Level
- USD $10,000
- Payout
- Medium
- Level
- USD $3,000
- Payout
- Low
- Level
- USD $1,000
- Payout
Assets in scope
- Smart Contract - Divider.solType
- Smart Contract - Periphery.solType
- Smart Contract - CAdapter.solType
- Smart Contract - CFactory.solType
- Smart Contract - WstETHAdapter.solType
- Smart Contract - DateTime.sol Verified code is housed in the Divider etherscan link.Type
- Smart Contract - FixedMath.sol Verified code is housed in the Divider etherscan link.Type
- Smart Contract - Trust.sol Verified code is housed in the Divider etherscan link.Type
- Smart Contract - Token.sol Verified code is housed in the Divider etherscan link. Multiple Token.sol contract instances exist.Type
- Smart Contract - YT.sol Verified code is housed in the Divider etherscan link. Multiple YT.sol contract instances exist.Type
- Smart Contract - PoolManager.solType
- Smart Contract - LP.solType
- Smart Contract - Target.solType
- Smart Contract - Underlying.solType
- Smart Contract - PTOracle.solType
- Smart Contract - EmergencyStop.solType
- Smart Contract - Errors.solType
- Smart Contract - Space.solType
- Smart Contract - SpaceFactory.solType
- Smart Contract - OwnableERC4626Factory.solType
- Smart Contract - OwnableERC4626CropFactory.solType
- Smart Contract - RollerPeriphery.solType
- Smart Contract - AutoRollerFactory.solType
- Smart Contract - RollerUtils.solType
- Smart Contract - RollerAdapterDeployer.solType
- Smart Contract - AutoRoller.sol (wstETH)Type
- Smart Contract - OwnableERC4626Adapter.sol (wstETH)Type
- Smart Contract - RewardsDistributor.sol (Morpho)Type
- Smart Contract - PingPongClaimer.solType
- Websites and Applications - Web/AppType
All smart contracts of Sense can be found at https://github.com/sense-finance/. However, only those in the Assets in Scope table are considered as in-scope of the bug bounty program.
If any Critical or High severity impacts can be caused to any other asset managed by Sense that isn’t on this table but for which the impact is in the Impacts in Scope section, you are encouraged to submit it for the consideration of the project.
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
- Theft of user funds (principal)CriticalImpact
- Permanent freezing of user funds (principal)CriticalImpact
- Theft of unclaimed yieldHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of funds (principal) for at least 24 hoursHighImpact
- Loss of any part of the settlement reward (stake & issuance fees)HighImpact
- Temporary freezing of funds (unclaimed yield) for at least 24 hoursMediumImpact
- Smart contract unable to operate due to lack of token fundsMediumImpact
- Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)MediumImpact
- Unbounded gas consumptionMediumImpact
- Smart contract randomly fails to deliver promised returns, but doesn’t lose principal returnsLowImpact
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 down the application/websiteCriticalImpact
- Subdomain takeover with already-connected wallet interactionCriticalImpact
- 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
- 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
- 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
- Changing details of other users (including modifying browser local storage) without already-connected wallet interaction and with significant user interaction such as iframing leading to modifying the backend/browser state (demonstrate impact with PoC)LowImpact
- Any impact involving a publicly released CVE without a working PoCLowImpact
- Temporarily disabling user to access target site, such as locking up the victim from login, cookie bombing, etc.LowImpact
- Taking over broken or expired outgoing links such as social media handles, etc.LowImpact
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
- Known edge case: disabling Space swaps of low-decimal Targets when all liquidity is removed after both sides of the pool have been initialized
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
- Vulnerabilities primarily caused by browser/plugin defects
- Any vulnerability exploit requiring CSP bypass resulting from a browser bug
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