Canary trades for Solana order flow

Catch the leak

Somebody saw your trade before the block did.

Next canary in

00min 02sec 401/100 s Leader slot 2 of 4slot

Simulation — the pilot hasn’t started.

We send bait. We publish who bites.

Your swap doesn’t go straight to the block. It passes through someone — an RPC, a sender, a relay, an auction — and any of them can quietly hand it to a searcher. Leak Hunter sends small bait swaps (“canaries”) down one route at a time, pins each one to a single leader’s window, and reads the blocks around it. When a canary gets sandwiched, we know its route and its leader; direct sends to the same leader tell us which of the two leaked. We publish the bite rate per route, with the signatures to prove it.

Every route promises protection

30–40% of stake, roughly, participates in order-flow auctions.1

Nobody can see who else reads the flow.

  • Auctions

    They sell the backrun

    Order-flow auctions sell backrun rights to searchers. Nothing on-chain shows who else saw the transaction.

  • Incident

    “For weeks”

    One provider let searchers sandwich users of several apps for weeks before it surfaced. Attribution, in Bruder’s words: “super difficult”.1

  • Research

    96% span blocks

    Since the late-2025 validator delistings, almost every Solana sandwich spans blocks, and leader-level exposure explains few of them. The route is an off-chain choice the chain never records — so we test routes directly.

    Heimbach, Solmaz, Öz, Ferreira Torres · arXiv:2609.28115
  • Mempool

    No public mempool

    A swap reaches the leader through a public RPC, a staked connection, a sender or relay, or an auction. Plenty of private hands.

See all six routes

1 L. Bruder (Jito Labs) on X, 19 Oct 2026. ↑

Six roads to the leader

Six ways a swap reaches the leader. We test each one on its own.

  • canaries sent
  • bites detected
  • —pilot not started
  1. Queued for pilot
    • canaries—
    • bites—

    Direct to leader

    TPU / QUIC

    Straight to the leader’s TPU over QUIC. No third-party sender, so it tests the leader’s own stack.

  2. Queued for pilot
    • canaries—
    • bites—

    Public RPC

    JSON-RPC

    The default sendTransaction path most wallets use.

  3. Queued for pilot
    • canaries—
    • bites—

    Staked connection

    SWQoS

    A priority lane through a staked validator’s connection.

  4. Queued for pilot
    • canaries—
    • bites—

    Sender / relay

    low latency

    Low-latency services that fan out to leaders and block engines.

  5. Queued for pilot
    • canaries—
    • bites—

    Order-flow auction

    OFA

    Backrun rights are auctioned to searchers. We test what else they see.

  6. Queued for pilot
    • canaries—
    • bites—

    BAM node

    TEE sequencing

    Sequenced inside a TEE, built so no one sees the flow first. We test that from outside.

Direct to leader. On Jito-Solana and BAM leaders, “direct” still passes their relayer or BAM node — it tests the leader’s ingress stack, not the validator binary. We record each leader’s client and whether the direct send used a staked identity.

How a canary works

We don’t guess who leaked. We set traps.

  1. Mint

    Build a swap worth sandwiching: a real pool, generous slippage, an ordinary size drawn from the pool’s own trades (this one: 0.731942 SOL). Worth biting, hard to tell apart — we know it’s ours by its signature.

  2. Pin

    Bound it to one leader’s window with Clock-sysvar assertions from a common assertion program — no custom code to fingerprint. The slot bound itself is a pattern, so we test it (see What could fool us). Outside slots S…S+3 it simply fails.

  3. Route

    Send it down exactly one route. One canary, one route, one leader.

  4. Watch

    Read the blocks around ours. A buy before us, a sell after — same pool, within eight slots, the sell unwinding the buy, both legs from one owner. That’s a bite.

  5. Attribute

    Cross route canaries with direct-to-leader canaries on the same randomised windows. Leaders that never bite clear the routes; routes that bite on clean leaders are leaking. Every leader window is tagged by client — BAM or not.

  6. Publish

    Bite rate per route with 95% intervals — a floor on leakage, every signature attached. Providers hear from us first.

Six routes, one at a time

Then the next route.

See the detection rule
  1. Front-run

    A searcher buys first and pushes the price up.

  2. Canary

    Our swap fills at the worse price, still inside its 6% slippage limit.

  3. Back-run

    The searcher sells what it bought into the move our swap just made.

Canary loss vs. clean fillIllustration

0.037 SOL5.0% of the clean fill

