MetalSwap-logo

MetalSwap

MetalSwap is a decentralised platform that enables hedging swaps in financial markets with the aim of providing a hedge for commodity traders and an investment opportunity for those who contribute to the shared liquidity of the project.

BSC
ETH
Linea
Optimism
Polygon
Defi
Bridge
DEX
Derivatives
Liquid Staking
Solidity
Maximum Bounty
$20,000
Live Since
03 February 2023
Last Updated
18 November 2024
  • PoC required

  • KYC required

Select the category you'd like to explore

Assets in Scope

Target
Type
Smart Contract - contracts/abstract/MetalSwapAbstract
Added on
3 February 2023
Target
Type
Smart Contract - contracts/abstract/MetalSwapPoolAbstract
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/FinancialSwapManager
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/HexStrings
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/IPriceProvider
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/NFTBaseChips
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/NFTDescriptor
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/NFTGenerator
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/NFTGeneratorSupport
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/PriceProvider
Added on
3 February 2023
Target
Type
Smart Contract - contracts/libraries/URIInfo
Added on
3 February 2023
Target
Type
Smart Contract - contracts/ETHPool
Added on
3 February 2023

Impacts in Scope

Severity
Critical
Title

Direct theft of any funds belonging to specific users, whether at-rest or in-motion, other than unclaimed yield

Severity
Critical
Title

Permanent freezing of funds

Severity
Critical
Title

Maximal extractable value (MEV) mechanisms that directly prevent the use of the hedging swap instrument by the end users

Severity
Critical
Title

Protocol insolvency regarding tokens other than the governance reward token XMT

Severity
High
Title

Theft of unclaimed yield

Severity
High
Title

Theft of unclaimed royalties

Severity
High
Title

Permanent freezing of unclaimed yield

Severity
High
Title

Temporary freezing of funds for at least 1 hour

Out of scope

Program's Out of Scope information
  • Best practice critiques
  • Bugs and possible attacks publicly disclosed by MetalSwap (or remedied) before their bounty is claimed
  • Known and already remedied bug on the Liquidity Pool smart contracts that allowed users to redeem XMT token rewards for NFT liquidity positions owned by other users
  • Protocol insolvency regarding the governance reward token XMT
  • Cases of protocol insolvency related to transactions failing because of lack of tokens on the Smart Contracts or token allowances given on platform-owned wallets by MetalSwap operators are excluded from the bug bounty program because they are improbable and easily and quickly fixable
Default Out of Scope and rules

Smart Contract specific

  • Incorrect data supplied by third party oracles
    • Not to exclude oracle manipulation/flash loan attacks
  • Impacts requiring basic economic and governance attacks (e.g. 51% attack)
  • Lack of liquidity impacts
  • Impacts from Sybil attacks
  • Impacts involving centralization risks

All categories

  • Impacts requiring attacks that the reporter has already exploited themselves, leading to damage
  • Impacts caused by attacks requiring access to leaked keys/credentials
  • Impacts caused by attacks requiring access to privileged addresses (including, but not limited to: governance and strategist contracts) without additional modifications to the privileges attributed
  • Impacts relying on attacks involving the depegging of an external stablecoin where the attacker does not directly cause the depegging due to a bug in code
  • Mentions of secrets, access tokens, API keys, private keys, etc. in Github will be considered out of scope without proof that they are in-use in production
  • Best practice recommendations
  • Feature requests
  • Impacts on test files and configuration files unless stated otherwise in the bug bounty program
  • Impacts requiring phishing or other social engineering attacks against project's employees and/or customers