Reflexer
Submit a BugProgram Overview
Reflexer is a platform where anyone can use their crypto collateral to mint stablecoins. Stablecoins, as opposed to fiat coins, are not pegged to anything, very similar to how the US Dollar is not pegged and it is still considered stable.
RAI is an ETH backed stablecoin with a managed float regime. The RAI/USD exchange rate is determined by supply and demand while the protocol that issues RAI tries to stabilize its price by constantly de or revaluing it.
For more information about Reflexer, please visit https://reflexer.finance.
This bug bounty program is focused on their smart contracts and is focused on preventing:
- Loss of user funds staked (principal) by freezing or theft
- Incorrect accounting logic in the core protocol
- Theft of unclaimed yield
- Unable to shut down the protocol in the global settlement process
- Freezing of unclaimed yield
- Temporary freezing of funds
- Unable to call smart contract
- Smart contract fails to deliver promised returns
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System. 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.
Critical, High and Medium severity bug reports must come with a PoC and a suggestion for a fix in order to be considered for a reward.
Critical 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 of USD 50 000 for Critical bug reports.
Known issues from their previous audits are considered out-of-scope:
https://github.com/reflexer-labs/geb-audits/tree/master/quantstamp/helper-contracts/first-audit
Additionally, there is a known bug in the contract below where, if it does not have tokens anymore, it cannot compute a 0 reward. This does not affect the rest of the functionality of the system and would also be considered out-of-scope.
https://github.com/reflexer-labs/geb-lender-first-resort/blob/master/src/AutoRewardDripper.sol
Payouts are handled by the Reflexer team directly and are denominated in USD. However, payouts are done in FLX, RAI or a combination of both at the discretion of the team.
Smart Contracts and Blockchain
- Critical
- Level
- Up to USD $500,000
- Payout
- high
- Level
- USD $50,000
- Payout
- medium
- Level
- USD $15,000
- Payout
- low
- Level
- USD $2,500
- Payout
Assets in Scope
All smart contracts of Reflexer can be found at https://github.com/reflexer-labs. 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 Contracts/Blockchain
- Loss of user funds staked (principal) by freezing or theft
- Incorrect accounting logic in the core protocol
- Theft of unclaimed yield
- Unable to shut down the protocol in the global settlement process
- Freezing of unclaimed yield
- Temporary freezing of funds for at least 24 hours
- Unable to call smart contracts
- Smart contract fails to deliver promised returns
- Smart Contract - Accounting Engine
- Type
- Smart Contract - (Increasing Discount) Collateral Auction House
- Type
- Smart Contract - Debt Auction House
- Type
- Smart Contract - Global Settlement
- Type
- Smart Contract - Liquidation Engine
- Type
- Smart Contract - Oracle Relayer
- Type
- Smart Contract - Safe Engine
- Type
- Smart Contract - Surplus Auction House
- Type
- Smart Contract - Tax Collector
- Type
- Smart Contract - Chainlink Relayer
- Type
- Smart Contract - Uniswap Consecutive Slots Price Feed Medianizer
- Type
- Smart Contract - Geb Proxy Actions
- Type
- Smart Contract - Geb Proxy Actions Global Settlement
- Type
- Smart Contract - Geb Safe Manager
- Type
- Smart Contract - Get Safes
- Type
- Smart Contract - Protest Pause
- Type
- Smart Contract - Geb Proxy Registry
- Type
- Smart Contract - FSM Governance Interface
- Type
- Smart Contract - FSM Wrapper
- Type
- Smart Contract - Externally Funded OSM
- Type
- Smart Contract - Debt Auction Initial Parameter Setter
- Type
- Smart Contract - Increasing Treasury Reimbursement
- Type
- Smart Contract - Mandatory Fixed Treasury Reimbursement
- Type
- Smart Contract - Increasing Reward Relayer
- Type
- Smart Contract - Debt Popper Rewards
- Type
- Smart Contract - Geb Uniswap v2 Keeper Flash
- Type
- Proxy ETH
- Type
- Smart Contract - Geb Uniswap v2 Multi Collateral Keeper Flash Proxy
- Type
- Smart Contract - Geb Uniswap v3 Keeper Flash Proxy ETH
- Type
- Smart Contract - DSRoles
- Type
- Smart Contract - DSDelegateToken
- Type
- Smart Contract - Geb Lender First Resort Rewards Vested
- Type
- Smart Contract - Staked Tokens to Keep Setter
- Type
- Smart Contract - Staking Rewards Escrow
- Type
- Smart Contract - Staked Token Auction House
- Type
- Smart Contract - Auto Reward Dripper
- Type
Prioritized Vulnerabilities
We are especially interested in receiving and rewarding vulnerabilities of the following types:
Smart Contracts and Blockchain
- Re-entrancy
- Logic errors
- including user authentication errors
- Solidity/EVM details not considered
- including integer over-/under-flow
- including rounding errors
- including unhandled exceptions
- Trusting trust/dependency vulnerabilities
- including composability vulnerabilities
- Oracle failure/manipulation
- Novel governance attacks
- Economic/financial attacks
- including flash loan attacks
- Congestion and scalability
- including running out of gas
- including block stuffing
- including susceptibility to frontrunning
- Consensus failures
- Cryptography problems
- Signature malleability
- Susceptibility to replay attacks
- Weak randomness
- Weak encryption
- Susceptibility to block timestamp manipulation
- Missing access controls / unprotected internal or debugging interfaces
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
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