Meter.io Minting Exploit
Notice: This page is a freshly imported case study from the original repository. The original content was in a different format, and may not have relevant information for all sections. Please help restructure the content by moving information from the 'About' section to other sections, and add any missing information or sources you can find. If you are new here, please read General Tutorial on Wikis or Anatomy of a Case Study for help getting started.
Meter.io is a large multi-chain bridge, which allows assets to be moved between different blockchain smart contract networks. As part of their setup, funds exist locked in smart contract hot wallets, which back representative tokens used in the transfer. Based on an attacker exploiting a missing validation check, extra tokens were minted which were unbacked. The attacker stole $4.4m worth of ETH and BTC. It appears the ETH was successfully deposited to TornadoCash. The Meter.io protocol has agreed to reimburse affected users in full.
This is a global/international case not involving a specific country.
About Meter.io
"High-performance blockchain infrastructure that scales and connects the financial Internet." "Meter is the fastest, most decentralized and scalable ethereum sidechain."
"Meter is a bridge that connects to Ethereum and some other chains." "Meter is fully compatible with Ethereum at the RPC level - bring over your Ethereum dApps with almost no changes! Unlike other Layer 2s and EVM chains, dApps built on Meter are fast, uncensorable and front running/MEV resistant."
"Moonriver houses several smart contracts on the Kusama network, built on Polkadot. In the same vein, Hundred Finance was developed using a code from Compound Finance."
"Building bridges is a dangerous business. Another attack sees $4.4M taken from Meter.io on BSC, making Hundred Finance lose $3.3M in collateral damage."
"According to developers, the hack took place on February 5." "Around 6am Pacific time we identified someone was able to leverage a vulnerability of the bridge to mint a large amount of BNB and WETH tokens and depleted the bridge reserve for BNB on WETH."
"Hackers stole BNB and wETH of about $4.4 million using the wrong trust assumption in the developing code." "[T]he issue [was] a bug introduced in the automatic wrap and wrap of native tokens like BNB and ETH extended by the Meter team." "The extended code had a wrong trust assumption which allowed hacker to call the underlying ERC20 deposit function to fake an BNB or ETH transfer."
"We have identified the issue: Passport has a feature to automatically wrap and unwrap gas tokens like ETH and BNB for user convenience. However, the contract did not block direct interaction of the wrapped ERC20 tokens for the native gas token and did not properly transfer and verify the correct number of WETH transferred from the callers' address. We are working on compensating funds to all affected users," the company explained.
"This means that the hackers sent an arbitrary amount of Ethereum to Meter, which was used to carry out the attack. After the attack, a series of events took place, affecting BNB’s price."
"After the attack, the hacker was said to have taken to Sushiswap to sell off all the BNB in his possession. After this, the price of BNB went down as far as 77% on Moonriver. Reacting to the price fall, most traders bought as much BNB as possible. After that, most of them took out loans in different tokens while using the BNB as collateral."
"The only impacted tokens were native gas tokens (WETH and BNB), and only Meter and Moonriver networks were impacted."
"We stopped all bridge transactions immediately and started an investigation." "Within 30 minutes we identified the issue to be a bug introduced in the automatic wrap and wrap of native tokens like BNB and ETH extended by the Meter team."
"We have identified some early traces of the hacker and are working with authorities. We urge the hacker to return the funds." "Meter has discovered bits of the hacker’s digital breadcrumbs and cooperates with law enforcement to identify the hacker." "The blockchain security firm PeckShield estimated that in total, 1,391 ETH and 2.74 wBTC were taken by the attacker and have since been sent to Ethereum where the tokens have gone through Tornado Cash, an ETH transactions privacy tool."
"We urge all the liquidity providers that provide liquidity involving WETH and BNB to remove liquidity from the pool and wait for an additional announcement from the Meter team. Please try avoid trading in these pairs as well."
"Community, we really appreciate everyone's patience and support as we work to get back up and running after this morning's exploit." "We are working on taking snapshots and designing a compensation plan to the WETH and BNB holders and LP providers."
"A number of opportunists then took advantage of the price dip by buying cheap BNB. They used the tokens as collateral on Hundred Finance to take out ETH, FRAX and MIM loans. Due to the discrepancy in BNB price, however, their loans were worth more than the collateral they had provided, causing a supply crisis."
"Accounts were able to purchase BNB.bsc at a reduced price and use these tokens as collateral at the global Chainlink price to borrow uncompromised assets on our platform. Of these, MIM and FRAX are currently impacted." "We would like to request that owners of the accounts that did so consider returning the assets borrowed so that other users are able to access their liquidity. 1 acc. holder has already done so and we are willing to pay further bounties to remaining 3 for doing the same."
"A representative from the Hundred Finance team told Cointelegraph that it would wait about a day before taking steps to reopen MIM and FRAX markets on the Moonriver side of itsplatform."
"The Meter team has committed to reimbursing its community and Hundred Finance for losses incurred due to the hack. The team stated on Sunday that it had set aside $4.4 million in MTRG tokens to cover initial losses." "In its recent statement, Meter mentioned that it would refund users MTRG tokens while setting aside about $4.4 million of the said token."
"We are working on taking a snapshot from before the attack & will convert the original BNB & WETH to 1:1 their values in MTRG, the rest inflated BNB & WETH will be converted based on the hacker stolen value from the LP pools."
“Meter have of course accepted responsibility for this hack and are intending to use their native token for reimbursement to the extent that they can, currently we are in the gathering addresses and amounts stage.”
This is a global/international case not involving a specific country.
The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.
Include:
- Known history of when and how the service was started.
- What problems does the company or service claim to solve?
- What marketing materials were used by the firm or business?
- Audits performed, and excerpts that may have been included.
- Business registration documents shown (fake or legitimate).
- How were people recruited to participate?
- Public warnings and announcements prior to the event.
Don't Include:
- Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.
- Anything that wasn't reasonably knowable at the time of the event.
There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.
The Reality
This sections is included if a case involved deception or information that was unknown at the time. Examples include:
- When the service was actually started (if different than the "official story").
- Who actually ran a service and their own personal history.
- How the service was structured behind the scenes. (For example, there was no "trading bot".)
- Details of what audits reported and how vulnerabilities were missed during auditing.
What Happened
The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.
| Date | Event | Description |
|---|---|---|
| February 5th, 2022 4:21:00 PM | Main Event | Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here. |
Total Amount Lost
The total amount lost has been estimated at $4,400,000 USD.
How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?
Immediate Reactions
How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?
Ultimate Outcome
What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?
Total Amount Recovered
There do not appear to have been any funds recovered in this case.
What funds were recovered? What funds were reimbursed for those affected users?
Ongoing Developments
What parts of this case are still remaining to be concluded?
Prevention Policies
In general, complex smart contract hot wallets shouldn't be in charge of minting. Instead, this should always be the responsibility of a simple multi-sig wallet with cold storage keys held by trusted individuals. If a hot wallet is needed for distribution, that should be audited by two competent firms and never exceed a value which the project can self-insure from other liquid assets.
References
Rekt - Meter - REKT (Feb 8)
Meter - The Future Is Multi-Chain (Feb 13)
$4.4M Stolen in Hack of Blockchain Infrastructure Firm Meter (Feb 14)
$4.4 million stolen in attack on blockchain infrastructure Meter | ZDNet (Feb 14)
https://beincrypto.com/cross-chain-bridge-hack-of-meter-sees-4-4m-stolen/ (Feb 14)
Latest DeFi bridge exploit results in $4.4M losses for Meter (Feb 14)
https://www.cryptopolitan.com/meter-loses-4-million-in-latest-defi-breach/ (Feb 14)
@Meter_IO Twitter (Feb 14)
@HundredFinance Twitter (Feb 14)
@HundredFinance Twitter (Feb 14)
https://etherscan.io/txs?a=0x8d3d13cac607B7297Ff61A5E1E71072758AF4D01 (Feb 14)
@Meter_IO Twitter (Feb 14)
@peckshield Twitter (Feb 14)