Alchemix alETH "Rug Put": 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/alchemixalethrugput.php}} thumb|AlchemixAlchemix is a crypto lending platform. Unlike other platforms, they simultaneously invest your collateral in yield farming, which is then used to repay your loan automatically for you. There was a bug where users loans were repaid too quickly, allowing them to withdraw their collateral sooner than they should have been. After resolving...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/alchemixalethrugput.php}}
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/alchemixalethrugput.php}}
{{Unattributed Sources}}


[[File:Alchemix.jpg|thumb|Alchemix]]Alchemix is a crypto lending platform. Unlike other platforms, they simultaneously invest your collateral in yield farming, which is then used to repay your loan automatically for you.
[[File:Alchemix.jpg|thumb|Alchemix]]Alchemix is a crypto lending platform. Unlike other platforms, they simultaneously invest your collateral in yield farming, which is then used to repay your loan automatically for you.
Line 5: Line 6:
There was a bug where users loans were repaid too quickly, allowing them to withdraw their collateral sooner than they should have been. After resolving the bug, the team used various tactics to convince the community to return funds.
There was a bug where users loans were repaid too quickly, allowing them to withdraw their collateral sooner than they should have been. After resolving the bug, the team used various tactics to convince the community to return funds.


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.<ref name="slowmisthacked-678" /><ref name="alchemix-1669" /><ref name="alchemixfitwitter-1670" /><ref name="alchemixfitwitter-1671" /><ref name="alchemixfitwitter-1672" /><ref name="alchemixfitwitter-1673" /><ref name="alchemixfitwitter-1674" /><ref name="alchemixfitwitter-1675" /><ref name="alchemixforum-1676" /><ref name="alchemixforum-1677" /><ref name="coindesk-1678" /><ref name="gemini-1679" /><ref name="gemini-1680" /><ref name="theblockcrypto-1681" /><ref name="intocryptoasttwitter-1682" /><ref name="n4n084191635twitter-1683" /><ref name="rektnews-2054" /><ref name="openblocksecgithub-2342" /><ref name="alchemixfimedium-2410" /><ref name="alchemixfitwitter-2411" /><ref name="knownsecblockchainlabmedium-2412" /><ref name="slowmistmedium-2413" /><ref name="unnamed-13245" /><ref name="newsletter-13117" />


== About Alchemix ==
== About Alchemix ==
Line 65: Line 66:
!Description
!Description
|-
|-
|June 16th, 2021 12:00:00 AM
|June 16th, 2021
|Main Event
|Main Event
|Expand this into a brief 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 73: Line 74:
|
|
|}
|}
== Technical Details ==
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?


== Total Amount Lost ==
== Total Amount Lost ==
Line 86: Line 90:


== Total Amount Recovered ==
== Total Amount Recovered ==
The total amount recovered has been estimated at $0 USD.
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 92: Line 96:
== Ongoing Developments ==
== Ongoing Developments ==
What parts of this case are still remaining to be concluded?
What parts of this case are still remaining to be concluded?
== Individual Prevention Policies ==
{{Prevention:Individuals:Placeholder}}
{{Prevention:Individuals:End}}
== Platform Prevention Policies ==
{{Prevention:Platforms:Placeholder}}
{{Prevention:Platforms:End}}
== Regulatory Prevention Policies ==
{{Prevention:Regulators:Placeholder}}


== Prevention Policies ==
{{Prevention:Regulators:End}}
Which policies could have prevented this event from happening?