Searcher gross +0.016 SOL before tipLP fees on the two legs 0.021 SOL

Full ledger · clean-fill mathIllustration

x·y = k pool, 160 SOL : 1,600,000 TKN, 0.25% fee · canary slippage 6%

TxSignerKindLegAmountRole
Slot 452,118,206·Leader 7xQm…Vt2d·slot 3 of 4
#03889tR2…kE4xswapBUY4.210 SOL → 40,921 TKN▲ front
Slot 452,118,207·Leader 7xQm…Vt2d·slot 4 of 4
#04113Np8…Zz1atransfer
#0412Ec4q…Vn8wswapBUY0.731942 SOL → 6,901 TKNclean fill: 7,268 TKN← canary
#0413Fq3m…8sLwtransfer
Slot 452,118,208·Leader Gp5s…Hn3k·slot 1 of 4
#00219tR2…kE4xswapSELL40,921 TKN → 4.226 SOL▼ back

That’s why canaries use generous slippage — 6% here: only a profitable target is an honest test. Constant product, x·y = k, with a 0.25% fee: each buy moves the price up the curve, the back-run sells into the canary’s move, and the fees keep part of what the canary lost — the searcher always makes less than the canary loses.

What could fool us

Slippage is the bait — bites rise with it
Slippage is fixed per campaign (6%) and every bite is reported against it.
Pools and tokens differ
Pools drawn at random from a fixed set, sizes from each pool’s own trades, one pool per swap, no aggregator hops.
Time of day and congestion
Routes randomised per leader window and interleaved in time.
One route can fan out to many paths
We record what each route actually forwards to.
Bots that wrap swaps by chance
Amount match plus a profit test, and the same detector run on matched organic swaps as a baseline.
Leaks that never become bites
Back-runs alone prove nothing — anyone can back-run a landed swap, and an auction sells exactly that right — so they’re logged, not scored. JIT liquidity added and pulled around a canary is reported separately. A bite rate is a floor on leakage.
A route that spots canaries and spares them
Fresh signers, organic sizes, common programs, blinded decoy runs — and unpinned control canaries (blockhash expiry only, leader read from the landing slot) to check the pin isn’t the tell.
Protections that change the game
Every arm runs with and without Jito’s jitodontfront marker.
A front-run that overshoots the limit
The canary reverts at its slippage limit — logged as an attempted bite, never as clean.

The Leak Index

Simulated

SIMULATED — synthetic numbers to show the format. First real data after the pilot. Route letters are random placeholders — they don’t follow the order of the six routes above.

Landed in window

Sim

810

846 sent · 22 expired · 14 dropped

Bitten

Sim

26

pooled 3.2% · 2.2–4.7%

Routes

Sim

6

  • Route A: category withheld
  • Route B: category withheld
  • Route C: category withheld
  • Route D: category withheld
  • Route E: category withheld
  • Route F: category withheld

categories withheld until disclosure

Wilson 95% interval

Route FSim

10.6–29.9%

p̂ = k / n = 11 / 60 = 18.3%z = 1.96

computed from n and k

Bite rate per route

Sim
  • no bites
  • below 5%
  • unclear
  • above 5%
Synthetic bite rate per route: canaries that landed inside their pinned window (n), canaries bitten (k), bite rate and its Wilson 95% interval, median canary loss per bite. Status comes from the interval, not the rate. Route letters are random placeholders; categories withheld until disclosure.
Route A–F Landed n Bitten k Bite rate p̂ = k/n 95% CI Wilson Median loss per bite
Route Acategory withheld, no bites 180 0 0.0% 0.0–2.1% none, no bites
Route Bcategory withheld, unclear, the interval crosses 5% 160 3 1.9% 0.6–5.4% 0.024 SOL
Route Ccategory withheld, whole interval below 5% 140 1 0.7% 0.1–3.9% 0.021 SOL
Route Dcategory withheld, whole interval below 5% 150 2 1.3% 0.4–4.7% 0.027 SOL
Route Ecategory withheld, unclear, the interval crosses 5% 120 9 7.5% 4.0–13.6% 0.031 SOL
Route Fcategory withheld, whole interval above 5% 60 11 18.3% 10.6–29.9% 0.035 SOL
All routespooled, for scale only 810 26 3.2% 2.2–4.7%

Feed preview

Simulated

SIM slot 452,118,266

