Ensuring protocol security with Immunefi bug bounty program

Maple Finance
3 min readJan 25, 2022

Maple Finance is an institutional capital marketplace powered by blockchain technology. Developed to solve the inefficiencies seen in traditional systems, Maple brings the corporate credit market 100% on-chain using smart contracts to remove time and cost frictions, and blockchains for immutability. Today the Maple platform has found product-market fit amongst crypto-native institutions needing access to capital to power their business operations.

We’re committed to ensuring the safety of our platform for all users including Borrowers, Lenders, Pool Delegates and Cover Providers. We recently earned an impressive 92% in a Process Quality Review from @DefiSafety indicating how closely our security, testing, auditing, validity processes and documentation follow best-practice: https://www.defisafety.com/pqrs/78.

Now, in partnership with Immunefi, Web3’s leading bug bounty platform protecting $100 billion in user funds, we’re kicking off a bug bounty program to prevent:

  • Thefts and freezing of principal of any amount
  • Thefts and freezing of unclaimed yield of any amount
  • Thefts and freezing of any collateral
  • Unintended changes in smart contract permissioning
  • Unintended changes in proxy/upgradeability functionality
  • Unfair liquidations of collateral

For more information on Immunefi, please visit their website at https://immunefi.com/.

The program opens at 12.30pm EST on 2/25/2022, and you can submit bugs here: https://immunefi.com/bounty/maple.

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 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 known issues highlighted in the following audit reports are considered to be out-of-scope:

Maple requires KYC to be done for all bug bounty hunters submitting a report and wanting a reward. The information needed is a government issued photo ID as well as a proof of address issued within the last 3 months (eg. utility bill).

Payouts are handled by the Maple team directly and are denominated in USD. However, payouts are done in USDC or MPL.

Critical USD 50 000

High USD 25 000

Medium USD 1 000

Assets in Scope

All proxies deployed from the listed factories are also considered as in-scope.

All smart contracts of Maple can be found at https://github.com/maple-labs/. However, only these assets are considered as in-scope for the bug bounty program.

Smart Contract — MapleLoan : https://etherscan.io/address/0x97940C7aea99998da4c56922211ce012E7765395

Smart Contract — MapleLoanFactory : https://etherscan.io/address/0x36a7350309B2Eb30F3B908aB0154851B5ED81db0

Smart Contract — MapleLoanInitializer : https://etherscan.io/address/0xCba99a6648450a7bE7f20B1C3258F74Adb662020

Smart Contract — Refinancer : https://etherscan.io/address/0x2cF4C679bc9B6073A3f68f7584809E5F177cC59A

Smart Contract — DebtLocker : https://etherscan.io/address/0xA134143D6bDEf75eD2FbbB4e7a8E70765c25a03C

Smart Contract — DebtLockerFactory : https://etherscan.io/address/0xA83404CAA79989FfF1d84bA883a1b8187397866C

Smart Contract — DebtLockerInitializer :

https://etherscan.io/address/0x3D01aE38be6D81BD7c8De0D5Cd558eAb3F4cb79b

Prioritized Vulnerabilities

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

  • Thefts and freezing of principal of any amount
  • Thefts and freezing of unclaimed yield of any amount
  • Thefts and freezing of any collateral
  • Unintended changes in smart contract permissioning
  • Unintended changes in proxy/upgradeability functionality
  • Unfair liquidations of collateral

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

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

--

--

Maple Finance

Maple Finance is an institutional capital marketplace powered by blockchain technology.