== References ==
== References ==
[https://hacked.slowmist.io/en/?c=ETH%20DApp SlowMist Hacked - SlowMist Zone] (May 17)
<references><ref name="slowmisthacked-678">[https://hacked.slowmist.io/en/?c=ETH%20DApp SlowMist Hacked - SlowMist Zone] (May 18, 2021)</ref>
 
<ref name="alchemix-1669">[https://alchemix.fi/ Alchemix - The Future Yield Tokenization Protocol] (Jul 15, 2021)</ref>
 
<ref name="alchemixfitwitter-1670">[https://twitter.com/AlchemixFi/status/1414647769470443521 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://alchemix.fi/ Alchemix - The Future Yield Tokenization Protocol] (Jul 14)
<ref name="alchemixfitwitter-1671">[https://twitter.com/AlchemixFi/status/1409550049185464326 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1414647769470443521 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixfitwitter-1672">[https://twitter.com/AlchemixFi/status/1407026240968478725 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1409550049185464326 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixfitwitter-1673">[https://twitter.com/AlchemixFi/status/1405430958820495362 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1407026240968478725 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixfitwitter-1674">[https://twitter.com/AlchemixFi/status/1405430957033738241 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1405430958820495362 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixfitwitter-1675">[https://twitter.com/AlchemixFi/status/1405430960712155137 @AlchemixFi Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1405430957033738241 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixforum-1676">[https://forum.alchemix.fi/public/d/146-legendary-aleth-returners Legendary alETH returners - Alchemix Governance] (Jul 15, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1405430960712155137 @AlchemixFi Twitter] (Jul 14)
<ref name="alchemixforum-1677">[https://forum.alchemix.fi/public/d/137-incident-report-06162021 Incident Report - 06162021 - Alchemix Governance] (Jul 15, 2021)</ref>


[https://forum.alchemix.fi/public/d/146-legendary-aleth-returners Legendary alETH returners - Alchemix Governance] (Jul 14)
<ref name="coindesk-1678">[https://www.coindesk.com/free-money-bug-hits-defi-platform-alchemix 'Free Money' Bug Hits DeFi Platform Alchemix - CoinDesk] (Jul 15, 2021)</ref>


[https://forum.alchemix.fi/public/d/137-incident-report-06162021 Incident Report - 06162021 - Alchemix Governance] (Jul 14)
<ref name="gemini-1679">[https://www.gemini.com/prices/alchemix Alchemix Price - ALCX | Gemini] (Jul 15, 2021)</ref>


[https://www.coindesk.com/free-money-bug-hits-defi-platform-alchemix 'Free Money' Bug Hits DeFi Platform Alchemix - CoinDesk] (Jul 14)
<ref name="gemini-1680">[https://www.gemini.com/cryptopedia/alchemix-crypto-loans-alusd-alcx-dai-yearn-finance Alchemix: Automated Crypto Loans with ALCX & ALUSD | Gemini] (Jul 15, 2021)</ref>


[https://www.gemini.com/prices/alchemix Alchemix Price - ALCX | Gemini] (Jul 14)
<ref name="theblockcrypto-1681">[https://www.theblockcrypto.com/linked/108612/defi-loan-platform-alchemix-pauses-aleth-contract-after-bug DeFi loan platform Alchemix pauses alETH contract after bug] (Jul 15, 2021)</ref>


[https://www.gemini.com/cryptopedia/alchemix-crypto-loans-alusd-alcx-dai-yearn-finance Alchemix: Automated Crypto Loans with ALCX & ALUSD | Gemini] (Jul 14)
<ref name="intocryptoasttwitter-1682">[https://twitter.com/intocryptoast/status/1405252688791498753 @intocryptoast Twitter] (Jul 15, 2021)</ref>


[https://www.theblockcrypto.com/linked/108612/defi-loan-platform-alchemix-pauses-aleth-contract-after-bug DeFi loan platform Alchemix pauses alETH contract after bug] (Jul 14)
<ref name="n4n084191635twitter-1683">[https://twitter.com/n4n084191635/status/1405173748425240586 @n4n084191635 Twitter] (Jul 15, 2021)</ref>


[https://twitter.com/intocryptoast/status/1405252688791498753 @intocryptoast Twitter] (Jul 14)
<ref name="rektnews-2054">[https://www.rekt.news/alchemix-rekt/ Rekt - Alchemix - REKT] (Jul 31, 2021)</ref>


[https://twitter.com/n4n084191635/status/1405173748425240586 @n4n084191635 Twitter] (Jul 14)
<ref name="openblocksecgithub-2342">[https://github.com/openblocksec/blocksec-incidents/blob/main/defi/2021.md blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub] (Aug 11, 2021)</ref>


[https://www.rekt.news/alchemix-rekt/ Rekt - Alchemix - REKT] (Jul 30)
<ref name="alchemixfimedium-2410">[https://alchemixfi.medium.com/alchemix-farm-migration-post-mortem-and-aleth-update-78c6dd98e3f5 Alchemix Farm Migration Post Mortem And Aleth Update] (Aug 11, 2021)</ref>


[https://github.com/openblocksec/blocksec-incidents/blob/main/defi/2021.md blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub] (Aug 10)
<ref name="alchemixfitwitter-2411">[https://twitter.com/AlchemixFi/status/1400702387321327619 @AlchemixFi Twitter] (Aug 11, 2021)</ref>


[https://alchemixfi.medium.com/alchemix-farm-migration-post-mortem-and-aleth-update-78c6dd98e3f5 Alchemix Farm Migration Post Mortem And Aleth Update] (Aug 10)
<ref name="knownsecblockchainlabmedium-2412">[https://medium.com/@Knownsec_Blockchain_Lab/known-blockchain-lab-a-thousand-miles-of-levee-collapsed-in-ants-den-a-brief-analysis-of-the-c654b7fdc5a3 Known Blockchain Lab | A Thousand Miles of Levee Collapsed in Ant's Den: A Brief Analysis of the Alchemix Incident | by Knownsec Blockchain Lab | Medium] (Aug 11, 2021)</ref>


[https://twitter.com/AlchemixFi/status/1400702387321327619 @AlchemixFi Twitter] (Aug 10)
<ref name="slowmistmedium-2413">[https://slowmist.medium.com/slowmist-alchemix-hack-analysis-e8c9ec6c2ee3 Slowmist Alchemix Hack Analysis] (Aug 11, 2021)</ref>


[https://medium.com/@Knownsec_Blockchain_Lab/known-blockchain-lab-a-thousand-miles-of-levee-collapsed-in-ants-den-a-brief-analysis-of-the-c654b7fdc5a3 Known Blockchain Lab | A Thousand Miles of Levee Collapsed in Ant's Den: A Brief Analysis of the Alchemix Incident | by Knownsec Blockchain Lab | Medium] (Aug 10)
<ref name="unnamed-13245">[https://alchemixfi.medium.com/alchemix-conversion-bug-ba13c3f0e50b Alchemix Conversion Bug] (Apr 8, 2024)</ref>


[https://slowmist.medium.com/slowmist-alchemix-hack-analysis-e8c9ec6c2ee3 Slowmist Alchemix Hack Analysis] (Aug 10)
<ref name="newsletter-13117">[https://newsletter.blockthreat.io/p/blockthreat-week-25-2022 BlockThreat - Week 25, 2022 - by Peter Kacherginsky] (Mar 18, 2024)</ref></references>

Latest revision as of 15:49, 10 May 2024

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!

Alchemix

Alchemix is a crypto lending platform. Unlike other platforms, they simultaneously invest your collateral in yield farming, which is then used to repay your loan automatically for you.

There was a bug where users loans were repaid too quickly, allowing them to withdraw their collateral sooner than they should have been. After resolving the bug, the team used various tactics to convince the community to return funds.

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][15][16][17][18][19][20][21][22][23][24]

About Alchemix

"Alchemix lets you reimagine the potential of DeFi by providing highly flexible instant loans that repay themselves over time. The synthetic protocol token (alUSD) is backed by future yield."

"Alchemix is an innovative, hybrid DeFi application that allows for the creation of yield-backed synthetic assets. With its unique ability to provide collateral that can also generate yield, Alchemix can offer a self-paying loan that has effectively no risk of liquidation. This product, “Vaults”, is the centerpiece of the Alchemix ecosystem and uses Yearn.finance as a building block for yield on underlying assets like DAI, with support for ETH and others coming soon." "While many stablecoin-backed DeFi lending platforms exist, most leave it up to the user to manage keeping the loan collateralized and paying it off. Alchemix seeks to automate this process for users interested in receiving stablecoin-backed loans."

"This process of repayment — which a user must typically complete manually elsewhere — is automated on the Alchemix crypto platform. Since alUSD continuously flows in as yield that is generated from Yearn.Finance, the supply of alUSD is automatically converted back to DAI at a 1:1 ratio in order to pay off the loan as yield is accrued."

"The DeFi lending agreement Alchemix alETH pool is suspected to have a loophole, and users can raise collateralized ETH when they have outstanding alETH debts. Alchemix released an alETH pool accident report stating that due to an error in the deployment of the alETH pool script, users have borrowed alETH at a 4:1 mortgage ratio but have no debt to be repaid, and the debt ceiling of nearly 2000 ETH has been released and new ones can be minted again. alETH, combined with Alchemix's use of the wrong index in the vault array, forced the transmuter to support the agreement mechanism to completely send the funds to repay the user's debt. The team has stopped the mortgage lending of the pool. As of the time of the report, alETH currently has a gap of -2,688.634, which is about 6.53 million U.S. dollars. Alchemix stated that there was no loss of user funds, and Yearn did not suffer any loss."

"On Wednesday June 16th @ approximately 12pm UTC, the call to Alchemist.harvest() that was supposed to pay off a small amount of borrower debt instead paid off all of the debt in the system. Additionally, between the time the harvest occurred and the Alchemix team paused minting, alETH loans were taken on credit that was produced as a result of the harvest, As such, there is approximately a 2200 shortfall of ETH/alETH in the system, all of which was distributed to system users."

"During today’s harvest — when token rewards are gathered and handed out proportionally to those holding tokens in the pool — a bug in the system led to withdrawals that shouldn’t have been allowed." "For an unknown amount of time, Alchemix borrowers could deposit ETH (+2.92%), get the project’s alETH token in return and then withdraw the ETH used to secure their loans without having to pay them back."

"Thankfully the damage was contained because of our conservative guarded launch and the whitelisting of certain function calls. In total, there is a 2688 ETH shortfall in the backing of alETH, but no user lost any of their own funds." "This is not at risk for happening again. We will redeploy the alETH vault and transmuter to ensure the vaults are indexed correctly. This will also clear out the maligned state."

"How are we going to put this right? We are asking our community to support the protocol, the DAO, and the devs, please consider distributing any excess ETH gained during this time to the new Transmuter, to allow it to back the outstanding loans that it created."

"We’re asking dedicated users who were involved in the alETH loan repayment incident if they’d like to return their accidental funds in exchange for ALCX tokens and a limited edition NFT with special DAO functionality."

"Our AMAZING community donated a combined total of 1206.63 ETH from our 2265.83 ETH deficit. This program will be closing on Monday, July 5th at 14:00 UTC. Shortly after this, we will do the ALCX airdrop for all who donated to our cause." "There will be a special NFT for those that returned their "free" alETH or ETH. A separate NFT for donations from accounts is under consideration. But please don't donate dust in hopes of getting a free NFT."

AS of July 12th, "alETH is back up, with an initial cap of 2000 alETH. Everyone, both Legend and Patron supporters are able to claim their 1:1 ETH-ALCX rewards. Legends can now claim their super exclusive NFT." "Legends: people who returned the reverse-rugged ETH/alETH. Patrons: people who generously donated ETH to the future of France. The Patron NFT will be made available soon."

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 - Alchemix alETH "Rug Put"
Date Event Description
June 16th, 2021 Main Event Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.

Technical Details

This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?

Total Amount Lost

The total amount lost has been estimated at $6,530,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?

Individual Prevention Policies

No specific policies for individual prevention have yet been identified in this case.

For the full list of how to protect your funds as an individual, check our Prevention Policies for Individuals guide.

Platform Prevention Policies

Policies for platforms to take to prevent this situation have not yet been selected in this case.

For the full list of how to protect your funds as a financial service, check our Prevention Policies for Platforms guide.

Regulatory Prevention Policies

No specific regulatory policies have yet been identified in this case.

For the full list of regulatory policies that can prevent loss, check our Prevention Policies for Regulators guide.

References