Slow Roasted Stake



Solana's golden boy of liquid staking just got marinated in its own juices.

A single line of backwards code turned Marinade Finance from a meritocratic yield engine into a validator welfare program.

For 126 epochs, crafty validators gamed a flawed unstake algorithm - bidding dust while extracting millions.

Not through flashy exploits or midnight hacks. Just silence, patience, and a glitch that rewarded doing less.

Bid high to win. Drop to dust. Marinade's broken logic tucks you in instead of kicking you out.

All while mSOL holders quietly ate a $5 million loss.

By the time user Shiroi blew the whistle, 3.4 million SOL sat parked with underperforming validators - still earning, still coasting.

When your protocol's core logic punishes the highest bidders and rewards the lowest, is it really a bug - or just incentives working exactly as coded?

Credit: Marinade Finance, Rekt Report

Marinade offered a yield paradise.

Their elevator pitch? Turn your boring old SOL into magical mSOL while they handle the messy validator selection.

No research, no monitoring, just pure passive income - the DeFi dream distilled.

Their secret sauce? The Stake Auction Marketplace - crypto bros love a good auction.

Validators bid for delegation rights, Marinade took a cut, stakers earned more, and Solana decentralized - or so the brochure said.

The auction rules seemed dead simple: highest bidder wins stake, lowest bidder gets unstaked first.

Economic darwinism in its purest form - survival of the highest-paying validator.

Too bad nobody bothered checking if the code actually worked that way.

Behind Marinade's glossy Medium posts and "aligned incentives" marketing lay an algorithm coded precisely opposite to its intention.

This wasn't a garden-variety off-by-one.

Marinade ran a bizarro auction where the lowest bidders got the best treatment - and protection.

When your protocol's incentive design gets implemented backward, is it really "trustless" - or just trusting nobody would notice?

The Playbook

Most DeFi exploits scream flashy hacks: flash loans, price manipulation, re-entrancy attacks.

This one? A slow-cooked recipe for financial parasitism that ran for 126 epochs straight.

Step 1: Play nice. Bid high to snatch a fat slice of Marinade’s stake pie. Outbid honest validators with sky-high offers and secure that juicy delegation.

Step 2: Pull the rug. Once your stake confirms, slash your bid to 1 lamport - Solana’s dust bunny. Pay next to nothing while holding onto the entire delegation.

Step 3: Enjoy protection. Marinade’s backwards unstake priority logic - the glitch that birthed this mess - now shields you. The lower your bid, the deeper you slip back in the unstaking queue.

Step 4: Wait, earn, repeat. Pocket the difference between your near-zero bid and the actual validator rewards. When Marinade should have kicked you out, their code tucked you in instead.

A slow, methodical bleed that went unnoticed for nearly six months.

In total, over 85 validators played this game, siphoning off roughly 37,000 SOL (~$5 million) that should have gone to mSOL holders.

In crypto’s carnival of catastrophes, this exploit wasn’t even complicated - just economic incentives flowing perfectly backward.

No hacks needed when the system itself hands you a golden ticket.

When your protocol’s core mechanism runs backwards for half a year, who’s actually steering the ship - or is crypto’s autopilot doomed to crash?

Bleeding by the Numbers

This wasn’t a smash-and-grab. It was a slow-motion mugging - an economic leeching so subtle it bled users dry without a single alert.

At its peak, the exploit had its hooks in 3.4 million SOL. Not one bad actor, but a validator epidemic. Opportunism scaled.

Top 10 loss-making epochs?

A silent massacre:

Epoch 773: 886 SOL vanished

Epoch 772: 875.8 SOL evaporated

Epoch 748: 808.8 SOL quietly siphoned

Each epoch, a ghost wound. mSOL holders bled out while the dashboard stayed green.

The validator leaderboard? A roll call of respectability.

The top exploiter alone drained 1,081 SOL - with 7 of the top 10 still active on Marinade even after exposure.

Worse: several of the worst offenders were dually backed by the Solana Foundation and Jito.

Blue-check validators gaming the system under the guise of decentralization.

Community investigator Shiroi did the legwork Marinade should’ve done months ago.

The numbers are damning:

Over 124 epochs, an average of 28% of stake went unpaid

In 24 separate epochs, more than half the stake earned nothing

That means honest validators were subsidizing leeches. Marinade’s “meritocracy” turned into validator socialism - redistribution, but in reverse.

When a protocol leaks millions while still “working as coded,” is the issue execution - or the very dream of trustless staking itself?

Slow Cooked Response

Most exploits play out at blockchain speed.

This one? A full week from alert to action - glacial by blockchain standards.*

May 9: An anon named Shiroi drops a bomb in Marinade’s sleepy forum. No memes, no emojis - just raw receipts: 37,000 SOL missing.

We tried reaching leadership… crickets.

May 10: Community investigators get to work. What starts as a curiosity becomes a crisis: this wasn't a one-off bug, but a systematic validator exploit hiding in plain sight.

May 12: Marinade finally stirs from its slumber. Their response? A corporate pancake - dry, flavorless, and smothered in legalese. They “acknowledge an issue” and promise “action,” but stop short of naming names or accepting fault.

May 12: Enter the fix. A new “BidTooLow” penalty is rolled out, slapping two validators for a combined ~500 SOL.

