Iron Finance Irony: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
(Created page with "{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/ironfinanceirony.php}} thumb|Iron FinanceIron Finance had a couple of liquidity pools which had incorrect "adopted weighted constant product invariants" which caused an attacker to be able to exploit the error and drain funds from the pools. This is a global/international case not involving a specific country. == About Iron Finance == Iron Finance offers "a Partially-col...")
 
No edit summary
Line 1: Line 1:
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/ironfinanceirony.php}}
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/ironfinanceirony.php}}
{{Unattributed Citations}}


[[File:Ironfinance.jpg|thumb|Iron Finance]]Iron Finance had a couple of liquidity pools which had incorrect "adopted weighted constant product invariants" which caused an attacker to be able to exploit the error and drain funds from the pools.
[[File:Ironfinance.jpg|thumb|Iron Finance]]Iron Finance had a couple of liquidity pools which had incorrect "adopted weighted constant product invariants" which caused an attacker to be able to exploit the error and drain funds from the pools.


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.
<ref name="ironfinancemedium-1215" /><ref name="ironfinancemedium-1216" /><ref name="ironfinancemedium-1217" /><ref name="ironfinancemedium-946" /><ref name="bscscan-1218" /><ref name="bbbbtwitter-1219" /><ref name="valuedefiannouncementstelegram-1220" /><ref name="etherscan-1221" /><ref name="etherscan-1222" /><ref name="peckshieldmedium-1223" /><ref name="valuedefiannouncementstelegram-1224" /><ref name="frankresearchertwitter-1225" /><ref name="thedefiant-1780" /><ref name="cryptobriefing-1789" />


== About Iron Finance ==
== About Iron Finance ==
Line 31: Line 33:


Don't Include:
Don't Include:
* Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.
* 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.
* Anything that wasn't reasonably knowable at the time of the event.
Line 53: Line 54:
|-
|-
|May 7th, 2021 12:00:00 AM
|May 7th, 2021 12:00:00 AM
|First Event
|Main Event
|This is an expanded description of what happened and the impact. If multiple lines are necessary, add them here.
|Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.
|-
|
|
|
|-
|-
|
|
Line 66: Line 63:


== Total Amount Lost ==
== Total Amount Lost ==
The total amount lost is unknown.
The total amount lost has been estimated at $11,000,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?
How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?
Line 77: Line 74:


== Total Amount Recovered ==
== Total Amount Recovered ==
It is unknown how much was 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?
What funds were recovered? What funds were reimbursed for those affected users?
Line 90: Line 87:


