Mars Protocol

Submit a Bug
13 January 2023
Live since
No
KYC required
$100,000
Maximum bounty
08 April 2024
Last updated

Program Overview

Mars Protocol consists of a money market, called Red Bank, and a generalized credit primitive called Credit Accounts. Mars Protocol utilizes a so-called hub and outpost topology, whereby its base, Mars Hub is the command center for Mars outposts. Each outpost can consist of instances of Red Bank and/or Credit Accounts. The first outpost containing both Red bank and Credit Accounts (dubbed Mars v2) is on Osmosis, and the second outpost which currently contains only the Red Bank is deployed to Neutron.

Built for the Cosmos ecosystem, Mars Protocol is Built using the Cosmos SDK. Mars Hub will serve as the homebase for all of Mars’ outposts throughout the Cosmos galaxy. Each outpost consists of an instance of Red Bank and optionally Credit Accounts, which are deployed onto independent chains. Outposts are bound together by Mars Hub which is responsible for governance and treasury including protocol revenue distribution.

A new MARS token was minted on Mars Hub and will circulate freely throughout the Cosmos ecosystem.

For more information about the Mars Protocol, please visit whitepaper.marsprotocol.io.

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 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.

Rewards for critical blockchain/DLT and critical smart contract vulnerabilities are further capped at 10% of mainnet economic damage potentially caused. However, there is a minimum reward of USD 20 000 and a maximum reward of USD 100 000.

All issues highlighted in the following audit reports are considered out of scope of the program:

Reward Payment Terms

Payouts are handled by the Mars Protocol Foundation and are denominated in USD. However, payouts are done in MARS.

The calculation of the net amount rewarded is based on the average price between CoinMarketCap.com and CoinGecko.com at the time the bug report was submitted. No adjustments are made based on liquidity availability.

Blockchain/DLT

Critical
Level
USD $20,000 to USD $100,000
Payout
PoC Required
High
Level
USD $20,000
Payout
PoC Required
Medium
Level
USD $5,000
Payout
PoC Required
Low
Level
USD $1,000
Payout
PoC Required

Smart Contract

Critical
Level
USD $20,000 to $100,000
Payout
PoC Required
High
Level
USD $20,000
Payout
PoC Required
Medium
Level
USD $5,000
Payout
PoC Required
Low
Level
USD $1,000
Payout
PoC Required

Assets in scope

Assets in scope are as follows:

  • Mars Hub testnet
  • Mars Hub mainnet
  • Periphery contracts on Mars Hub testnet and mainnet
  • Osmosis Mars Outpost contracts
  • Neutron Mars Outpost contracts

The codebase associated with Mars Hub’s testnet and mainnet can be found at https://github.com/mars-protocol/hub. The smart contracts that are deployed on Mars Hub testnet and mainnet can be found at https://github.com/mars-protocol/periphery. Mars Outposts related smart contracts deployed onto the Osmosis and Neutron blockchains can be found at https://github.com/mars-protocol/contracts.

If an impact can be caused to any other asset managed by Mars Hub or its Osmosis outpost,that isn’t on this table but for which the impact is in the Impacts in Scope section below, you are encouraged to submit it for consideration by 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.

Blockchain/DLT

  • Direct loss of funds
    Critical
    Impact
  • Any governance voting result manipulation
    High
    Impact
  • Network not being able to confirm new transactions (Total network shutdown)
    Medium
    Impact
  • Permanent freezing of funds (fix requires hardfork)
    Medium
    Impact
  • Underpricing transaction fees relative to computation time
    Low
    Impact
  • High compute consumption by validator/mining nodes
    Low
    Impact

Smart Contract

  • Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield
    Critical
    Impact
  • Direct theft of any user NFTs, whether at-rest or in-motion, other than unclaimed royalties
    Critical
    Impact
  • Unintended alteration of what the NFT represents (e.g. token URI, payload, artistic content)
    Critical
    Impact
  • Protocol insolvency
    Critical
    Impact
  • Oracle manipulation and flash loan attacks
    Critical
    Impact
  • Theft of unclaimed royalties
    High
    Impact
  • Freezing of funds
    High
    Impact
  • Freezing of NFTs (applicable for v2-fields-of-mars/rover only)
    High
    Impact
  • Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)
    Medium
    Impact
  • Freezing of unclaimed yield
    Medium
    Impact
  • Freezing of unclaimed royalties
    Medium
    Impact
  • Unintended consequences from Maximal-extractable value (MEV) exploration
    Low
    Impact

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)
  • Attacks found in an underlying Cosmos SDK standard module dependency (vulnerabilities found in code that is not Mars Protocols code, but Mars Protocol has a dependency on through Cosmos SDK)

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
  • Lack of funding for contracts that require topping up from an external address e.g.contracts pertaining to incentives e.t.c. (where applicable)
  • DoS related attacks

The following activities are prohibited by this bug bounty program:

  • Any testing with mainnet contracts; all testing should be done on private testnets. Any testing on public testnets should be done with care to not disclose vulnerabilities to blackhats.
  • 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