May 17: Plot twist. Community sleuths check the on-chain receipts again. The exploiters? Still farming. In fact, their total stake had grown - now up to 3.41 million SOL. The fix? Like swinging a pool noodle at a tank.

Between the bug’s discovery and Marinade’s first real move: eight days.

Between the exploit’s start and its partial fix: 126 epochs.

And the real kicker? This wasn’t a zero-day. GitHub issues flagged the flaw weeks earlier. The same inverted logic. The same warnings. Sitting there like unread emails from your future self.

Marinade didn't just ignore the warning - they actively rejected it. The GitHub issue was marked "closed as not planned" despite identifying the exact bug that would cost users 37k SOL in missed rewards.

The penalty system only targeted new low bidders. Validators who had started at dust-level bids stayed shielded - the core bug still untouched.

“The fix came, but the rot stayed.”

When millions leak for weeks, and the fix drips out slower than the chain’s TPS, is this the future of finance - or just decentralization without accountability?

The Festering Wound

Marinade's fix turns out to be less of a solution and more of a "please stop noticing our exploit" band-aid.

As of epoch 785, 92 validators were still operating with bids below 0.01 SOL, collectively controlling 2.6 million SOL.

The root issue remained untouched - BidTooLow only catches validators who drop their bids after winning a stake. Those who started with floor bids? Free to continue farming.

The patch’s impact? Two validators sacrificed as ritual offerings, losing bonds worth 302 SOL and 44 SOL respectively.

Everyone else? Business as usual.

Even more telling: five validators set their MEV commission to 100% - extracting all possible extra value while still qualifying for delegation under Marinade's broken rules. These five alone controlled 410,000 SOL.

By epoch 788, the problem hadn't shrunk - it had metastasized. The count of underbidding validators dropped slightly to 85, but their collective stake ballooned to 3.41 million SOL.

The actual technical flaw is embarrassingly basic: a sorting algorithm that prioritizes validators for unstaking in precisely the opposite order it should.

The fix was literally a simple code change - GitHub user Toshiyuki-Tega identified it in April, creating an issue called "unstakePriority Calculation Appears Economically Suboptimal.

Status? Closed as not planned.

When a protocol ignores a fix for a known vulnerability, then lets it bleed users for weeks after disclosure, is it incompetence - or willful negligence toward users being rekt?

The Community Demands

The community's mood? Less pitchforks and torches, more forensic accounting and cold fury.

Forum posts demanding answers grew louder as Marinade scrambled to justify months of inaction.

Community investigators documented the systemic abuse, exposing how validators exploited the backwards sorting logic and highlighting cases where small bonds secured massive delegations.

What should have been a simple fix became community theater - validators pleading ignorance while farming millions, and Marinade fumbling patches like wet soap.

Yet, still weeks after the bug's discovery, the protocol remains functionally compromised. The community still waits for real reform while validators continue operating their soup kitchen.

When DeFi protocols let exploiters keep their loot while honest users foot the bill, who's really getting cooked?

The Marinade fiasco isn't just another DeFi screw-up.

It's a prime example in how complexity hides rot, how incentives speak louder than intentions, and how in crypto, the biggest threats aren't always the flashiest.

What makes this debacle stand out isn't the monetary damage - $5 million barely registers on crypto's Richter scale of disasters.

It's the mechanism: a silent leak that ran for half a year, hiding in plain sight within the system's core logic.

No flamboyant attacker to blame. No single moment of failure. Just game theory doing its thing when rules are implemented backward.

Marinade's SAM was supposed to be the evolved form of staking - math-driven, transparent, aligned.

Instead, it revealed how easily incentive systems turn into exploitation playgrounds when designed or implemented poorly. The moment bidding low became more profitable than bidding high, the meritocracy collapsed.

Meanwhile, every crypto bro's favorite talking point - "code is law" - gets another black eye. The code was working exactly as written; it's just that what was written was the opposite of what was intended.

The real lesson? Complexity kills.

Elaborate systems with intricate rules and non-intuitive behaviors become perfect breeding grounds for exploits - not because they're "hacked," but because nobody fully understands them.

Marinade's defense amounts to "we've made progress from where we were" - the blockchain equivalent of "the operation was successful, but the patient died."

For all the promises of "trustless" systems, we're left trusting protocols to implement their own incentive systems correctly - and when they don't, users are the ones getting cooked.

Nearly 37k SOL million gone because < should have been >.

Next time someone tells you DeFi is revolutionizing finance, remember Marinade - where the revolution was accidentally running backward for half a year, and nobody noticed until the treasury was already drained.

In DeFi's kitchen, even the marinade can kill you.

When your passive income strategy hinges on developers grasping which way is up, who's truly getting harvested - the APY or the apes?


share this article

REKT serves as a public platform for anonymous authors, we take no responsibility for the views or content hosted on REKT.

donate (ETH / ERC20): 0x3C5c2F4bCeC51a36494682f91Dbc6cA7c63B514C

disclaimer:

REKT is not responsible or liable in any manner for any Content posted on our Website or in connection with our Services, whether posted or caused by ANON Author of our Website, or by REKT. Although we provide rules for Anon Author conduct and postings, we do not control and are not responsible for what Anon Author post, transmit or share on our Website or Services, and are not responsible for any offensive, inappropriate, obscene, unlawful or otherwise objectionable content you may encounter on our Website or Services. REKT is not responsible for the conduct, whether online or offline, of any user of our Website or Services.