== References ==
== References ==
[https://ironfinance.medium.com/re-build-after-valuedefi-attack-part-1-dc443f0d59c3 Re Build After Valuedefi Attack Part 1] (May 24)
<references><ref name="ironfinancemedium-1215">[https://ironfinance.medium.com/re-build-after-valuedefi-attack-part-1-dc443f0d59c3 Re Build After Valuedefi Attack Part 1] (May 24, 2021)</ref>


[https://ironfinance.medium.com/re-build-after-valuedefi-attack-and-other-updates-part-2-ca1ecafb854c Re Build After Valuedefi Attack And Other Updates Part 2] (May 24)
<ref name="ironfinancemedium-1216">[https://ironfinance.medium.com/re-build-after-valuedefi-attack-and-other-updates-part-2-ca1ecafb854c Re Build After Valuedefi Attack And Other Updates Part 2] (May 24, 2021)</ref>


[https://ironfinance.medium.com/07-may-2021-value-defi-incident-part-1-b4f2a7a1a2b2 07 May 2021 Value Defi Incident Part 1] (May 25)
<ref name="ironfinancemedium-1217">[https://ironfinance.medium.com/07-may-2021-value-defi-incident-part-1-b4f2a7a1a2b2 07 May 2021 Value Defi Incident Part 1] (May 25, 2021)</ref>


[https://ironfinance.medium.com/iron-the-first-partial-collateralized-stablecoin-on-binance-smart-chain-8c22c426cace Iron The First Partial Collateralized Stablecoin On Binance Smart Chain] (May 25)
<ref name="ironfinancemedium-946">[https://ironfinance.medium.com/iron-the-first-partial-collateralized-stablecoin-on-binance-smart-chain-8c22c426cace Iron The First Partial Collateralized Stablecoin On Binance Smart Chain] (May 25, 2021)</ref>


[https://bscscan.com/address/0xb88a8697eee4d9c7b5091649e8fc955a675b7570 Address 0xb88a8697eee4d9c7b5091649e8fc955a675b7570 | BscScan] (Jul 2)
<ref name="bscscan-1218">[https://bscscan.com/address/0xb88a8697eee4d9c7b5091649e8fc955a675b7570 Address 0xb88a8697eee4d9c7b5091649e8fc955a675b7570 | BscScan] (Jul 2, 2021)</ref>


[https://twitter.com/bbbb/status/1391062253173051392 @bbbb Twitter] (Jul 2)
<ref name="bbbbtwitter-1219">[https://twitter.com/bbbb/status/1391062253173051392 @bbbb Twitter] (Jul 2, 2021)</ref>


[https://t.me/ValueDefi_Announcements/460 Telegram: Contact @ValueDefi_Announcements] (Jul 2)
<ref name="valuedefiannouncementstelegram-1220">[https://t.me/ValueDefi_Announcements/460 Telegram: Contact @ValueDefi_Announcements] (Jul 2, 2021)</ref>


[https://etherscan.io/address/0xCB36b1ee0Af68Dce5578a487fF2Da81282512233 Address 0xCB36b1ee0Af68Dce5578a487fF2Da81282512233 | Etherscan] (Jul 2)
<ref name="etherscan-1221">[https://etherscan.io/address/0xCB36b1ee0Af68Dce5578a487fF2Da81282512233 Address 0xCB36b1ee0Af68Dce5578a487fF2Da81282512233 | Etherscan] (Jul 2, 2021)</ref>


[https://etherscan.io/address/0xb88a8697eee4d9c7b5091649e8fc955a675b7570 Address 0xb88a8697eee4d9c7b5091649e8fc955a675b7570 | Etherscan] (Jul 2)
<ref name="etherscan-1222">[https://etherscan.io/address/0xb88a8697eee4d9c7b5091649e8fc955a675b7570 Address 0xb88a8697eee4d9c7b5091649e8fc955a675b7570 | Etherscan] (Jul 2, 2021)</ref>


[https://peckshield.medium.com/valuedefi-incident-incorrect-weighted-constant-product-invariant-calculation-1bbaa220a02b Valuedefi Incident Incorrect Weighted Constant Product Invariant Calculation] (Jul 2)
<ref name="peckshieldmedium-1223">[https://peckshield.medium.com/valuedefi-incident-incorrect-weighted-constant-product-invariant-calculation-1bbaa220a02b Valuedefi Incident Incorrect Weighted Constant Product Invariant Calculation] (Jul 2, 2021)</ref>


[https://t.me/ValueDefi_Announcements/467 Telegram: Contact @ValueDefi_Announcements] (Jul 2)
<ref name="valuedefiannouncementstelegram-1224">[https://t.me/ValueDefi_Announcements/467 Telegram: Contact @ValueDefi_Announcements] (Jul 2, 2021)</ref>


[https://twitter.com/FrankResearcher/status/1390905527496962057 @FrankResearcher Twitter] (Jul 2)
<ref name="frankresearchertwitter-1225">[https://twitter.com/FrankResearcher/status/1390905527496962057 @FrankResearcher Twitter] (Jul 2, 2021)</ref>


[https://thedefiant.io/not-just-a-bank-run-new-evidence-shows-iron-finance-crashed-due-to-code-exploit/ Not Just a Bank Run: New Evidence Shows Iron Finance Crashed Due to Code Exploit - The Defiant - DeFi News] (Jul 23)
<ref name="thedefiant-1780">[https://thedefiant.io/not-just-a-bank-run-new-evidence-shows-iron-finance-crashed-due-to-code-exploit/ Not Just a Bank Run: New Evidence Shows Iron Finance Crashed Due to Code Exploit - The Defiant - DeFi News] (Jul 23, 2021)</ref>


[https://cryptobriefing.com/iron-finance-denies-rug-pull-after-token-collapse/ Iron Finance Denies Rug Pull After Token Collapse | Crypto Briefing] (Jul 23)
<ref name="cryptobriefing-1789">[https://cryptobriefing.com/iron-finance-denies-rug-pull-after-token-collapse/ Iron Finance Denies Rug Pull After Token Collapse | Crypto Briefing] (Jul 23, 2021)</ref></references>

Revision as of 17:51, 18 February 2023

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.

Notice: This page contains sources which are not attributed to any text. The unattributed sources follow the initial description. Please assist by visiting each source, reviewing the content, and placing that reference next to any text it can be used to support. Feel free to add any information that you come across which isn't present already. Sources which don't contain any relevant information can be removed. Broken links can be replaced with versions from the Internet Archive. See General Tutorial on Wikis, Anatomy of a Case Study, and/or Citing Your Sources Guide for additional information. Thanks for your help!

Iron Finance

Iron Finance had a couple of liquidity pools which had incorrect "adopted weighted constant product invariants" which caused an attacker to be able to exploit the error and drain funds from the pools.

This is a global/international case not involving a specific country. [1][2][3][4][5][6][7][8][9][10][11][12][13][14]

About Iron Finance

Iron Finance offers "a Partially-collateralized Stablecoin on the Binance Smart Chain". The iron token is "pegged to $1, partly backed by collateral like BUSD, and partially backed by STEEL. The collateralized ratio (CR), which is the collateralized and algorithmic ratio, depends on the market pricing of IRON. If the market demand for IRON is high, the system can be de-collateralized by decreasing the CR vis-a-vis when the demand is decreased."

"Started at 07:41:39 PM +UTC, May 7, 2021, ValueDeFi’s vSwap contract was exploited to drain a number of pools at the loss of about $11M." "AFFECTED IRON-STEEL 60%-40% vFarm STEEL-BUSD 70%-30% vFarm" "This incident was due to the mis-calculation by the protocol on the adopted weighted constant product invariant for non 50–50 ratio pools. There is no flashloan or price manipulation involved. The consequence of mis-calculated invariant allows for draining of affected pool funds. Currently, the bug has been exploited to attack 9 non 50–50 ratio pools with the estimated loss of $11M."

"Total exploited amount is about 4290 ETH and additional 900k$ in FARM, BAC and BASv2 which already been bridged to ETH." "Value DeFi posted on Telegram explaining that a cloud service (FaaS) upgrade changed the reward rate integer. However, the Iron Finance team was unaware. It updated the pools with a different reward rate integer which is what caused the incident."

"Following the Value DeFi incident which greatly affected our users, we are working tirelessly on rebuilding Iron Finance. Expect to hear from us progress updates on a daily basis as we strive to efficiently and promptly replace Value DeFi products and features. In parallel, we are trying to also keep pace with our Roadmap and other deliverables as planned."

"As you may know by now from following our Telegram group, the first step to re-build our protocol after the attack on ValueDefi is to find a new place for our liquidity pools and farms." "We are going to move our liquidity to PancakeSwap from ValueDefi." "Our farms with ValueDefi will be canceled and we are going to have our farms on our own brand new website, with a new design and interface."

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.

Key Event Timeline - Iron Finance Irony
Date Event Description
May 7th, 2021 12:00:00 AM 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 $11,000,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, it is not possible to be 100% certain that a smart contract is safe. Where smart contracts are necessary, community-based insurance can protect investors from the loss of all capital.

A more effective storage mechanism for funds would be an air-gapped multi-signature wallet.

References