autorenew
Ghost Unveils Sandwich Detector v2 to Combat Evolving Sandwich Attacks on Solana Blockchain

Ghost Unveils Sandwich Detector v2 to Combat Evolving Sandwich Attacks on Solana Blockchain

If you're deep into the Solana ecosystem, you've probably heard about sandwich attacks – those sneaky tactics where bots frontrun your trades to profit at your expense. They're a big part of the broader MEV (Maximal Extractable Value) game, and they've been evolving faster than a meme coin pump. That's why the latest thread from Chris Chang, co-founder of Ghost, is such a game-changer. In a detailed update shared on X, he announced the rollout of Sandwich Detector v2 for Sandwiched.me, a tool that's stepping up the fight against these malicious actors.

Let's break it down step by step, just like Chris did in his thread. First off, what even is a sandwich attack? In simple terms, it's when a bot spots your pending trade on a decentralized exchange (DEX) – say, you're swapping tokens on an AMM like Raydium or Orca. The bot jumps in ahead of you (frontrun) to buy low, lets your trade go through (which pushes the price up), and then sells right after (backrun) for a quick profit. It's like cutting in line at a buffet and grabbing the best sandwiches before you get there. Over time, this has cost users millions in slipped prices and unfair trades.

But here's where it gets crafty: attackers aren't sticking to the basics anymore. As Chris points out, they're using multiple frontruns or backruns, splitting actions across wallets, or even hopping tokens through intermediaries to dodge detection. It's a constant cat-and-mouse game, and older tools just weren't cutting it.

Enter Sandwich Detector v2. Ghost's team has beefed up their data pipelines to process swaps from over 50 different automated market makers (AMMs) on Solana. By ingesting metadata, token transfers, and other on-chain signals, the new version can classify even obfuscated sandwiches. This means more accurate tracking of validators involved in these attacks – crucial since staked SOL from protocols like Marinade Finance has been funding some of this bad behavior.

Chris gives a big shoutout to the community, especially Shiroi_sol, for highlighting these advanced strategies and pushing for less toxic MEV. It's a reminder that blockchain security isn't just about code; it's about collective vigilance too.

To see the impact, check out these charts from Sandwiched.me showing daily sandwich block production. The first one illustrates the baseline with normal blocks in blue and sandwich blocks in orange:

Daily Sandwich Block Production Chart - Normal vs Sandwich Blocks

And here's an updated view, likely reflecting the v2 detection improvements, with clearer spikes in sandwich activity:

Updated Daily Sandwich Block Production Chart Highlighting Sandwich Attacks

You can toggle between v1 and v2 on the site to spot the difference yourself. It's eye-opening how many more attacks v2 catches!

If you're a validator or staker on Solana, this tool is invaluable for checking reputations and avoiding shady delegates. Chris encourages folks to delegate to Ghost's own validator to support their work – they've got backing from the Solana Foundation, AeroPool, and JPoolSolana. Head over to sandwiched.me/delegate to get involved.

In the world of meme tokens and fast-paced DeFi on Solana, tools like this are essential for keeping things fair. Sandwich attacks don't just hit big trades; they erode trust across the board, including in volatile meme projects. By shining a light on these issues, Ghost is helping build a healthier blockchain ecosystem. Keep an eye on Sandwiched.me for more updates – the fight against MEV is far from over, but with innovations like v2, we're gaining ground. What do you think? Have you encountered sandwich bots in your trades? Share in the comments!

You might be interested