StableMagnet Exit Scam: 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/stablemagnetexitscam.php}} thumb|StableMagnetWith an anonymous team, StableMagnet built a large complex smart contract, which promised a platform to trade with low slippage and fees. In reality, they were using a malicious library which included some code that later allowed them to take control of all user funds, including both the liquidity pool and additional funds tha...")
 
No edit summary
Line 1: Line 1:
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/stablemagnetexitscam.php}}
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/stablemagnetexitscam.php}}
{{Unattributed Sources}}


[[File:Stablemagnet.jpg|thumb|StableMagnet]]With an anonymous team, StableMagnet built a large complex smart contract, which promised a platform to trade with low slippage and fees.
[[File:Stablemagnet.jpg|thumb|StableMagnet]]With an anonymous team, StableMagnet built a large complex smart contract, which promised a platform to trade with low slippage and fees.
Line 8: Line 9:


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.
<ref name="slowmist-2069" /><ref name="certik-1251" /><ref name="blockthreat-1779" /><ref name="rektnews-2095" /><ref name="coinbench-2096" /><ref name="mycryptotwitter-2097" /><ref name="smartliquidity-2098" /><ref name="bscscan-2099" /><ref name="rugdoc-2100" /><ref name="bscdotnews-2101" /><ref name="peckshieldtwitter-2102" /><ref name="stablemagnettelegram-2103" /><ref name="bscscan-2104" /><ref name="stablemagnetfinancearchive-2105" /><ref name="halborn-2106" />


== About StableMagnet ==
== About StableMagnet ==
Line 107: Line 109:


