Safemoon got exploited because they allowed anyone to burn any tokens in their new c
#1
Safemoon got exploited because they allowed anyone to burn any tokens in their new c

<!-- SC_OFF --><div class="md"><blockquote> <p>It’s a bit ironic that this explanation came from the former golden boy who the Safemoon community widely lauded, and then he launched his own token and got exploited for $5m. But I guess that gives you experience…</p> <p>Safemoon was just hacked for $8.9M.</p> <p>After two minutes looking at the newest Safemoon contract, I was able to identify the extremely obvious exploit.</p> <p>The attacker took advantage of the public burn() function, this function let any user burn tokens from ANY other address (code attached).</p> <p>The attacker used this function to remove SFM tokens from the Safemoon-WBNB Liquidity Pool, artificially raising the price of SFM.</p> <p>The attacker was then able to sell SFM into this LP at a grossly overpriced rate within the same transaction, wiping out the remaining WBNB in the liquidity pool.</p> <p>This is an extremely elementary exploit that many contracts in the space have been falling victim to. </p> <p>Please do not let any user burn tokens from any address, it is a bad idea. </p> </blockquote> <p>So there it is. This is what happens when you trust kids with zero experience who have a penchant for publishing untested code. Which I have previously warned Safemooners for. Three fucking times.</p> </div><!-- SC_ON --> submitted by <a href="https://www.reddit.com/user/TNGSystems"> /u/TNGSystems </a> <br/> <span><a href="https://www.reddit.com/r/CryptoCurrency/comments/12551fy/safemoon_got_exploited_because_they_allowed/">[link]</a></span> <span><a href="https://www.reddit.com/r/CryptoCurrency/comments/12551fy/safemoon_got_exploited_because_they_allowed/">[comments]</a></span>
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reddit community tokens soar on Kraken listing Dato 0 88 08-09-2023, 05:25 AM
Last Post: Dato
  PayPal stablecoin launch sparks wave of fake PYUSD tokens Dato 0 86 08-08-2023, 10:42 AM
Last Post: Dato
  Breaking: ‘All funds are at risk' — Steadefi exploited in ongoing attack Dato 0 105 08-08-2023, 04:40 AM
Last Post: Dato
  CoinGecko now has an index for crypto tokens alleged as securities Dato 0 112 08-07-2023, 10:32 AM
Last Post: Dato
  Binance Japan Plans to Initially List 34 Tokens Following Market Re-entry Andy 0 57 08-01-2023, 10:04 PM
Last Post: Andy



Users browsing this thread: 1 Guest(s)