this session: 46 canaries · 1 bite (2.2%)

  1. SIM · slots 452,118,252–255 · Route E · 7 canaries · all clean
  2. SIM · slots 452,118,248–251 · Route B · 8 canaries · all clean
  3. SIM · slots 452,118,240–243 · Route F · 6 canaries · 5 clean · 1 bite
  4. SIM · slot 452,118,242 · Route F · front ▲ 1.868 SOL · canary 0.333749 SOL · back ▼ 1.874 SOL · loss 0.017 SOL
  5. SIM · slots 452,118,232–235 · Route C · 12 canaries · all clean
  6. SIM · slots 452,118,228–231 · Route D · 1 canary expired outside its window
  7. SIM · slots 452,118,220–223 · Route A · 13 canaries · all clean
How to read itbite rate, the four states, attribution

How to read it

Bite rate = bitten ÷ landed. It’s a floor on leakage: a leak used only for back-runs or JIT never shows up as a bite.

  • no bites
  • below 5% — whole interval
  • unclear — interval crosses 5%
  • above 5% — whole interval
  • the 5% line

The same detector runs on matched organic swaps as a baseline for chance wraps.

Canaries in one leader window share a fate, so before we call a route we also count each window once.

Same rate, more canariesIllustration
n 30 3.5–25.6%
n 300 7.1–13.9%

Both at 10%. Ten times the canaries — about a third of the whisker, and the call moves from unclear to above 5%.

Statuses here use per-route 95% intervals. With the six-way correction we use for calls, C and D would read unclear.

Read across leaders too

Illustration
Leader problem. It bites on direct canaries — its whole row lights.
Route problem. It bites only on leaders that never bite directly — its column lights.

rows = leader windows · columns = routes = direct-to-leader canaries

Clearing one leader takes ~73 bite-free direct canaries, so per-leader results cover the highest-stake leaders only.

Routes and direct canaries run on the same randomised windows, so a route’s bite rate above the direct arm’s is the route’s own.

Each leader window is tagged by client — BAM or not.

What we record per canaryformat, not dataIllustration
canary_sig
the canary’s transaction signature
signer
a fresh keypair for every canary
route
which of the six routes carried it
leader_identity
the leader of its window
leader_client
BAM, Jito-Solana, Agave or Firedancer
window_start_slot
S, the first slot of the window
landed_slot
S…S+3, empty if it expired
tx_index
its position in the block
pool
the one pool it swaps in
size_lamports
drawn from the pool’s own trades
slippage_bps
fixed per campaign — 600 is 6%
status
landed, reverted at its slippage limit, expired (slot guard) or dropped
front_sigs
signatures of the front-run legs
back_sigs
signatures of the back-run legs
linked_wallets
wallets joined by token transfers
loss_lamports
against the clean fill
detector_version
the detector build that judged it

Disclosure policy

House rules

Four lines we don’t bend. They apply to every canary, every route and every result we publish.

  1. Providers hear first

    Findings go privately to the affected provider or validator, with 14 days to respond before anything with a name is published. Leader-level results only past a pre-registered threshold.

    14-day window

  2. Signatures or it didn’t happen

    Every data point links to on-chain transactions anyone can check.

    5Kq9…xT2w Illustration

    example signature

    What we record per canary
  3. Canaries only

    We never trade against anyone’s order flow but our own.

    Own flow only

  4. Small sizes, own capital

    Losses are the cost of measurement, not a business model.

    Clean canary
    ≈ 0.004 SOL in fees
    A bite costs
    up to its 6% slippage

Roadmap

Phase 0 is now. Everything after it waits on the pilot — and on what the pilot finds.

  1. Phase 0Now

    Sender & detector

    Nov 2026

    Route-pinned sender, block-order sandwich detector, passive scan of existing sandwiches.

    StatusBuilding

  2. Phase 1Next

    Pilot

    After Phase 0

    ~100 canaries across six routes. Pre-register the metric and threshold; calibrate detection, cost and false positives.

    Canaries sent0 / ~100

  3. Phase 2Later

    Campaign

    After the pilot

    ~1,000 canaries. Public Leak Index per route — and per leader for the highest-stake leaders (~73 direct canaries clear one). Alerts.

    Canaries sent0 / ~1,000

  4. Phase 3Later

    SafeSend

    After the campaign

    An SDK that sends through routes that measured clean and pins your transaction to a clean leader’s window. A pin narrows exposure; it can’t stop legs placed in a neighbour’s slot.

    SDKNot started

Stack Rust QUIC (TPU) block-order analysis Wilson intervals methodology ships with the pilot