TL;DR
ShredStream today is used almost exclusively offensively (sniping, frontrunning, sandwich). I built Brain-Shield, a defensive product on top of the same feed: an opt-in insurance subscription for
memecoin traders. The trader subscribes before entering a position. Brain-Shield then watches the holder’s positions in the background and, when a rug starts (LP withdrawal or coordinated dump), reacts
at ShredStream speed — before the catastrophe finalizes on-chain.
The 3 rug vectors covered
| Layer | What it detects | Status |
|---|---|---|
| L1 | LP Withdrawal (pool drain) | Proven 24h live |
| L2 | Coordinated Dump (multi-wallet sell, same blockhash) | Prototype running |
| L3 | Cartel Operation (960 active cartels indexed) | Detection logic ready |
All three layers consume the same live ShredStream feed.
Live proofs (Layer 1, 24h continuous run)
| Metric | Baseline | Brain-Shield |
|---|---|---|
| Entries processed | 3,750,000 | 3,750,000 |
| Withdraws detected | 1,359 | 1,359 |
| False negatives | -– | 0 / 1,359 |
| Avg per-entry time | 985 µs | 13.5 µs |
| Speedup | -– | 72.9× sustained |
- Local commodity hardware (WSL2 desktop) — Frankfurt bare metal server would push numbers further.
- 18+ checkpoints over 24h, variance ~6% (structural, not warm-up).
- Every detected withdrawal matched on Solscan.
- L2 captured 2,507 coordinated-dump events in the same window, including TIER ≥15 (15+ wallets sharing the same blockhash, mathematically impossible by chance).
Full data : RESULTS.md + screenshots in the repo.
Product roadmap (3 phases)
Phase 1 — Alert subscription (today, fully working)
Subscriber holders receive a real-time alert (~13 µs from shred to notification) when L1/L2/L3 fires on a token they hold. They decide to exit manually. No custody required, no execution risk. Already
production-validated on the 24h bench.
Phase 2 — Opt-in auto-exit (next milestone)
For subscribers who want hands-off protection, Brain-Shield emits a Jito-bundled SELL transaction the moment the rug is detected. Goal : every subscriber exits in the same slot as the drain TX, or the slot
before. Requires non-custodial signing delegation (Solana program-based authority) — work in progress.
Phase 3 — BAM plugin (longer term)
A “Pre-Drain Exit Lane” plugin running inside a BAM Node TEE : at ordering time, subscriber SELL TXs landing in the same slot as a detected drain are batched and prioritized ahead of the drain itself. This
is where Brain-Shield’s detection logic could naturally integrate with Jito’s roadmap.
Economic alignment
Brain-Shield never blocks entries. Subscribers buy normally and pay full Jito tips at entry. When a rug fires, subscriber exits become additional Jito-bundled transactions with high priority fees
(urgency). On the 24h benchmark window (1,359 detected drains), a subscriber base of even 1,000 holders would generate hundreds of thousands of additional bundled exit TXs per day — net positive for
ShredStream economics, not cannibalizing them.
Open challenges (honest list)
- Group slippage at exit when many subscribers hold the same illiquid pool. Trade-off : a -10% rushed exit beats a -100% rug, but the math has to be transparent to subscribers.
- Non-custodial delegation for Phase 2 needs careful design (PDA authority, scoped revoke). I have a draft, looking for review from people who shipped Solana program-based authority before.
- False-positive rate is not yet measured (the 24h bench measured 0 / 1,359 false negatives, which is the harder direction). Phase 1 (alerts only) absorbs this naturally; Phase 2 needs a confidence
threshold.
Asks for the community
- Feedback on the framing : is “opt-in trade insurance” the right positioning for the forum, or would “exit lane” / “rug shutoff valve” / something else read better ?
- Any validators, BAM operators, or wallet UX teams interested in trialing Phase 1 alerts (the 13 µs detector slots into any pipeline) ?
- Pointers to the most relevant Jito grant / subsidy track for defensive infrastructure of this kind — JIP-31 BAM Early Adopter, NCN, or something I should know about ?
I’d like to use this thread to refine the proposal before promoting to a JIP-Draft.
-– wicode06