Canary trades for Solana order flow
Catch the leak
Somebody saw your trade before the block did.
Next canary in
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.
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
-
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.
-
Queued for pilot
- canaries—
- bites—
Public RPC
JSON-RPC
The default
sendTransactionpath most wallets use. -
Queued for pilot
- canaries—
- bites—
Staked connection
SWQoS
A priority lane through a staked validator’s connection.
-
Queued for pilot
- canaries—
- bites—
Sender / relay
low latency
Low-latency services that fan out to leaders and block engines.
-
Queued for pilot
- canaries—
- bites—
Order-flow auction
OFA
Backrun rights are auctioned to searchers. We test what else they see.
-
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.
-
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.
-
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.
-
Route
Send it down exactly one route. One canary, one route, one leader.
-
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.
-
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.
-
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.
-
Front-run
A searcher buys first and pushes the price up.
-
Canary
Our swap fills at the worse price, still inside its 6% slippage limit.
-
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%
| Tx | Signer | Kind | Leg | Amount | Role |
|---|---|---|---|---|---|
| Slot 452,118,206·Leader 7xQm…Vt2d·slot 3 of 4 | |||||
| #0388 | 9tR2…kE4x | swap | BUY | 4.210 SOL → 40,921 TKN | ▲ front |
| Slot 452,118,207·Leader 7xQm…Vt2d·slot 4 of 4 | |||||
| #0411 | 3Np8…Zz1a | transfer | |||
| #0412 | Ec4q…Vn8w | swap | BUY | 0.731942 SOL → 6,901 TKNclean fill: 7,268 TKN | ← canary |
| #0413 | Fq3m…8sLw | transfer | |||
| Slot 452,118,208·Leader Gp5s…Hn3k·slot 1 of 4 | |||||
| #0021 | 9tR2…kE4x | swap | SELL | 40,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
jitodontfrontmarker. - 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
SimulatedLanded in window
Sim810
846 sent · 22 expired · 14 dropped
Bitten
Sim26
pooled 3.2% · 2.2–4.7%
Routes
Sim6
- ARoute A: category withheld
- BRoute B: category withheld
- CRoute C: category withheld
- DRoute D: category withheld
- ERoute E: category withheld
- FRoute F: category withheld
categories withheld until disclosure
Wilson 95% interval
Route FSim10.6–29.9%
p̂ = k / n = 11 / 60 = 18.3%z = 1.96
computed from n and k
Bite rate per route
- no bites
- below 5%
- unclear
- above 5%
| 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
SIM · slots 452,118,252–255 · Route E · 7 canaries · all cleanSIM · slots 452,118,248–251 · Route B · 8 canaries · all cleanSIM · slots 452,118,240–243 · Route F · 6 canaries · 5 clean · 1 biteSIM · slot 452,118,242 · Route F · front ▲ 1.868 SOL · canary 0.333749 SOL · back ▼ 1.874 SOL · loss 0.017 SOLSIM · slots 452,118,232–235 · Route C · 12 canaries · all cleanSIM · slots 452,118,228–231 · Route D · 1 canary expired outside its windowSIM · 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.
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
Illustrationrows = 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 canary
- 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
Open questions · 0 answered
Questions this will answer
- Q1Which routes leak — and how often?
- Q2Do BAM leader windows ever bite?
- Q3Does paying for a “protected” route actually protect you?
- Q4How long from send to front-run?
- Q5Do leaks cluster by pool, size or time of day?
- Leader or route?
- Can a leaker tell it’s a canary?
- What does a bite cost?
- How many false positives?
All open. No canary has flown yet.
Disclosure policy
House rules
Four lines we don’t bend. They apply to every canary, every route and every result we publish.
-
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.
-
Signatures or it didn’t happen
Every data point links to on-chain transactions anyone can check.
-
Canaries only
We never trade against anyone’s order flow but our own.
-
Small sizes, own capital
Losses are the cost of measurement, not a business model.
Roadmap
Phase 0 is now. Everything after it waits on the pilot — and on what the pilot finds.
-
Illustration
Phase 0Now
Sender & detector
Nov 2026
Route-pinned sender, block-order sandwich detector, passive scan of existing sandwiches.
StatusBuilding
-
Illustration
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
-
Illustration
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
-
Illustration
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