Soft Yearn (SFYI) Rebase Exploit: Difference between revisions
(Created page with "{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/softyearnsfyirebaseexploit.php}} thumb|Soft YearnAn exploit in the SFYI Rebase mechanism allowed a crypto trader to profit significantly. The Soft Yearn team has committed to reimburse investors. This is a global/international case not involving a specific country. == About Soft Yearn == "The token SYFI was launched as a soft-pegged adaptive cryptocurrency that expands or...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/softyearnsfyirebaseexploit.php}} | {{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/softyearnsfyirebaseexploit.php}} | ||
{{Unattributed Sources}} | |||
[[File:Softyearn.jpg|thumb|Soft Yearn]]An exploit in the SFYI Rebase mechanism allowed a crypto trader to profit significantly. | [[File:Softyearn.jpg|thumb|Soft Yearn]]An exploit in the SFYI Rebase mechanism allowed a crypto trader to profit significantly. | ||
| Line 5: | Line 6: | ||
The Soft Yearn team has committed to reimburse investors. | The Soft Yearn team has committed to reimburse investors. | ||
This is a global/international case not involving a specific country. | This is a global/international case not involving a specific country.<ref name="cryptobriefing-825" /><ref name="softyearnfitwitter-2479" /><ref name="syfifinance-2480" /><ref name="facebook-2481" /><ref name="etherscan-2482" /><ref name="cointelegraph-2483" /><ref name="bitcoinexchangeguide-2484" /><ref name="forbes-2485" /> | ||
== About Soft Yearn == | == About Soft Yearn == | ||
| Line 59: | Line 60: | ||
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 80: | Line 80: | ||
!Description | !Description | ||
|- | |- | ||
|September 3rd, 2020 | |September 3rd, 2020 | ||
| | |Main Event | ||
| | |Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here. | ||
|- | |- | ||
| | | | ||
| Line 92: | Line 88: | ||
| | | | ||
|} | |} | ||
== 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 == | ||
The total amount lost | The total amount lost has been estimated at $250,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 105: | Line 104: | ||
== Total Amount Recovered == | == 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? | What funds were recovered? What funds were reimbursed for those affected users? | ||
| Line 111: | Line 110: | ||
== 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? | ||
== General Prevention Policies == | |||
This situation appears to have affected directly the price of the Soft Yearn token, rather than any other assets. | |||
== Individual Prevention Policies == | |||
{{Prevention:Individuals:Placeholder}} | |||
{{Prevention:Individuals:End}} | |||
== Platform Prevention Policies == | |||
{{Prevention:Platforms:Placeholder}} | |||
{{Prevention:Platforms:End}} | |||
== Prevention Policies == | == Regulatory Prevention Policies == | ||
{{Prevention:Regulators:Placeholder}} | |||
{{Prevention:Regulators:End}} | |||
== References == | == References == | ||
[https://cryptobriefing.com/50-million-lost-the-top-19-defi-cryptocurrency-hacks-2020/ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing] (May | <references><ref name="cryptobriefing-825">[https://cryptobriefing.com/50-million-lost-the-top-19-defi-cryptocurrency-hacks-2020/ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing] (May 22, 2021)</ref> | ||
[https://twitter.com/softyearnfi/status/1301915560654131202 @softyearnfi Twitter] (Jun | <ref name="softyearnfitwitter-2479">[https://twitter.com/softyearnfi/status/1301915560654131202 @softyearnfi Twitter] (Jun 27, 2021)</ref> | ||
[https://syfi.finance/ SYFI | A Yearn Pegged Asset] (Aug | <ref name="syfifinance-2480">[https://syfi.finance/ SYFI | A Yearn Pegged Asset] (Aug 11, 2021)</ref> | ||
[https://www.facebook.com/permalink.php?id=102791981455236&story_fbid=162749425459491 We are deeply sorry for what happened during the rebase period. - Permalink - Facebook] (Aug | <ref name="facebook-2481">[https://www.facebook.com/permalink.php?id=102791981455236&story_fbid=162749425459491 We are deeply sorry for what happened during the rebase period. - Permalink - Facebook] (Aug 11, 2021)</ref> | ||
[https://etherscan.io/tx/0xbb45a3aaa222432f50974b4be0852445e446698d33b0fcd47a4f627a2764ea83 Ethereum Transaction Hash (Txhash) Details | Etherscan] (Aug | <ref name="etherscan-2482">[https://etherscan.io/tx/0xbb45a3aaa222432f50974b4be0852445e446698d33b0fcd47a4f627a2764ea83 Ethereum Transaction Hash (Txhash) Details | Etherscan] (Aug 11, 2021)</ref> | ||
[https://cointelegraph.com/news/jackpot-user-turns-200-into-250k-thanks-to-a-buggy-defi-protocol Jackpot! User turns $200 into $250K thanks to a buggy DeFi protocol] (Aug | <ref name="cointelegraph-2483">[https://cointelegraph.com/news/jackpot-user-turns-200-into-250k-thanks-to-a-buggy-defi-protocol Jackpot! User turns $200 into $250K thanks to a buggy DeFi protocol] (Aug 11, 2021)</ref> | ||
[https://bitcoinexchangeguide.com/rug-pulled-on-the-latest-yfi-clone-soft-yearn-sfyi-after-rebase-gets-exploited/ Rug-Pulled on the Latest YFI Clone, Soft Yearn (SFYI), After Rebase Gets Exploited] (Aug | <ref name="bitcoinexchangeguide-2484">[https://bitcoinexchangeguide.com/rug-pulled-on-the-latest-yfi-clone-soft-yearn-sfyi-after-rebase-gets-exploited/ Rug-Pulled on the Latest YFI Clone, Soft Yearn (SFYI), After Rebase Gets Exploited] (Aug 11, 2021)</ref> | ||
[https://www.forbes.com/sites/nicholasgans/2020/09/09/another-project-bites-the-dust-how-someone-turned-200-into-250k/?sh=42ec57936a39 Another Project Bites The Dust: How Someone Turned $200 Into $250k] (Aug | <ref name="forbes-2485">[https://www.forbes.com/sites/nicholasgans/2020/09/09/another-project-bites-the-dust-how-someone-turned-200-into-250k/?sh=42ec57936a39 Another Project Bites The Dust: How Someone Turned $200 Into $250k] (Aug 11, 2021)</ref></references> | ||
Latest revision as of 10:16, 2 May 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' and 'General Prevention' sections 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!
An exploit in the SFYI Rebase mechanism allowed a crypto trader to profit significantly.
The Soft Yearn team has committed to reimburse investors.
This is a global/international case not involving a specific country.[1][2][3][4][5][6][7][8]
About Soft Yearn
"The token SYFI was launched as a soft-pegged adaptive cryptocurrency that expands or contracts its supply automatically. The concept was popularized by Ampleforth which uses a rebasing mechanism to adjust the supply to reflect changes in demand."
"Soft Yearn is an adaptive cryptocurrency that will expand or contract its supply automatically. As traders, we believe the market is always in the right, hence the market will decide SYFI's valuation."
"A soft pegged currency is tied to another currency. When a soft pegged currency has a significant difference from the main currency's price, the contract or expansion algorithm will converge the market price to the pegged price."
"Another rebase bug was exploited by a holder of Soft Yearn (SYFI) token on Sept. 3. The bug enabled a user to turn a $200 investment into $250,000." "An anonymous user has revealed how he made $250k in profits from a minor investment in a cloned version of Yearn.finance called Soft Yearn (SYFI)."
"During [thei]r first rebase at 8:00 UTC, September 3rd, 2020, a malicious actor bought 2 SYFI, and timed the adjustment of their token holdings with a Uniswap sell. During the transaction, the rebase applied, but Uniswap price remained unchanged, thus, the perpetrator's sell was amplified to the extent of wiping out most of the liquidity provided in the Uniswap pool. The rebase itself was also incorrect. The YFI rate per SYFI was not streamlined properly."
"Like YAM and Ampleforth, Soft Yearn dynamically changes its supply. However, the supply change didn’t translate to a Uniswap pool, where the token was traded." "The protocol did not properly handle the rebase event. It allowed a user to initiate a uniswap sell transaction just after the wallet balances were modified, but before any price change in the token was recorded. As with the bug that brought down Yam Finance, this critical oversight exemplifies the risk in using unaudited smart contracts and untested DeFi projects."
"To make matters even worse, the rebase itself acted incorrectly. The rate of YFI to SYFI was improperly coded, so an incorrect balance change was initiated. Together these two mistakes allowed for a transaction to be initiated which would essentially withdraw the collective funds contained within the pool."
"A user with 2 SYFI in their wallet spotted the bug before others. After the rebase, they had more than 15,000 tokens worth more than 700 ETH at the time. The user took advantage of the opportunity that appeared in front of them and wiped all the SYFI pool liquidity by dumping all their tokens for ETH."
"After the incident, the team published a rescue plan, which included relaunching SYFI tokens and adding 250 ETH to the Uniswap pool."
"Our statement and how we will tackle the recent events. We will continue to update our progress on Discord and Telegram."
"The Soft Yearn team is devastated by this event." "We are deeply sorry for what happened during the rebase period. We'll explain briefly what went wrong and how we intend to fix it. We **promise** you all this - we are NOT going anywhere."
"The Soft Yearn team has decided to pursue the following resolution: (1) Recreate the SYFI token. (2) Airdrop everyone the amount of tokens they had before the rebase. (3) Adding at least 250 ETH to the initial liquidity pool. Some people have contacted us stating that they will help contribute too. (4) Fix the rebase mechanism."
"We are offering a very large sum of ETH as bounty for anyone who can identify and apprehend the wrongdoer(s)."
"We understand everyone's frustration and anger, please bear with us while we work on sYFIV2 to fix things. Although this was a major setback, we believe we can come back stronger as we initiate our migration plan. Please follow our official announcement channels to stay up-to-date with our plans. Our official chats will remain muted temporarily."
"A DeFi trader using the Twitter handle Amplify has admitted that he was the one who netted 740 ETH from an initial investment of just 0.5 ETH. This works out at roughly a $250,000 return for a $200 layout."
"The DeFi user has a minimum wage job and works from home to support his family. He also has a small trading account to work from. Having experimented with a number of different trading techniques the user said that he regularly ‘apes’ into fresh Uniswap listings after confirming project’s credibility."
"I did not have any intent to hurt anyone. I did not want the SYFI team to fail. There was never any malicious intent here. I saw an opportunity, or trade if you will, and I took it."
"The Soft Yearn project has lost most of whatever reputation it had and liquidity and volumes have completely dissipated according to Uniswap analytics. It claims to be working on SYFI v2 which will provide a fix for the unaudited code, but it may be too little too late."
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 |
|---|---|---|
| September 3rd, 2020 | 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 $250,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?
General Prevention Policies
This situation appears to have affected directly the price of the Soft Yearn token, rather than any other assets.
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
- ↑ Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing (May 22, 2021)
- ↑ @softyearnfi Twitter (Jun 27, 2021)
- ↑ SYFI | A Yearn Pegged Asset (Aug 11, 2021)
- ↑ We are deeply sorry for what happened during the rebase period. - Permalink - Facebook (Aug 11, 2021)
- ↑ Ethereum Transaction Hash (Txhash) Details | Etherscan (Aug 11, 2021)
- ↑ Jackpot! User turns $200 into $250K thanks to a buggy DeFi protocol (Aug 11, 2021)
- ↑ Rug-Pulled on the Latest YFI Clone, Soft Yearn (SFYI), After Rebase Gets Exploited (Aug 11, 2021)
- ↑ Another Project Bites The Dust: How Someone Turned $200 Into $250k (Aug 11, 2021)