== References ==
== References ==
[https://hacked.slowmist.io/en/ SlowMist Hacked - SlowMist Zone] (Jun 25)
<references><ref name="slowmist-2069">[https://hacked.slowmist.io/en/ SlowMist Hacked - SlowMist Zone] (Jun 26, 2021)</ref>


[https://www.certik.org/ CertiK Blockchain Security Leaderboard] (May 31)
<ref name="certik-1251">[https://www.certik.org/ CertiK Blockchain Security Leaderboard] (Jun 1, 2021)</ref>


[https://blockthreat.substack.com/p/blockthreat-week-25-2021 No Title] (Jul 23)
<ref name="blockthreat-1779">[https://blockthreat.substack.com/p/blockthreat-week-25-2021 No Title] (Jul 24, 2021)</ref>


[https://www.rekt.news/stablemagnet-rekt/ Rekt - StableMagnet - REKT] (Jul 29)
<ref name="rektnews-2095">[https://www.rekt.news/stablemagnet-rekt/ Rekt - StableMagnet - REKT] (Jul 30, 2021)</ref>


[https://coinbench.com/rug-pull-alert-stablemagnet-stole-about-22m/ Rug Pull Alert: StableMagnet Stole About $22m - CoinBench] (Jul 31)
<ref name="coinbench-2096">[https://coinbench.com/rug-pull-alert-stablemagnet-stole-about-22m/ Rug Pull Alert: StableMagnet Stole About $22m - CoinBench] (Aug 1, 2021)</ref>


[https://twitter.com/MyCrypto/status/1407798426457104389 @MyCrypto Twitter] (Jul 31)
<ref name="mycryptotwitter-2097">[https://twitter.com/MyCrypto/status/1407798426457104389 @MyCrypto Twitter] (Aug 1, 2021)</ref>


[https://smartliquidity.info/2021/06/19/stable-magnet-overview/ Stable Magnet Overview - Smart Liquidity Network] (Jul 31)
<ref name="smartliquidity-2098">[https://smartliquidity.info/2021/06/19/stable-magnet-overview/ Stable Magnet Overview - Smart Liquidity Network] (Aug 1, 2021)</ref>


[https://bscscan.com/token/0xcd734b1f9b0b976ddc46e507d0aa51a4216a1e98?a=0xf6e62b59dbd8c8395321f886bd06ecf04f57c088 Stable Magnet Token (SMAG) Token Tracker | BscScan] (Jul 31)
<ref name="bscscan-2099">[https://bscscan.com/token/0xcd734b1f9b0b976ddc46e507d0aa51a4216a1e98?a=0xf6e62b59dbd8c8395321f886bd06ecf04f57c088 Stable Magnet Token (SMAG) Token Tracker | BscScan] (Aug 1, 2021)</ref>


[https://rugdoc.io/project/stablemagnet/ StableMagnet – RugDoc] (Jul 31)
<ref name="rugdoc-2100">[https://rugdoc.io/project/stablemagnet/ StableMagnet – RugDoc] (Aug 1, 2021)</ref>


[https://www.bsc.news/post/stablemagnet-and-others-rugpull-22m-in-stablecoin-through-unverified-swap-code StableMagnet and Others Rugpull $22M in Stablecoin Through Unverified Swap Code] (Jul 31)
<ref name="bscdotnews-2101">[https://www.bsc.news/post/stablemagnet-and-others-rugpull-22m-in-stablecoin-through-unverified-swap-code StableMagnet and Others Rugpull $22M in Stablecoin Through Unverified Swap Code] (Aug 1, 2021)</ref>


[https://twitter.com/peckshield/status/1407845381312892931 @peckshield Twitter] (Jul 31)
<ref name="peckshieldtwitter-2102">[https://twitter.com/peckshield/status/1407845381312892931 @peckshield Twitter] (Aug 1, 2021)</ref>


[https://t.me/StableMagnet Telegram: Contact @StableMagnet] (Jul 31)
<ref name="stablemagnettelegram-2103">[https://t.me/StableMagnet Telegram: Contact @StableMagnet] (Aug 1, 2021)</ref>


[https://bscscan.com/tx/0xf0ba46c8a20e1e75ad382e42c509bf71393e1b3b90326165c747a5d3cc5d967c Binance Transaction Hash (Txhash) Details | BscScan] (Jul 31)
<ref name="bscscan-2104">[https://bscscan.com/tx/0xf0ba46c8a20e1e75ad382e42c509bf71393e1b3b90326165c747a5d3cc5d967c Binance Transaction Hash (Txhash) Details | BscScan] (Aug 1, 2021)</ref>


[https://web.archive.org/web/20210620145752/https://stablemagnet.finance/ StableMagnet] (Aug 1)
<ref name="stablemagnetfinancearchive-2105">[https://web.archive.org/web/20210620145752/https://stablemagnet.finance/ StableMagnet] (Aug 2, 2021)</ref>


[https://halborn.com/explained-the-stablemagnet-rugpull-june-2021/ Explained: The StableMagnet Rugpull (June 2021) - Halborn] (Aug 1)
<ref name="halborn-2106">[https://halborn.com/explained-the-stablemagnet-rugpull-june-2021/ Explained: The StableMagnet Rugpull (June 2021) - Halborn] (Aug 2, 2021)</ref></references>

Revision as of 21:46, 22 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!

StableMagnet

With an anonymous team, StableMagnet built a large complex smart contract, which promised a platform to trade with low slippage and fees.

In reality, they were using a malicious library which included some code that later allowed them to take control of all user funds, including both the liquidity pool and additional funds that some users may have had in their wallets, and given the contract permission to access.

No audit was done, and users who participated in the project could not reasonably look at all the dependencies and determine that there were issues. As a result, many users lost all their invested 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]

About StableMagnet

"Stable Magnet [was] a newly launched Farming Protocol on Binance Smart Chain. [It was a] stablecoin focused AMM protocol where users c[ould] trade with low slippage and fees. Stable Magnet launched with 3pool liquidity including BUSD, USDT and USDC, to provide main trading support for widely used stable pegged assets."

"Earn passive income with low risk stablecoin pegged assets. The Stable Magnet special stable swap algorithm which is designed for assets pegged to same value. You only need to pay 0.035% (lowest fee on binance smart chain) to swap USD on their website."

RugDoc described that the project was "Complex custom code based on Belt.fi/saddle.fi – very similar to Dopple, with manual minting removed. A new project with lots of complex code means a lot of opportunity for bugs/exploits. Needs a pro audit and bug testing."

"A few hours before the attack, [Rekt] received a message from an anonymous source suggesting that StableMagnet would rugpull. We couldn’t verify the claims, so our hands were tied."

"StableMagnet rug pulled over $22 million worth of assets. The scammers swap their SwapUtils library for their swap contract to an unverified linked library. They used code in the unverified linked library to drain all tokens from the swap contract. We recommend users unstake and revoke token approvals."

"StableMagnet owners rug pulled $27M using a backdoored library. Interestingly, the scam takes advantage of a weakness in Etherscan-based explorers which do not verify linked library source code."

"The rugpull from StableMagnet came thanks to a novel attack method. The problem cited by Rugdoc is that neither Etherscan nor BscScan verify linked library source code. This allowed the scammers at StableMagnet to deploy a different code library than the one cited in the source code. In this manner StableMagnet’s SwapUtils library wasn’t checked."

"RugDoc said, “The unverified linked library did not only contain code to drain all pairs, it also contained code to transfer more tokens to everyone who had approved StableMagnet. Please revoke your approvals as soon as possible using debank.com... Dopple and StableGaj are based upon the same protocol and their SwapUtils libraries are also UNVERIFIED. For the time being we recommend UNSTAKING and REVOKING APPROVALS until these contracts are verified.”"

"The BSC on-chain project StableMagnet ran away and lost USD 22 million." "StableMagnet [then started] draining funds directly from user wallets - if you have interacted with StableMagnet at all you must revoke all permissions now."

"PeckShield stated, “StableMagnet Swap has been approved by many users to move funds: If you interacted with it before, REVOKE NOW”, before estimating that a huge number of users could still be at risk. “Our calculation shows there are still 1000+ users who have non-zero allowance on the rugpulled StableMagnet.”"

"At present, the websites and social media handles of Stablemagnet are not on the server and subsequently down."

"They used the Any Swap Network, a notorious network for rug pulling, to remove the money within the twinkle of an eye."

"An anonymous source which spoke to REKT claims that the people behind the StableMagnet rugpull have also been behind a number of other similar crimes including Moon Here and WenMoon. There is no further way to corroborate that information at this time. Victims of the rugpull have now formed a community support group on Telegram and are seeking to piece together what information they can about the scammers."

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 - StableMagnet Exit Scam
Date Event Description
June 23rd, 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 $27,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

There are a number of ways to prevent this issue.

Having an anonymous team removes any incentive to avoid scamming users, as the team or individual can get away with impunity.

Storing assets in a smart contract hot wallet is not ever as secure as assets which are stored in offline multi-signature wallets. Having a multi-signature wallet held by multiple trusted competent individuals would have prevented any one person from taking the funds.

References