Saddle Finance Arbitrage Exploit: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/saddlefinance.php}}
{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/saddlefinance.php}}
{{Unattributed Citations}}
{{Unattributed Sources}}


[[File:Saddlefinance.jpg|thumb|Saddle Finance]]Saddle Finance is an automated market maker for pegged crypto-assets. (Think stablecoins but for other assets like BTC.) Their initial launch saw users lose over $275k due to arbitrage exploits.
[[File:Saddlefinance.jpg|thumb|Saddle Finance]]Saddle Finance is an automated market maker for pegged crypto-assets. (Think stablecoins but for other assets like BTC.) Their initial launch saw users lose over $275k due to arbitrage exploits.
Line 6: Line 6:
While the Saddle Finance team did mention looking into payouts from their treasury multi-sig, they also stated that they thought their smart contract performed as expected. It's unclear whether any affected users were made right. Their Medium page does not appear to mention the issue after the initial post.
While the Saddle Finance team did mention looking into payouts from their treasury multi-sig, they also stated that they thought their smart contract performed as expected. It's unclear whether any affected users were made right. Their Medium page does not appear to mention the issue after the initial post.


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.<ref name="rekt-513" /><ref name="rektnews-763" /><ref name="saddlefinance-764" /><ref name="finematics-765" /><ref name="bitrss-766" /><ref name="defirate-767" /><ref name="saddlefinancetwitter-768" /><ref name="saddlefinancetwitter-769" /><ref name="learnhowtotrade-770" /><ref name="coinfellowship-771" /><ref name="frankresearchertwitter-772" /><ref name="cointelegraph-773" /><ref name="maxbit-774" /><ref name="saddlemedium-775" /><ref name="openblocksecgithub-2342" /><ref name="originprotocolgithub-2343" /><ref name="cryptosec-5385" /><ref name="beincrypto-5415" /><ref name="saddlefinanceblog-5416" /><ref name="electriccapitalmedium-5417" /><ref name="saddlefinanceblog-5418" /><ref name="saddlefinanceblog-5419" /><ref name="saddlefinanceblog-5420" /><ref name="saddlefinanceblog-5421" /><ref name="amanusktwitter-8740" /><ref name="bneilujtwitter-8741" /><ref name="etherscan-8742" />
<ref name="rekt-513" /><ref name="rektnews-763" /><ref name="saddlefinance-764" /><ref name="finematics-765" /><ref name="bitrss-766" /><ref name="defirate-767" /><ref name="saddlefinancetwitter-768" /><ref name="saddlefinancetwitter-769" /><ref name="learnhowtotrade-770" /><ref name="coinfellowship-771" /><ref name="frankresearchertwitter-772" /><ref name="cointelegraph-773" /><ref name="maxbit-774" /><ref name="saddlemedium-775" /><ref name="openblocksecgithub-2342" /><ref name="originprotocolgithub-2343" /><ref name="cryptosec-5385" /><ref name="beincrypto-5415" /><ref name="saddlefinanceblog-5416" /><ref name="electriccapitalmedium-5417" /><ref name="saddlefinanceblog-5418" /><ref name="saddlefinanceblog-5419" /><ref name="saddlefinanceblog-5420" /><ref name="saddlefinanceblog-5421" /><ref name="amanusktwitter-8740" /><ref name="bneilujtwitter-8741" /><ref name="etherscan-8742" />


== About Saddle Finance ==
== About Saddle Finance ==
Line 79: Line 78:
!Description
!Description
|-
|-
|January 19th, 2021 12:00:00 AM
|January 19th, 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 87: Line 86:
|
|
|}
|}
== 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 106: Line 108:
== 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 ==
There doesn't have to be a hack for users to lose funds unfairly. Simply having very low liquidity in a platform can allow for a significant arbitrage exploit on a new platform. The industry can benefit from a neutral third party organization to evaluate the situation with consideration for both affected users and the platforms involved, and from having funds set aside independent of the specific platform.
== 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}}
There doesn't have to be a hack for users to lose funds unfairly. Simply having very low liquidity in a platform can allow for a significant arbitrage exploit on a new platform. The industry can benefit from a neutral third party organization to evaluate the situation with consideration for both affected users and the platforms involved, and from having funds set aside independent of the specific platform.


