Mirror
Submit a BugProgram Overview
Mirror is a DeFi protocol powered by smart contracts on the Terra network that enables the creation of synthetic assets called Mirrored Assets (mAssets). mAssets mimic the price behavior of real-world assets and give traders anywhere in the world open access to price exposure without the burdens of owning or transacting real assets.
The minting of mAssets is decentralized and is undertaken by users throughout the network by opening a position and depositing collateral. Mirror ensures that there is always sufficient collateral within the protocol to cover mAssets, and also manages markets for mAssets by listing them on Terraswap against UST.
The Mirror Token (MIR) is minted by the protocol and distributed as a reward to reinforce behavior that secures the ecosystem. With it, Mirror ensures liquid mAsset markets by rewarding MIR to users who stake LP Tokens obtained through providing liquidity. Also, to incentivize users to ensure mAssets mimic the price behavior of real-world assets, users who stake sLP Tokens obtained through shorting mAssets are rewarded with MIR. MIR is valuable as it can be staked to receive voting privileges and to earn a share of the protocol's CDP withdrawal fees.
Mirror is a project developed and steered by its community: its markets are maintained by its own users through MIR incentives, and the protocol evolves with new ideas through democratic governance.
For more information about Mirror, please visit https://mirror.finance.
This bug bounty program is focused on their smart contracts and app and is focused on preventing:
- Loss of user funds staked (principal) by freezing or theft
- Loss of governance funds
- Theft of unclaimed yield
- Freezing of unclaimed yield
- Temporary freezing of funds
- Leak/deletion of user data
- Redirected funds by address modification
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.
All web/app bug reports must come with a PoC in order to be considered for a reward. Low severity bug reports must come with a suggestion for a fix 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.
Payouts are handled by the Mirror team directly and are denominated in USD. Payouts are done in UST.
Smart Contracts and Blockchain
- Critical
- Level
- Up to USD $100,000
- Payout
- high
- Level
- USD $10,000
- Payout
- medium
- Level
- USD $5,000
- Payout
- low
- Level
- USD $1,000
- Payout
Web and Apps
- Critical
- Level
- USD $20,000
- Payout
- high
- Level
- USD $7,500
- Payout
- medium
- Level
- USD $3,250
- Payout
- low
- Level
- USD $500
- Payout
Assets in Scope
All smart contracts of Mirror can be found at https://github.com/Mirror-Protocol. 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
- Loss of governance funds
- Theft of unclaimed yield
- Freezing of unclaimed yield
- Temporary freezing of funds for at least 1 day
- Unable to call smart contract
- Smart contract gas drainage
- Smart contract fails to deliver promised returns
- Incorrect polling actions
Web/App
- Leak of user data
- Deletion of user data
- Redirected funds by address modification
- Site goes down
- Accessing sensitive pages without authorization
- Injection of text
- Users spoofing other users
- Shell access on server
- Smart Contract - Collector
- Type
- Smart Contract - Community
- Type
- Smart Contract - Factory
- Type
- Smart Contract - Gov
- Type
- Smart Contract - Mint
- Type
- Smart Contract - Oracle
- Type
- Smart Contract - Staking
- Type
- Smart Contract - Air Drop
- Type
- Smart Contract - Limit Order
- Type
- Smart Contract - Collateral Oracle
- Type
- Smart Contract - Lock
- Type
- Smart Contract - Short Reward
- Type
- Smart Contract - MIR
- Type
- Smart Contract - mAAPL
- Type
- Smart Contract - mGOOGL
- Type
- Smart Contract - mTSLA
- Type
- Smart Contract - mNFLX
- Type
- Smart Contract - mQQQ
- Type
- Smart Contract - mTWTR
- Type
- Smart Contract - mMSFT
- Type
- Smart Contract - mAMZN
- Type
- Smart Contract - mBABA
- Type
- Smart Contract - mIAU
- Type
- Smart Contract - mSLV
- Type
- Smart Contract - mUSO
- Type
- Smart Contract - mVIXY
- Type
- Smart Contract - mFB
- Type
- Smart Contract - mCOIN
- Type
- Smart Contract - mHOOD
- Type
- Smart Contract - mARKK
- Type
- Smart Contract - mGLXY
- Type
- Smart Contract - mSQ
- Type
- Smart Contract - mABNB
- Type
- Smart Contract - mSPY
- Type
- Smart Contract - mDOT
- Type
- Smart Contract - mAMD
- Type
- Smart Contract - mGME
- Type
- Smart Contract - mAMC
- Type
- Smart Contract - mGS
- Type
- Smart Contract - LUNA
- Type
- Smart Contract - UST
- Type
- Smart Contract - KRT
- Type
- Smart Contract - SDT
- Type
- Smart Contract - MNT
- Type
- Smart Contract - MIR
- Type
- Smart Contract - mAAPL
- Type
- Smart Contract - mGOOGL
- Type
- Smart Contract - mTSLA
- Type
- Smart Contract - mNFLX
- Type
- Smart Contract - mQQQ
- Type
- Smart Contract - mTWTR
- Type
- Smart Contract - mMSFT
- Type
- Smart Contract - mAMZN
- Type
- Smart Contract - mBABA
- Type
- Smart Contract - mIAU
- Type
- Smart Contract - mSLV
- Type
- Smart Contract - mUSO
- Type
- Smart Contract - mVIXY
- Type
- Smart Contract - mFB
- Type
- Smart Contract - mCOIN
- Type
- Smart Contract - LUNA
- Type
- Smart Contract - UST
- Type
- Smart Contract - KRT
- Type
- Smart Contract - SDT
- Type
- Smart Contract - MNT
- Type
- Smart Contract - MIR
- Type
- Smart Contract - mAAPL
- Type
- Smart Contract - mGOOGL
- Type
- Smart Contract - mTSLA
- Type
- Smart Contract - mNFLX
- Type
- Smart Contract - mQQQ
- Type
- Smart Contract - mTWTR
- Type
- Smart Contract - mMSFT
- Type
- Smart Contract - mAMZN
- Type
- Smart Contract - mBABA
- Type
- Smart Contract - mIAU
- Type
- Smart Contract - mSLV
- Type
- Smart Contract - mUSO
- Type
- Smart Contract - mVIXY
- Type
- Smart Contract - mFB
- Type
- Smart Contract - mCOIN
- Type
- https://mirror.finance
- Target
- Web/App
- Type
- Web/App
- 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
- 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
Websites and Apps
- Remote Code Execution
- Trusting trust/dependency vulnerabilities
- Vertical Privilege Escalation
- XML External Entities Injection
- SQL Injection
- LFI/RFI
- Horizontal Privilege Escalation
- Stored XSS
- Reflective XSS with impact
- CSRF with impact
- Direct object reference
- Internal SSRF
- Session fixation
- Insecure Deserialization
- DOM XSS
- SSL misconfigurations
- SSL/TLS issues (weak crypto, improper setup)
- URL redirect
- Clickjacking (must be accompanied with PoC)
- Misleading Unicode text (e.g. using right to left override characters)
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
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
- 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