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.
For more information about MetalSwap please visit https://metalswap.finance/.
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. All bug reports must also come with a suggestion for a fix in order to be considered for a reward.
Known issues highlighted in the following audits are considered out of scope of this program:
In addition, any attempt to hack, gain access to, replace, modify, damage or impersonate the frontend or server services included in the architecture of the MetalSwap project are considered out of scope of the program.
MetalSwap requires KYC to be done for all bug bounty hunters. Metalswap requires a signed document (Confirmation of tax disclosure) to receive Rewards. The following information is required in this document: Last Name, First Name, residential address, Country , Taxpayer Identification Number,and a ID/passport copy.
Payouts are handled by the MetalSwap team directly and are denominated in USD. However, payouts are done in USDT. This bug bounty program will have a hard cap of USDT 50 000. In the event that multiple bug reports are submitted that exceed this amount, the rewards will be provided on a first come first served basis.
- USD $20,000
- USD $5,000
Assets in scope
- Smart Contract - contracts/abstract/MetalSwapAbstractType
- Smart Contract - contracts/abstract/MetalSwapPoolAbstractType
- Smart Contract - contracts/libraries/FinancialSwapManagerType
- Smart Contract - contracts/libraries/HexStringsType
- Smart Contract - contracts/libraries/IPriceProviderType
- Smart Contract - contracts/libraries/NFTBaseChipsType
- Smart Contract - contracts/libraries/NFTDescriptorType
- Smart Contract - contracts/libraries/NFTGeneratorType
- Smart Contract - contracts/libraries/NFTGeneratorSupportType
- Smart Contract - contracts/libraries/PriceProviderType
- Smart Contract - contracts/libraries/URIInfoType
- Smart Contract - contracts/ETHPoolType
- Smart Contract - contracts/ETHUSDTSwapType
- Smart Contract - contracts/SettlementFeeContainerType
- Smart Contract - contracts/USDTPoolType
- Smart Contract - contracts/WBTCPoolType
- Smart Contract - contracts/WBTCUSDTSwapType
All smart contracts of MetalSwap can be found at https://github.com/DEFI-Foundation/swapsv2. 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.
- Direct theft of any funds belonging to specific users, whether at-rest or in-motion, other than unclaimed yieldCriticalImpact
- Permanent freezing of fundsCriticalImpact
- Maximal extractable value (MEV) mechanisms that directly prevent the use of the hedging swap instrument by the end usersCriticalImpact
- Protocol insolvency regarding tokens other than the governance reward token XMTCriticalImpact
- Theft of unclaimed yieldHighImpact
- Theft of unclaimed royaltiesHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of funds for at least 1 hourHighImpact
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 (such as governance, strategist or any platform operator address)"
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
- 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
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