Safemoon Vulnerable Deployer Exploited: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
(Created page with "{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/safemoonvulnerabledeployerexploited.php}} {{Unattributed Sources}} thumb|Safemoon Logo/HomepageSafeMoon is a human-focused technology and innovation business expanding blockchain technologies to build blockchain, commerce, metaverse, and NFT products for good. SafeMoon has faced criticism in the past, initially labeled as a pump and dump scheme, and later shillfluencers wer...")
 
(Initial 30 minutes. All sources integrated.)
Line 1: Line 1:
{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/safemoonvulnerabledeployerexploited.php}}
{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/safemoonvulnerabledeployerexploited.php}}[[File:Safemoon.jpg|thumb|Safemoon Logo/Homepage]]SafeMoon is a human-focused technology and innovation business expanding blockchain technologies to build blockchain, commerce, metaverse, and NFT products for good. SafeMoon has faced criticism in the past, initially labeled as a pump and dump scheme, and later shillfluencers were slapped with a class action suit. The project claims to be un-ruggable due to locked liquidity, but the transfer fees were criticized as ponzinomics. SafeMoon recently suffered an attack that drained the SFM/BNB pool, causing the project to lose $8.9M worth of 'locked LP.' The hacker claims to have front-run the attack and has reached out to SafeMoon to negotiate the return of funds. However, the past on-chain activity suggests they may not be trustworthy.
{{Unattributed Sources}}


[[File:Safemoon.jpg|thumb|Safemoon Logo/Homepage]]SafeMoon is a human-focused technology and innovation business expanding blockchain technologies to build blockchain, commerce, metaverse, and NFT products for good. SafeMoon has faced criticism in the past, initially labeled as a pump and dump scheme, and later shillfluencers were slapped with a class action suit. The project claims to be un-ruggable due to locked liquidity, but the transfer fees were criticized as ponzinomics. SafeMoon recently suffered an attack that drained the SFM/BNB pool, causing the project to lose $8.9M worth of 'locked LP.' The hacker claims to have front-run the attack and has reached out to SafeMoon to negotiate the return of funds. However, the past on-chain activity suggests they may not be trustworthy.
== About Safemoon ==
Safemoon describes themselves as "[a] human-focused technology and innovation business expanding blockchain technologies for a brighter tomorrow."<ref name="safemoon-10774" /><ref name="pixabay-10775" /><blockquote>"A human-focused technology and innovation business expanding blockchain technologies for a brighter tomorrow."


This is a global/international case not involving a specific country.<ref name="rektnews-10771" /><ref name="rekthqtwitter-10772" /><ref name="bscscan-10773" /><ref name="safemoon-10774" /><ref name="pixabay-10775" />
"Deeply connected to and driven by our award winning community (The SafeMoon Army), we are innovating for good. Building blockchain, commerce, metaverse and NFT products to derive new kinds of value from crypto technology and to apply it to increasingly better use."


== About Safemoon ==
"We are now addressing the second part of our mission – the expansion and channeling of our technology to propel new innovations for good, and a Venture Philanthropy model to advance those innovations to every part of the world."</blockquote>
"A human-focused technology and innovation business expanding blockchain technologies for a brighter tomorrow.
Deeply connected to and driven by our award winning community (The SafeMoon Army), we are innovating for good. Building blockchain, commerce, metaverse and NFT products to derive new kinds of value from crypto technology and to apply it to increasingly better use."


"We are now addressing the second part of our mission – the expansion and channeling of our technology to propel new innovations for good, and a Venture Philanthropy model to advance those innovations to every part of the world."
== The Reality ==
 
"Initially labelled as a pump and dump scheme, Safemoon shillfluencers were later slapped with a class action suit, before Coffeezilla published a series of detailed investigations into what went on behind the scenes.<ref name="rektnews-10771" />
"Initially labelled as a pump and dump scheme, Safemoon shillfluencers were later slapped with a class action suit, before Coffeezilla published a series of detailed investigations into what went on behind the scenes.