== References ==
== References ==
<references><ref name="rekt-513">[https://rekt.news/leaderboard/ Rekt - Leaderboard] (May 12, 2021)</ref>
<references><ref name="rekt-513">[https://rekt.news/leaderboard/ Rekt - Leaderboard] (May 13, 2021)</ref>


<ref name="rektnews-763">[https://rekt.news/saddle-finance-rekt/ Rekt - Saddle Finance - REKT] (May 15, 2021)</ref>
<ref name="rektnews-763">[https://rekt.news/saddle-finance-rekt/ Rekt - Saddle Finance - REKT] (May 16, 2021)</ref>


<ref name="saddlefinance-764">[https://saddle.finance/ Saddle Finance Homepage] (May 20, 2021)</ref>
<ref name="saddlefinance-764">[https://saddle.finance/ Saddle Finance Homepage] (May 21, 2021)</ref>


<ref name="finematics-765">[https://finematics.com/defi-hacks-explained/ How (Not) To Get Rekt – DeFi Hacks Explained – Finematics] (May 20, 2021)</ref>
<ref name="finematics-765">[https://finematics.com/defi-hacks-explained/ How (Not) To Get Rekt – DeFi Hacks Explained – Finematics] (May 21, 2021)</ref>


<ref name="bitrss-766">[https://bitrss.com/news/196703/arbitraging-defi-whales-exploit-saddle-finance-on-launch-day Arbitraging DeFi Whales Exploit Saddle Finance on Launch Day] (May 20, 2021)</ref>
<ref name="bitrss-766">[https://bitrss.com/news/196703/arbitraging-defi-whales-exploit-saddle-finance-on-launch-day Arbitraging DeFi Whales Exploit Saddle Finance on Launch Day] (May 21, 2021)</ref>


<ref name="defirate-767">[https://defirate.com/saddle-finance-amm/ Saddle Finance Launches Specialized AMM - DeFi Rate] (May 20, 2021)</ref>
<ref name="defirate-767">[https://defirate.com/saddle-finance-amm/ Saddle Finance Launches Specialized AMM - DeFi Rate] (May 21, 2021)</ref>


<ref name="saddlefinancetwitter-768">[https://twitter.com/saddlefinance/status/1351562624031469568 @saddlefinance Twitter] (May 20, 2021)</ref>
<ref name="saddlefinancetwitter-768">[https://twitter.com/saddlefinance/status/1351562624031469568 @saddlefinance Twitter] (May 21, 2021)</ref>


<ref name="saddlefinancetwitter-769">[https://twitter.com/saddlefinance/status/1351663993912320003 @saddlefinance Twitter] (May 20, 2021)</ref>
<ref name="saddlefinancetwitter-769">[https://twitter.com/saddlefinance/status/1351663993912320003 @saddlefinance Twitter] (May 21, 2021)</ref>


<ref name="learnhowtotrade-770">[https://www.learnhowtotrade.org/ethereum-investors-the-biggest-gainers-as-saddle-finance-raises-4-3m/ Ethereum Investors The Biggest Gainers As Saddle Finance Raises $4.3m | Learn How To Trade Cryptocurrency] (May 20, 2021)</ref>
<ref name="learnhowtotrade-770">[https://www.learnhowtotrade.org/ethereum-investors-the-biggest-gainers-as-saddle-finance-raises-4-3m/ Ethereum Investors The Biggest Gainers As Saddle Finance Raises $4.3m | Learn How To Trade Cryptocurrency] (May 21, 2021)</ref>


<ref name="coinfellowship-771">[https://coinfellowship.com/cointelegraph-news/arbitrage-traders-make-10x-returns-on-new-defi-platform-for-wrapped-assets/ Arbitrage traders make 10x returns on new DeFi platform for wrapped assets - CoinFellowship] (May 20, 2021)</ref>
<ref name="coinfellowship-771">[https://coinfellowship.com/cointelegraph-news/arbitrage-traders-make-10x-returns-on-new-defi-platform-for-wrapped-assets/ Arbitrage traders make 10x returns on new DeFi platform for wrapped assets - CoinFellowship] (May 21, 2021)</ref>


<ref name="frankresearchertwitter-772">[https://twitter.com/FrankResearcher/status/1351574696454746120 @FrankResearcher Twitter] (May 20, 2021)</ref>
<ref name="frankresearchertwitter-772">[https://twitter.com/FrankResearcher/status/1351574696454746120 @FrankResearcher Twitter] (May 21, 2021)</ref>


<ref name="cointelegraph-773">[https://cointelegraph.com/news/venture-firm-proposes-derisking-as-a-service-for-safe-defi-launches Venture Firm Proposes Derisking-as-a-Service for Save DeFi Launches] (May 20, 2021)</ref>
<ref name="cointelegraph-773">[https://cointelegraph.com/news/venture-firm-proposes-derisking-as-a-service-for-safe-defi-launches Venture Firm Proposes Derisking-as-a-Service for Save DeFi Launches] (May 21, 2021)</ref>


<ref name="maxbit-774">[https://maxbit.cc/chinese-dex-platform-dodo-loses-1-million-in-latest-defi-attack/ Chinese DEX Platform DODO Loses .1 Million In Latest DeFi Attack » MAXBIT] (May 20, 2021)</ref>
<ref name="maxbit-774">[https://maxbit.cc/chinese-dex-platform-dodo-loses-1-million-in-latest-defi-attack/ Chinese DEX Platform DODO Loses .1 Million In Latest DeFi Attack » MAXBIT] (May 21, 2021)</ref>


<ref name="saddlemedium-775">[https://medium.com/saddle/update-on-saddle-launch-cb5de01fa504 Update on Saddle Launch] (May 20, 2021)</ref>
<ref name="saddlemedium-775">[https://medium.com/saddle/update-on-saddle-launch-cb5de01fa504 Update on Saddle Launch] (May 21, 2021)</ref>


<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 10, 2021)</ref>
<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>


<ref name="originprotocolgithub-2343">[https://github.com/OriginProtocol/security/blob/master/incidents/2021-01-20-Saddle.md security/2021-01-20-Saddle.md at master · OriginProtocol/security · GitHub] (Aug 10, 2021)</ref>
<ref name="originprotocolgithub-2343">[https://github.com/OriginProtocol/security/blob/master/incidents/2021-01-20-Saddle.md security/2021-01-20-Saddle.md at master · OriginProtocol/security · GitHub] (Aug 11, 2021)</ref>


<ref name="cryptosec-5385">[https://cryptosec.info/defi-hacks/ Comprehensive List of DeFi Hacks & Exploits - CryptoSec] (Jan 8, 2022)</ref>
<ref name="cryptosec-5385">[https://cryptosec.info/defi-hacks/ Comprehensive List of DeFi Hacks & Exploits - CryptoSec] (Jan 8, 2022)</ref>

Latest revision as of 12:49, 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!

Saddle Finance

Saddle Finance is an automated market maker for pegged crypto-assets. (Think stablecoins but for other assets like BTC.) Their initial launch saw users lose over $275k due to arbitrage exploits.

While the Saddle Finance team did mention looking into payouts from their treasury multi-sig, they also stated that they thought their smart contract performed as expected. It's unclear whether any affected users were made right. Their Medium page does not appear to mention the issue after the initial post.

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][25][26][27]

About Saddle Finance

"Saddle is an automated market maker optimized for trading between pegged value crypto assets." "Saddle Finance was launched on Jan. 20, with the aim of alleviating the problematic spread between stablecoins and wrapped or tokenized crypto assets." "Saddle is the easiest way to trade and earn with pegged value crypto assets, beginning with tokenized bitcoin."

"Saddle is built by DeFi natives with prior years of developer experience at Web2 companies like Uber, Amazon, and Square." "According to the founder of the Saddle Finance platform Sunil Shrivastava, the main reason for creating the Saddle platform is to reduce the slippage chances of tradable assets by providing users the unequal opportunities to choose from four tokenized Bitcoin liquidity pools, including sBTC, tBTC, renBTC, and wBTC."

"Pegged value crypto assets are tokens that have their value pegged to an underlying asset by some means. For example, the value of a stablecoin or tokenized bitcoin is supposed to be $1 or 1 BTC, respectively."

"Different subtypes of pegged value crypto assets (i.e. USDT and USDC, or wBTC and renBTC) are better suited for specific on-chain actions, or may be supported only by specific applications. Trading in between those assets, therefore, should be as simple as exchanging 1–1. In other words, there should exist little to no arbitrage opportunity when trading between one stablecoin and another; users should be able to retrieve 1 USDT for 1 USDC — or as close to that as feasible."

"The issue with the pegged value asset market today is that the desired 1–1 trading isn’t easily accessible. Trading among and in between these types of assets can be expensive and inefficient, resulting in lost capital and therefore lost market leverage." "Saddle solves the pegged value crypto asset trading problem by offering an AMM specifically tailored to allow users to trade in between these assets with minimal slippage. Saddle achieves this through the StableSwap algorithm, enabling an autonomous market maker that allows for the transfer of pegged value assets with minimal slippage."

"Bitcoin is the largest cryptocurrency by market capitalization, and the amount of tokenized BTC on Ethereum has been exploding — the supply has increased ~135X in 2020. Despite this growth, tokenized BTC is often not a priority when it comes to features and support. We believe bitcoin deserves to be treated as a first-class citizen in DeFi."

"What’s different about Saddle is our commitment to open-source software and collaboration. The promise of DeFi, and of financial lego blocks, can only be fulfilled with a willingness to share and help one another. Our ethos is rooted in this desire to support the ecosystem."

"In terms of audits, Saddle Finance has undergone three back-to-back smart contract audits with Certik, Quantstamp, and Open Zeppelin." "The security of user funds is our top priority. Saddle is built on our new Solidity implementation of the StableSwap algorithm. Deploying new code that deals with money requires extra care and scrutiny, which is why we conducted three back-to-back smart contract audits with Certik, Quantstamp, and Open Zeppelin."

"It is also adopting the guarded launch mechanism." "Saddle is launching with Proof of Governance to protect our users with certain limits and discourage sybil attacks. Initially, there will be a pool TVL cap of 150 BTC and a per-address deposit limit of 1 BTC. These limits will be raised every 1–2 weeks." "For LPs to qualify for PoG, an address must have demonstrated active network participation."

"Within a few hours of going live [on January 20th], however, whales had taken advantage of the new protocol by arbitraging for huge profits." "Many investors reportedly lost a large chunk of their investments."

"During their launch in January this year, at least three major arbs took over 7.9 BTC ($275,735) from the early liquidity providers within 6 minutes, despite their claim to “have solved the problem of slippage”"

"One early exploiter swapped 0.34 sBTC, a Bitcoin-pegged token on Synthetix, for 4.36 Wrapped Bitcoin (wBTC). The arbitrage netted the whale a huge profit of around $150,000." "The trade offered an almost 13x return on investment."

"Two other similar transactions were registered on the platform, as noted by the analyst Igor Igamberdiev. One transaction swapped 0.09 tBTC for 3.2 WBTC, an even higher return of 35x."

"In response to some of those early transactions with high slippage, we’ve updated the front end to make high slippage warnings even more explicit. Since those early transactions, the pool composition has corrected and we are witnessing swaps being made at a much closer rate, as intended." "From our initial investigation the smart contracts are functioning as expected, but individuals may not have yielded to warnings of high slippage when using the deposit form and subsequently reviewing their deposits."

"Although this was only arbitrage, the users still lost out, as Saddle Finance was unable to protect them from the arbitrageurs, who were simply buying and selling, within the limitations of the code."

"[T]he guarded launch mechanism limit[s] deposits and maximum swap amounts to ensure smooth functioning. While the protocol has worked as intended in this scenario, it may be meager consolation for those losing funds on these arbitrage trades."

"Our team is still looking into how we can learn from these early transactions and we are currently in discussions with members of the Saddle community multisig who oversee a discretionary community treasury." "Moving forward, our hope is to strike a balance between providing adequate user protections while empowering anyone to make choices according to their risk appetite."

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 - Saddle Finance Arbitrage Exploit
Date Event Description
January 19th, 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 at risk has been estimated at $275,000 USD. The total amount lost has been estimated at $276,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

The total amount recovered is unknown.

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

There doesn't have to be a hack for users to lose funds unfairly. Simply having very low liquidity in a platform can allow for a significant arbitrage exploit on a new platform. The industry can benefit from a neutral third party organization to evaluate the situation with consideration for both affected users and the platforms involved, and from having funds set aside independent of the specific platform.

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

  1. Rekt - Leaderboard (May 13, 2021)
  2. Rekt - Saddle Finance - REKT (May 16, 2021)
  3. Saddle Finance Homepage (May 21, 2021)
  4. How (Not) To Get Rekt – DeFi Hacks Explained – Finematics (May 21, 2021)
  5. Arbitraging DeFi Whales Exploit Saddle Finance on Launch Day (May 21, 2021)
  6. Saddle Finance Launches Specialized AMM - DeFi Rate (May 21, 2021)
  7. @saddlefinance Twitter (May 21, 2021)
  8. @saddlefinance Twitter (May 21, 2021)
  9. Ethereum Investors The Biggest Gainers As Saddle Finance Raises $4.3m | Learn How To Trade Cryptocurrency (May 21, 2021)
  10. Arbitrage traders make 10x returns on new DeFi platform for wrapped assets - CoinFellowship (May 21, 2021)
  11. @FrankResearcher Twitter (May 21, 2021)
  12. Venture Firm Proposes Derisking-as-a-Service for Save DeFi Launches (May 21, 2021)
  13. Chinese DEX Platform DODO Loses .1 Million In Latest DeFi Attack » MAXBIT (May 21, 2021)
  14. Update on Saddle Launch (May 21, 2021)
  15. blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub (Aug 11, 2021)
  16. security/2021-01-20-Saddle.md at master · OriginProtocol/security · GitHub (Aug 11, 2021)
  17. Comprehensive List of DeFi Hacks & Exploits - CryptoSec (Jan 8, 2022)
  18. https://beincrypto.com/arbitraging-defi-whales-exploit-saddle-finance-launch-day/ (Jan 9, 2022)
  19. Introducing Saddle, a specialized AMM for pegged value crypto assets (Jan 9, 2022)
  20. Derisking Defi Guarded Launches (Jan 9, 2022)
  21. What is Saddle? (Jan 9, 2022)
  22. Update on Saddle’s Launch (Jan 9, 2022)
  23. The Saddle Roadmap (Jan 9, 2022)
  24. The Story of Saddle (Jan 9, 2022)
  25. @amanusk_ Twitter (Jul 24, 2022)
  26. @bneiluj Twitter (Jul 24, 2022)
  27. https://etherscan.io/tx/0x3c351cea655b8a50348e6ffa1bfff5b4ce68f99366cfad3d8a02ffb01f63138a (Jul 24, 2022)