The favourite of tiktok investors during the peak of Spring 2021’s BSC hype, Safemoon claimed it was un-ruggable due to locked liquidity, which was topped-up with every transfer of tokens. However, the transfer fees were also criticised as ponzinomics as bagholders were disincentivised to sell."
The favourite of tiktok investors during the peak of Spring 2021’s BSC hype, Safemoon claimed it was un-ruggable due to locked liquidity, which was topped-up with every transfer of tokens. However, the transfer fees were also criticised as ponzinomics as bagholders were disincentivised to sell."
Line 20: Line 17:
"The new code left the burn() function publicly callable, allowing anyone to burn SFM tokens from any address.
"The new code left the burn() function publicly callable, allowing anyone to burn SFM tokens from any address.


This allowed the attacker to burn large quantities of SFM held inside the SFM:BNB liquidity pool, vastly inflating the price of SFM tokens in the pool.
Then, by selling (previously acquired) SFM tokens into the skewed pool, the attacker was able to drain it of BNB liquidity, for a profit of 28k BNB, or $8.9M."
"Safemoon lost $8.9M worth of ‘locked LP’ thanks to a bug introduced in the project’s latest upgrade."
"The attack, which drained the SFM/BNB pool, was announced by the project and its CEO, John Karony, with replies disabled on both tweets.
A few hours after the attack, the hacker sent a message to the Safemoon: Deployer address, claiming to be MEV bot operator willing to return the funds:
Hey relax, we are accidently frontrun an attack against you, we would like to return the fund, setup secure communication channel , lets talk
However, past on-chain activity suggests they are no white knight after all…
Even if the team has dodged a bullet this time…
…can they be trusted after such a basic error?"
"The hacker claims to have frontrunned attack and has reached out to Safemoon to negotiate the return of funds, the majority of which have since been transferred to 0x237D where they remain at the time of writing."
"Whether a botched rug attempt, or sheer incompetence, this episode is not a good look for a project that was never very highly regarded."
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:
This sections is included if a case involved deception or information that was unknown at the time. Examples include:


Line 79: Line 34:
|March 28th, 2023 1:26:27 PM MDT
|March 28th, 2023 1:26:27 PM MDT
|Theft Transaction
|Theft Transaction
|The transaction happens to remove the liquidity from Safemoon.
|The transaction happens to remove the liquidity from Safemoon<ref name="bscscan-10773" />.
|-
|March 28th, 2023 3:17:00 PM MDT
|Attack Announced on Twitter
|The exploit is announced on Twitter. Responses to the Tweet are disabled<ref name=":0">[https://twitter.com/safemoon/status/1640825402795991048 SafeMoon - "We are taking swift action in an attempt to resolve the issue as soon as possible. Follow here for updates." - Twitter] (May 3, 2023)</ref>.
|-
|March 29th, 2023 11:31:00 AM MDT
|RektHQ Article
|RektHQ publishes an article on the situation<ref name="rekthqtwitter-10772" />. Safemoon, a two-year-old cryptocurrency beset by scandal, lost $8.9m worth of locked LP tokens thanks to a bug introduced in its latest upgrade. The project's CEO, John Karony, announced the loss, but replies were disabled on both tweets. The hacker responsible claimed to be a white knight willing to return the funds, but past on-chain activity suggested otherwise. The vulnerability was introduced by the project's deployer address, and Peckshield suggested admin keys may have been leaked or phished. This episode is not a good look for a project that was never very highly regarded, and the lack of trust from the wider crypto community suggests the project may not be safe, even with the team<ref name="rektnews-10771" />.
|-
|April 20th, 2023 6:39:00 AM MDT
|Distribution of Retrieved Liquidity
|SafeMoon has announced on Twitter that they will begin distributing the recovered liquidity<ref>[https://twitter.com/safemoon/status/1649029991022182401 SafeMoon - "SafeMoon will shortly be distributing the retrieved LP into the SafeMoon Bridging Liquidity Pools (BNB, POLYGON, ETH)." - Twitter] (May 3, 2023)</ref>.
|}
|}


== Technical Details ==
== 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?
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?
This allowed the attacker to burn large quantities of SFM held inside the SFM:BNB liquidity pool, vastly inflating the price of SFM tokens in the pool.
Then, by selling (previously acquired) SFM tokens into the skewed pool, the attacker was able to drain it of BNB liquidity, for a profit of 28k BNB, or $8.9M."
"Safemoon lost $8.9M worth of ‘locked LP’ thanks to a bug introduced in the project’s latest upgrade."


== Total Amount Lost ==
== Total Amount Lost ==
Line 92: Line 65:
== Immediate Reactions ==
== 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?
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?
=== Attack Announcement on Twitter ===
The SafeMoon team initially posted on Twitter to announce the exploit<ref name=":0" />.<blockquote>To the @SAFEMOON community: We want to inform you that our LP has been compromised.
We are taking swift action in an attempt to resolve the issue as soon as possible. Follow here for updates.
Thank you for your support as we work to address this situation.</blockquote>
"The attack, which drained the SFM/BNB pool, was announced by the project and its CEO, John Karony, with replies disabled on both tweets.
A few hours after the attack, the hacker sent a message to the Safemoon: Deployer address, claiming to be MEV bot operator willing to return the funds:
Hey relax, we are accidently frontrun an attack against you, we would like to return the fund, setup secure communication channel , lets talk
However, past on-chain activity suggests they are no white knight after all…
Even if the team has dodged a bullet this time…
…can they be trusted after such a basic error?"
"The hacker claims to have frontrunned attack and has reached out to Safemoon to negotiate the return of funds, the majority of which have since been transferred to 0x237D where they remain at the time of writing."
"Whether a botched rug attempt, or sheer incompetence, this episode is not a good look for a project that was never very highly regarded."


== Ultimate Outcome ==
== Ultimate Outcome ==
Line 121: Line 118:


== References ==
== References ==
<references><ref name="rektnews-10771">[https://rekt.news/safemoon-rekt/ Rekt - Safemoon - REKT] (May 3, 2023)</ref>
<references>
 
<ref name="rektnews-10771">[https://rekt.news/safemoon-rekt/ Rekt - Safemoon - REKT] (May 3, 2023)</ref>
<ref name="rekthqtwitter-10772">[https://twitter.com/RektHQ/status/1641130855442644992 @RektHQ Twitter] (May 3, 2023)</ref>
<ref name="rekthqtwitter-10772">[https://twitter.com/RektHQ/status/1641130855442644992 RektHQ - "Yesterday, @safemoon lost $8.9M worth of supposedly locked LP to a vulnerability introduced in the project’s latest upgrade." - Twitter] (May 3, 2023)</ref>
 
<ref name="bscscan-10773">[https://bscscan.com/tx/0x48e52a12cb297354a2a1c54cbc897cf3772328e7e71f51c9889bb8c5e533a934 Binance Exploit Transaction - BscScan] (May 3, 2023)</ref>
<ref name="bscscan-10773">[https://bscscan.com/tx/0x48e52a12cb297354a2a1c54cbc897cf3772328e7e71f51c9889bb8c5e533a934 Binance Transaction Hash (Txhash) Details | BscScan] (May 3, 2023)</ref>
 
<ref name="safemoon-10774">[https://safemoon.com/ Home | SafeMoon] (May 3, 2023)</ref>
<ref name="safemoon-10774">[https://safemoon.com/ Home | SafeMoon] (May 3, 2023)</ref>
 
<ref name="pixabay-10775">https://pixabay.com/vectors/safemoon-safe-moon-safemoon-logo-6273158/ (May 3, 2023)</ref>
<ref name="pixabay-10775">[https://pixabay.com/vectors/safemoon-safe-moon-safemoon-logo-6273158/ https://pixabay.com/vectors/safemoon-safe-moon-safemoon-logo-6273158/] (May 3, 2023)</ref></references>
</references>

Revision as of 14:12, 3 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.

Safemoon Logo/Homepage

SafeMoon is a human-focused technology and innovation business expanding blockchain technologies to build blockchain, commerce, metaverse, and NFT products for good. SafeMoon has faced criticism in the past, initially labeled as a pump and dump scheme, and later shillfluencers were slapped with a class action suit. The project claims to be un-ruggable due to locked liquidity, but the transfer fees were criticized as ponzinomics. SafeMoon recently suffered an attack that drained the SFM/BNB pool, causing the project to lose $8.9M worth of 'locked LP.' The hacker claims to have front-run the attack and has reached out to SafeMoon to negotiate the return of funds. However, the past on-chain activity suggests they may not be trustworthy.

About Safemoon

Safemoon describes themselves as "[a] human-focused technology and innovation business expanding blockchain technologies for a brighter tomorrow."[1][2]

"A human-focused technology and innovation business expanding blockchain technologies for a brighter tomorrow."

"Deeply connected to and driven by our award winning community (The SafeMoon Army), we are innovating for good. Building blockchain, commerce, metaverse and NFT products to derive new kinds of value from crypto technology and to apply it to increasingly better use."

"We are now addressing the second part of our mission – the expansion and channeling of our technology to propel new innovations for good, and a Venture Philanthropy model to advance those innovations to every part of the world."

The Reality

"Initially labelled as a pump and dump scheme, Safemoon shillfluencers were later slapped with a class action suit, before Coffeezilla published a series of detailed investigations into what went on behind the scenes.[3]

The favourite of tiktok investors during the peak of Spring 2021’s BSC hype, Safemoon claimed it was un-ruggable due to locked liquidity, which was topped-up with every transfer of tokens. However, the transfer fees were also criticised as ponzinomics as bagholders were disincentivised to sell."

"Just over six hours before the attack, the Safemoon: Deployer address upgraded the token contract to a new implementation. In doing so, the team introduced a vulnerability leading to an astonishingly simple exploit."

"The new code left the burn() function publicly callable, allowing anyone to burn SFM tokens from any address.

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 - Safemoon Vulnerable Deployer Exploited
Date Event Description
March 28th, 2023 1:26:27 PM MDT Theft Transaction The transaction happens to remove the liquidity from Safemoon[4].
March 28th, 2023 3:17:00 PM MDT Attack Announced on Twitter The exploit is announced on Twitter. Responses to the Tweet are disabled[5].
March 29th, 2023 11:31:00 AM MDT RektHQ Article RektHQ publishes an article on the situation[6]. Safemoon, a two-year-old cryptocurrency beset by scandal, lost $8.9m worth of locked LP tokens thanks to a bug introduced in its latest upgrade. The project's CEO, John Karony, announced the loss, but replies were disabled on both tweets. The hacker responsible claimed to be a white knight willing to return the funds, but past on-chain activity suggested otherwise. The vulnerability was introduced by the project's deployer address, and Peckshield suggested admin keys may have been leaked or phished. This episode is not a good look for a project that was never very highly regarded, and the lack of trust from the wider crypto community suggests the project may not be safe, even with the team[3].
April 20th, 2023 6:39:00 AM MDT Distribution of Retrieved Liquidity SafeMoon has announced on Twitter that they will begin distributing the recovered liquidity[7].

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?

This allowed the attacker to burn large quantities of SFM held inside the SFM:BNB liquidity pool, vastly inflating the price of SFM tokens in the pool.

Then, by selling (previously acquired) SFM tokens into the skewed pool, the attacker was able to drain it of BNB liquidity, for a profit of 28k BNB, or $8.9M."

"Safemoon lost $8.9M worth of ‘locked LP’ thanks to a bug introduced in the project’s latest upgrade."

Total Amount Lost

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

Attack Announcement on Twitter

The SafeMoon team initially posted on Twitter to announce the exploit[5].

To the @SAFEMOON community: We want to inform you that our LP has been compromised.

We are taking swift action in an attempt to resolve the issue as soon as possible. Follow here for updates.

Thank you for your support as we work to address this situation.


"The attack, which drained the SFM/BNB pool, was announced by the project and its CEO, John Karony, with replies disabled on both tweets.

A few hours after the attack, the hacker sent a message to the Safemoon: Deployer address, claiming to be MEV bot operator willing to return the funds:

Hey relax, we are accidently frontrun an attack against you, we would like to return the fund, setup secure communication channel , lets talk

However, past on-chain activity suggests they are no white knight after all…

Even if the team has dodged a bullet this time…

…can they be trusted after such a basic error?"

"The hacker claims to have frontrunned attack and has reached out to Safemoon to negotiate the return of funds, the majority of which have since been transferred to 0x237D where they remain at the time of writing."

"Whether a botched rug attempt, or sheer incompetence, this episode is not a good look for a project that was never very highly regarded."

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

Greater review and insight needs to happen prior to smart contract upgrades.

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